Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00191/0.00191, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002318/0.002318, allocations: 213.2 kB / 24.48 MB, free: 3.844 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.509/1.509, allocations: 230.6 MB / 258.2 MB, free: 7.801 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001617/0.001617, allocations: 43.92 kB / 379 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.2712, allocations: 53.37 MB / 432.4 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01225/0.2834, allocations: 8.608 MB / 441 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007797/0.2912, allocations: 3.557 MB / 444.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001852/0.2931, allocations: 63.56 kB / 444.6 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00233/0.2954, allocations: 0.6521 MB / 445.3 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003508/0.2989, allocations: 0.9285 MB / 446.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001742/0.3006, allocations: 475.1 kB / 446.6 MB, free: 8.387 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004124/0.3048, allocations: 2.665 MB / 449.3 MB, free: 5.711 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001731/0.3065, allocations: 1.076 MB / 450.4 MB, free: 4.578 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002152/0.3086, allocations: 1.226 MB / 451.6 MB, free: 3.348 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002769/0.3114, allocations: 1.459 MB / 453.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006814/0.3121, allocations: 304 kB / 453.4 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001445/0.3135, allocations: 0.5581 MB / 453.9 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001199/0.3147, allocations: 1.032 MB / 455 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001775/0.3165, allocations: 1.201 MB / 456.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005581/0.3221, allocations: 4.343 MB / 460.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.3221, allocations: 0 / 460.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.3221, allocations: 0 / 460.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001247/0.3222, allocations: 0 / 460.5 MB, free: 10.43 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.007369/0.3296, allocations: 3.189 MB / 463.7 MB, free: 7.184 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.3297, allocations: 8.031 kB / 463.7 MB, free: 7.176 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001206/0.3309, allocations: 374.9 kB / 464.1 MB, free: 6.809 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0035/0.3344, allocations: 1.666 MB / 465.7 MB, free: 5.105 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001513/0.3345, allocations: 156 kB / 465.9 MB, free: 4.949 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003735/0.3349, allocations: 211.9 kB / 466.1 MB, free: 4.742 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005204/0.3401, allocations: 2.791 MB / 468.9 MB, free: 1.848 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.535e-05/0.3402, allocations: 7.953 kB / 468.9 MB, free: 1.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001956/0.3404, allocations: 80 kB / 469 MB, free: 1.762 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000137/0.3405, allocations: 99.92 kB / 469.1 MB, free: 1.664 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004379/0.3449, allocations: 2.272 MB / 471.3 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0144/0.3593, allocations: 7.068 MB / 478.4 MB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00296/0.3622, allocations: 1.322 MB / 479.7 MB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002101/0.3643, allocations: 1.015 MB / 480.7 MB, free: 5.797 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000237/0.3646, allocations: 52.95 kB / 480.8 MB, free: 5.746 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.548e-05/0.3646, allocations: 47.5 kB / 480.8 MB, free: 5.688 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 3.817e-06/0.3646, allocations: 0 / 480.8 MB, free: 5.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01428/0.3789, allocations: 6.093 MB / 486.9 MB, free: 15.55 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.321e-05/0.379, allocations: 64.72 kB / 487 MB, free: 15.47 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00309/0.382, allocations: 2.039 MB / 489 MB, free: 13.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001915/0.3822, allocations: 45.7 kB / 489.1 MB, free: 13.38 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001006/0.3832, allocations: 1.148 MB / 490.2 MB, free: 12.22 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005181/0.3838, allocations: 479.9 kB / 490.7 MB, free: 11.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004437/0.3842, allocations: 255.5 kB / 490.9 MB, free: 11.49 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.3844, allocations: 353.9 kB / 491.3 MB, free: 11.14 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001403/0.3858, allocations: 0.7574 MB / 492.1 MB, free: 10.38 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0016/0.3874, allocations: 1.014 MB / 493.1 MB, free: 9.281 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003194/0.3906, allocations: 1.865 MB / 494.9 MB, free: 7.324 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.3906, allocations: 0 / 494.9 MB, free: 7.324 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005511/0.3961, allocations: 2.742 MB / 497.7 MB, free: 4.562 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.3961, allocations: 8 kB / 497.7 MB, free: 4.555 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.08e-05/0.3961, allocations: 11.98 kB / 497.7 MB, free: 4.543 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002032/0.3982, allocations: 0.7853 MB / 498.5 MB, free: 3.754 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/0.3993, allocations: 275.5 kB / 498.7 MB, free: 3.484 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.013/0.4123, allocations: 9.236 MB / 0.4961 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001547/0.4139, allocations: 91.95 kB / 0.4962 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001723/0.414, allocations: 55.98 kB / 0.4962 GB, free: 9.895 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.001491/0.4155, allocations: 0.7413 MB / 0.4969 GB, free: 9.145 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005673/0.4161, allocations: 198.7 kB / 0.4971 GB, free: 8.949 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005333/0.4214, allocations: 2.479 MB / 0.4996 GB, free: 6.449 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.981e-05/0.4215, allocations: 12 kB / 0.4996 GB, free: 6.438 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.447e-05/0.4215, allocations: 8 kB / 0.4996 GB, free: 6.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.845e-05/0.4215, allocations: 11.91 kB / 0.4996 GB, free: 6.418 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009859/0.4313, allocations: 4.374 MB / 0.5039 GB, free: 1.969 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.261e-05/0.4314, allocations: 4 kB / 0.5039 GB, free: 1.965 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/0.4324, allocations: 211.7 kB / 0.5041 GB, free: 1.758 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001898/0.4343, allocations: 0.6551 MB / 0.5047 GB, free: 1.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001334/0.4344, allocations: 43.95 kB / 0.5047 GB, free: 1.047 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01127/0.4457, allocations: 8.259 MB / 0.5128 GB, free: 8.492 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.4457, allocations: 3.938 kB / 0.5128 GB, free: 8.488 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007412/0.4531, allocations: 3.517 MB / 0.5162 GB, free: 4.926 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001206/0.4543, allocations: 358.6 kB / 0.5166 GB, free: 4.574 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003869/0.4547, allocations: 27.98 kB / 0.5166 GB, free: 4.547 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/0.4558, allocations: 79.91 kB / 0.5167 GB, free: 4.469 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003057/0.4562, allocations: 116.7 kB / 0.5168 GB, free: 4.352 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001139/0.4563, allocations: 35.98 kB / 0.5168 GB, free: 4.316 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00248/0.4587, allocations: 1.431 MB / 0.5182 GB, free: 2.895 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4587, allocations: 4 kB / 0.5182 GB, free: 2.891 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002134/0.4609, allocations: 0.5234 MB / 0.5187 GB, free: 2.367 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.00176/0.4626, allocations: 477.6 kB / 0.5192 GB, free: 2.043 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004963/0.4676, allocations: 2.298 MB / 0.5214 GB, free: 15.72 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.4676, allocations: 3.938 kB / 0.5215 GB, free: 15.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002815/0.4704, allocations: 1.475 MB / 0.5229 GB, free: 14.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002283/0.4727, allocations: 400.9 kB / 0.5233 GB, free: 13.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/0.483, allocations: 5.271 MB / 0.5284 GB, free: 8.492 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002149/0.4852, allocations: 1.364 MB / 0.5298 GB, free: 7.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006219/0.4858, allocations: 135.4 kB / 0.5299 GB, free: 6.957 MB / 446.1 MB Notification: Performance of SimCode: time 1.342e-06/0.4858, allocations: 0 / 0.5299 GB, free: 6.957 MB / 446.1 MB Notification: Performance of Templates: time 0.2511/0.7369, allocations: 64.4 MB / 0.5928 GB, free: 51.85 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.087197453714907]