Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00164/0.00164, allocations: 116.7 kB / 19.18 MB, free: 3.762 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001352/0.001352, allocations: 210.6 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 230.2 MB / 255.2 MB, free: 15.28 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeed.phi|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeed.phi|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001815/0.001815, allocations: 63.89 kB / 374.5 MB, free: 9.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0912/0.09301, allocations: 53.31 MB / 427.8 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.1979/0.2909, allocations: 11.56 MB / 439.4 MB, free: 5.312 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007662/0.2986, allocations: 3.936 MB / 443.3 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00239/0.3009, allocations: 67.81 kB / 443.4 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002927/0.3039, allocations: 0.869 MB / 444.3 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004358/0.3082, allocations: 0.9908 MB / 445.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001717/0.3099, allocations: 0.5137 MB / 445.8 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004835/0.3148, allocations: 3.223 MB / 449 MB, free: 16 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002698/0.3175, allocations: 1.86 MB / 450.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003203/0.3207, allocations: 1.448 MB / 452.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004082/0.3248, allocations: 1.861 MB / 454.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001029/0.3258, allocations: 387.4 kB / 454.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002013/0.3278, allocations: 0.6266 MB / 455.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001527/0.3293, allocations: 1.078 MB / 456.3 MB, free: 12.91 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003065/0.3324, allocations: 1.731 MB / 458 MB, free: 11.78 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008108/0.3405, allocations: 5.071 MB / 463.1 MB, free: 8.598 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.3405, allocations: 0 / 463.1 MB, free: 8.598 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3405, allocations: 0 / 463.1 MB, free: 8.598 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001512/0.3407, allocations: 0 / 463.1 MB, free: 8.598 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.01011/0.3508, allocations: 3.578 MB / 466.6 MB, free: 6.125 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.744e-05/0.3508, allocations: 9.562 kB / 466.6 MB, free: 6.125 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002247/0.3531, allocations: 464.3 kB / 467.1 MB, free: 5.906 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004181/0.3573, allocations: 1.869 MB / 469 MB, free: 4.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001787/0.3574, allocations: 191.9 kB / 469.2 MB, free: 4.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005401/0.358, allocations: 261.8 kB / 469.4 MB, free: 4.387 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007051/0.365, allocations: 3.246 MB / 472.7 MB, free: 2.465 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-05/0.3651, allocations: 6.688 kB / 472.7 MB, free: 2.461 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002566/0.3654, allocations: 105.1 kB / 472.8 MB, free: 2.379 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001288/0.3655, allocations: 115.9 kB / 472.9 MB, free: 2.359 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005606/0.3711, allocations: 2.7 MB / 475.6 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02067/0.3918, allocations: 10.28 MB / 485.9 MB, free: 6.336 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002627/0.3944, allocations: 1.703 MB / 487.6 MB, free: 4.523 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001954/0.3963, allocations: 0.9752 MB / 488.5 MB, free: 3.543 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003391/0.3967, allocations: 211.2 kB / 488.7 MB, free: 3.301 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.963e-05/0.3967, allocations: 43.56 kB / 488.8 MB, free: 3.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=115): time 3.467e-06/0.3967, allocations: 0 / 488.8 MB, free: 3.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=134): time 0.01991/0.4166, allocations: 7.456 MB / 496.2 MB, free: 11.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.617e-05/0.4167, allocations: 64.72 kB / 496.3 MB, free: 11.6 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003019/0.4197, allocations: 1.897 MB / 498.2 MB, free: 9.707 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001342/0.4198, allocations: 45.7 kB / 498.3 MB, free: 9.656 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001059/0.4209, allocations: 1.28 MB / 499.5 MB, free: 8.363 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004646/0.4214, allocations: 491.8 kB / 0.4883 GB, free: 7.879 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005304/0.4219, allocations: 303.4 kB / 0.4886 GB, free: 7.574 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.422, allocations: 301.1 kB / 0.4889 GB, free: 7.277 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001532/0.4236, allocations: 0.8159 MB / 0.4897 GB, free: 6.461 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001916/0.4255, allocations: 1.312 MB / 0.4909 GB, free: 4.934 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003542/0.429, allocations: 2.25 MB / 0.4931 GB, free: 2.469 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.297e-06/0.429, allocations: 4 kB / 0.4931 GB, free: 2.465 MB / 398.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005347/0.4344, allocations: 2.796 MB / 0.4959 GB, free: 15.63 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.946e-05/0.4344, allocations: 12 kB / 0.4959 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.106e-05/0.4344, allocations: 16 kB / 0.4959 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001074/0.4355, allocations: 415.1 kB / 0.4963 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001555/0.437, allocations: 403.3 kB / 0.4967 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006881/0.4439, allocations: 5.801 MB / 0.5024 GB, free: 8.727 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001981/0.4459, allocations: 123.8 kB / 0.5025 GB, free: 8.605 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001904/0.4461, allocations: 79.92 kB / 0.5025 GB, free: 8.527 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (187): * Single equations (assignments): 182 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,12,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00151/0.4476, allocations: 0.7941 MB / 0.5033 GB, free: 7.723 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004958/0.4481, allocations: 210.7 kB / 0.5035 GB, free: 7.516 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00467/0.4528, allocations: 2.383 MB / 0.5059 GB, free: 5.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-05/0.4528, allocations: 15.94 kB / 0.5059 GB, free: 5.074 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.4528, allocations: 4 kB / 0.5059 GB, free: 5.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-05/0.4528, allocations: 11.91 kB / 0.5059 GB, free: 5.059 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01003/0.4629, allocations: 5.257 MB / 0.511 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.125e-05/0.4629, allocations: 11.97 kB / 0.511 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001141/0.464, allocations: 255.5 kB / 0.5113 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001333/0.4654, allocations: 462.1 kB / 0.5117 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001096/0.4655, allocations: 31.98 kB / 0.5117 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008325/0.4738, allocations: 7.344 MB / 0.5189 GB, free: 7.141 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.732e-06/0.4738, allocations: 4 kB / 0.5189 GB, free: 7.137 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006511/0.4803, allocations: 3.576 MB / 0.5224 GB, free: 3.457 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001135/0.4814, allocations: 459.7 kB / 0.5228 GB, free: 2.988 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003089/0.4818, allocations: 34.61 kB / 0.5229 GB, free: 2.957 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/0.483, allocations: 107.8 kB / 0.523 GB, free: 2.852 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002781/0.4833, allocations: 108.7 kB / 0.5231 GB, free: 2.746 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/0.4834, allocations: 47.98 kB / 0.5231 GB, free: 2.699 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002143/0.4855, allocations: 1.303 MB / 0.5244 GB, free: 1.406 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4855, allocations: 4 kB / 0.5244 GB, free: 1.402 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00219/0.4877, allocations: 0.5352 MB / 0.5249 GB, free: 0.8672 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 5 (smee.phiMechanical,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[2],smee.idq_dr[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 110 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,12,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005286/0.4882, allocations: 217.2 kB / 0.5251 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004429/0.4926, allocations: 2.342 MB / 0.5274 GB, free: 14.26 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.4927, allocations: 4.125 kB / 0.5274 GB, free: 14.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002761/0.4954, allocations: 1.443 MB / 0.5288 GB, free: 12.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002495/0.4979, allocations: 469.3 kB / 0.5293 GB, free: 12.33 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009225/0.5071, allocations: 5.215 MB / 0.5344 GB, free: 7.016 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001926/0.5091, allocations: 1.991 MB / 0.5363 GB, free: 4.992 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000741/0.5098, allocations: 143.4 kB / 0.5365 GB, free: 4.852 MB / 446.1 MB Notification: Performance of SimCode: time 9.92e-07/0.5098, allocations: 0 / 0.5365 GB, free: 4.852 MB / 446.1 MB Notification: Performance of Templates: time 0.08527/0.5951, allocations: 70.86 MB / 0.6057 GB, free: 14 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_Generator/SMEE_Generator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.742974613793194]