Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.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.001594/0.001594, allocations: 109.8 kB / 19.17 MB, free: 3.891 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.001704/0.001704, allocations: 208.9 kB / 22.13 MB, free: 0.9375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.496/1.496, allocations: 230.4 MB / 255.4 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 67.83 kB / 374.8 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1145, allocations: 53.3 MB / 428.1 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.2439/0.3583, allocations: 9.769 MB / 437.9 MB, free: 6.262 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007367/0.3657, allocations: 3.777 MB / 441.6 MB, free: 4.324 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001911/0.3676, allocations: 47.72 kB / 441.7 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002187/0.3698, allocations: 0.7053 MB / 442.4 MB, free: 3.941 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003579/0.3734, allocations: 0.9123 MB / 443.3 MB, free: 3.375 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001473/0.3749, allocations: 473.5 kB / 443.8 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004058/0.3789, allocations: 2.66 MB / 446.4 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00204/0.381, allocations: 1.385 MB / 447.8 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002398/0.3834, allocations: 1.208 MB / 449 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003157/0.3865, allocations: 1.55 MB / 450.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007313/0.3872, allocations: 305.6 kB / 450.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001864/0.3891, allocations: 0.5755 MB / 451.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001475/0.3906, allocations: 1.037 MB / 452.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002959/0.3935, allocations: 1.488 MB / 454 MB, free: 14.24 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007545/0.4011, allocations: 4.322 MB / 458.3 MB, free: 12.04 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.4011, allocations: 1.312 kB / 458.3 MB, free: 12.04 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4011, allocations: 0 / 458.3 MB, free: 12.04 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001741/0.4013, allocations: 0 / 458.3 MB, free: 12.04 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.009668/0.4109, allocations: 3.265 MB / 461.5 MB, free: 9.73 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.411, allocations: 8.5 kB / 461.6 MB, free: 9.73 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001575/0.4126, allocations: 376.7 kB / 461.9 MB, free: 9.539 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003861/0.4164, allocations: 1.727 MB / 463.7 MB, free: 8.316 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001686/0.4166, allocations: 157.6 kB / 463.8 MB, free: 8.238 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004678/0.4171, allocations: 213.7 kB / 464 MB, free: 8.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006094/0.4231, allocations: 2.688 MB / 466.7 MB, free: 6.551 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.581e-05/0.4232, allocations: 11.67 kB / 466.7 MB, free: 6.543 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002896/0.4235, allocations: 81.47 kB / 466.8 MB, free: 6.48 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001783/0.4237, allocations: 96.89 kB / 466.9 MB, free: 6.465 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004669/0.4284, allocations: 2.279 MB / 469.2 MB, free: 5.305 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0162/0.4446, allocations: 8.163 MB / 477.3 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003276/0.4478, allocations: 1.545 MB / 478.9 MB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00212/0.45, allocations: 1.023 MB / 479.9 MB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002792/0.4502, allocations: 130 kB / 480 MB, free: 12.22 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.694e-05/0.4503, allocations: 51.5 kB / 480.1 MB, free: 12.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 3.446e-06/0.4503, allocations: 0 / 480.1 MB, free: 12.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01528/0.4656, allocations: 6.473 MB / 486.5 MB, free: 5.543 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.834e-05/0.4656, allocations: 68.72 kB / 486.6 MB, free: 5.465 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00368/0.4693, allocations: 2.185 MB / 488.8 MB, free: 3.234 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001999/0.4695, allocations: 49.64 kB / 488.8 MB, free: 3.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001021/0.4705, allocations: 1.137 MB / 490 MB, free: 2.031 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005105/0.4711, allocations: 475.9 kB / 490.5 MB, free: 1.562 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000503/0.4716, allocations: 243.5 kB / 490.7 MB, free: 1.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000208/0.4718, allocations: 357.9 kB / 491 MB, free: 0.9648 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001445/0.4732, allocations: 0.7613 MB / 491.8 MB, free: 208 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00166/0.4749, allocations: 1.009 MB / 492.8 MB, free: 15.1 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003183/0.4781, allocations: 1.869 MB / 494.7 MB, free: 13.14 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/0.4781, allocations: 8 kB / 494.7 MB, free: 13.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005866/0.4839, allocations: 2.746 MB / 497.4 MB, free: 10.37 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.892e-05/0.484, allocations: 8.25 kB / 497.4 MB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.938e-05/0.484, allocations: 12.88 kB / 497.5 MB, free: 10.35 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002235/0.4862, allocations: 0.7788 MB / 498.2 MB, free: 9.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/0.4875, allocations: 267.6 kB / 498.5 MB, free: 9.309 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01385/0.5014, allocations: 9.599 MB / 0.4962 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001791/0.5032, allocations: 92.77 kB / 0.4963 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001866/0.5034, allocations: 55.98 kB / 0.4963 GB, free: 15.29 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (126): * Single equations (assignments): 122 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (6,33,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00166/0.505, allocations: 0.744 MB / 0.4971 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006094/0.5056, allocations: 214.6 kB / 0.4973 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005153/0.5108, allocations: 2.478 MB / 0.4997 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.214e-05/0.5108, allocations: 16 kB / 0.4997 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.509e-05/0.5108, allocations: 7.984 kB / 0.4997 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.729e-05/0.5109, allocations: 11.81 kB / 0.4997 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0102/0.521, allocations: 4.93 MB / 0.5045 GB, free: 6.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/0.5211, allocations: 3.938 kB / 0.5045 GB, free: 6.766 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/0.5221, allocations: 219.6 kB / 0.5047 GB, free: 6.551 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001977/0.5241, allocations: 0.6517 MB / 0.5054 GB, free: 5.887 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001325/0.5243, allocations: 35.91 kB / 0.5054 GB, free: 5.855 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01085/0.5351, allocations: 8.718 MB / 0.5139 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.5351, allocations: 1.062 kB / 0.5139 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007291/0.5424, allocations: 3.537 MB / 0.5174 GB, free: 9.137 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001401/0.5438, allocations: 455.6 kB / 0.5178 GB, free: 8.672 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00046/0.5443, allocations: 31.98 kB / 0.5178 GB, free: 8.641 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/0.5454, allocations: 83.84 kB / 0.5179 GB, free: 8.559 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003455/0.5457, allocations: 104.8 kB / 0.518 GB, free: 8.457 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/0.5458, allocations: 39.98 kB / 0.5181 GB, free: 8.418 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002772/0.5486, allocations: 1.54 MB / 0.5196 GB, free: 6.855 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5486, allocations: 0 / 0.5196 GB, free: 6.855 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00281/0.5514, allocations: 0.5196 MB / 0.5201 GB, free: 6.336 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * 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 (97): * Single equations (assignments): 91 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(2,12,100.0%), (1,6,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001826/0.5533, allocations: 466 kB / 0.5205 GB, free: 6.031 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00518/0.5584, allocations: 2.305 MB / 0.5228 GB, free: 3.703 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.5584, allocations: 0 / 0.5228 GB, free: 3.703 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002921/0.5614, allocations: 1.539 MB / 0.5243 GB, free: 2.102 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002853/0.5642, allocations: 459.6 kB / 0.5247 GB, free: 1.656 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01046/0.5747, allocations: 5.269 MB / 0.5299 GB, free: 12.33 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001997/0.5767, allocations: 1.939 MB / 0.5317 GB, free: 10.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007943/0.5775, allocations: 143.4 kB / 0.5319 GB, free: 10.22 MB / 446.1 MB Notification: Performance of SimCode: time 1.362e-06/0.5775, allocations: 0 / 0.5319 GB, free: 10.22 MB / 446.1 MB Notification: Performance of Templates: time 0.08769/0.6652, allocations: 64.59 MB / 0.595 GB, free: 9.633 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.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: 14.566793930949643]