Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001657/0.001657, allocations: 106 kB / 21.18 MB, free: 0.6992 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 181.2 kB / 24.46 MB, free: 4.062 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.866/1.866, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses")
translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") [Timeout 660]
"Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 51.92 kB / 347.7 MB, free: 9.535 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.429/0.4312, allocations: 49.16 MB / 396.8 MB, free: 9.523 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.01214/0.4433, allocations: 9.706 MB / 406.6 MB, free: 2.656 MB / 318.1 MB
Notification: Performance of NFInst.instExpressions: time 0.008155/0.4515, allocations: 3.511 MB / 410.1 MB, free: 132 kB / 318.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.002825/0.4543, allocations: 52.69 kB / 410.1 MB, free: 108 kB / 318.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.003608/0.4579, allocations: 0.7106 MB / 410.8 MB, free: 15.73 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.004579/0.4625, allocations: 0.8866 MB / 411.7 MB, free: 15.17 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.00207/0.4646, allocations: 458.4 kB / 412.2 MB, free: 14.91 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.005764/0.4703, allocations: 2.674 MB / 414.8 MB, free: 13.38 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.003018/0.4734, allocations: 1.07 MB / 415.9 MB, free: 12.67 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.003286/0.4766, allocations: 1.21 MB / 417.1 MB, free: 11.97 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.004069/0.4807, allocations: 1.546 MB / 418.7 MB, free: 10.94 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.00138/0.4821, allocations: 305.3 kB / 419 MB, free: 10.94 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.002947/0.485, allocations: 0.6365 MB / 419.6 MB, free: 10.72 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.002563/0.4876, allocations: 1.042 MB / 420.6 MB, free: 9.973 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.004906/0.4925, allocations: 1.487 MB / 422.1 MB, free: 8.891 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.00859/0.5011, allocations: 4.303 MB / 426.4 MB, free: 5.707 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.5011, allocations: 0 / 426.4 MB, free: 5.707 MB / 334.1 MB
Notification: Performance of FrontEnd: time 2.114e-06/0.5011, allocations: 0 / 426.4 MB, free: 5.707 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 0.0001992/0.5013, allocations: 4 kB / 426.4 MB, free: 5.703 MB / 334.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.01017/0.5115, allocations: 3.161 MB / 429.6 MB, free: 2.488 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 6.25e-05/0.5115, allocations: 11.98 kB / 429.6 MB, free: 2.477 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/0.5126, allocations: 338.9 kB / 429.9 MB, free: 2.145 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.003331/0.516, allocations: 1.556 MB / 431.5 MB, free: 0.5508 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/0.5161, allocations: 152 kB / 431.6 MB, free: 408 kB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003677/0.5165, allocations: 204 kB / 431.8 MB, free: 204 kB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.005356/0.5218, allocations: 2.694 MB / 434.5 MB, free: 13.43 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 6.195e-05/0.5219, allocations: 15.89 kB / 434.5 MB, free: 13.41 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000203/0.5221, allocations: 76 kB / 434.6 MB, free: 13.34 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001366/0.5222, allocations: 99.92 kB / 434.7 MB, free: 13.24 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004399/0.5266, allocations: 2.28 MB / 437 MB, free: 10.96 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01561/0.5422, allocations: 8.029 MB / 445 MB, free: 2.73 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.003063/0.5453, allocations: 1.316 MB / 446.3 MB, free: 1.406 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.002179/0.5475, allocations: 1.019 MB / 447.4 MB, free: 396 kB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002752/0.5478, allocations: 60.89 kB / 447.4 MB, free: 336 kB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.303e-05/0.5478, allocations: 47.5 kB / 447.5 MB, free: 280 kB / 350.1 MB
Notification: Performance of pre-optimization done (n=116): time 3.436e-06/0.5478, allocations: 0 / 447.5 MB, free: 280 kB / 350.1 MB
Notification: Performance of matching and sorting (n=132): time 0.01495/0.5628, allocations: 6.004 MB / 453.5 MB, free: 10.23 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.5629, allocations: 68.66 kB / 453.5 MB, free: 10.15 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004522/0.5674, allocations: 2.152 MB / 455.7 MB, free: 7.953 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0003996/0.5678, allocations: 49.7 kB / 455.7 MB, free: 7.898 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.001262/0.5691, allocations: 1.133 MB / 456.9 MB, free: 6.754 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.000686/0.5697, allocations: 467.9 kB / 457.3 MB, free: 6.293 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004853/0.5702, allocations: 247.5 kB / 457.6 MB, free: 6.047 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002182/0.5704, allocations: 365.9 kB / 457.9 MB, free: 5.684 MB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001451/0.5719, allocations: 0.7574 MB / 458.7 MB, free: 4.926 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001759/0.5737, allocations: 1.009 MB / 459.7 MB, free: 3.828 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.00324/0.5769, allocations: 1.865 MB / 461.6 MB, free: 1.871 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.5769, allocations: 0 / 461.6 MB, free: 1.871 MB / 366.1 MB
Notification: Performance of matching and sorting (n=172) (initialization): time 0.006352/0.5833, allocations: 2.746 MB / 464.3 MB, free: 15.11 MB / 382.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.14e-05/0.5833, allocations: 8 kB / 464.3 MB, free: 15.1 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.967e-05/0.5833, allocations: 8 kB / 464.3 MB, free: 15.09 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.00216/0.5855, allocations: 0.7814 MB / 465.1 MB, free: 14.3 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/0.5866, allocations: 271.5 kB / 465.4 MB, free: 14.04 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01311/0.5998, allocations: 9.402 MB / 474.8 MB, free: 4.402 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001742/0.6015, allocations: 91.89 kB / 474.9 MB, free: 4.312 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002891/0.6018, allocations: 51.98 kB / 474.9 MB, free: 4.262 MB / 382.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.001825/0.6036, allocations: 0.7511 MB / 475.7 MB, free: 3.5 MB / 382.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006739/0.6043, allocations: 214.6 kB / 475.9 MB, free: 3.289 MB / 382.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004937/0.6092, allocations: 2.469 MB / 478.3 MB, free: 0.7969 MB / 382.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.465e-05/0.6093, allocations: 12 kB / 478.4 MB, free: 0.7852 MB / 382.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-05/0.6093, allocations: 12 kB / 478.4 MB, free: 0.7734 MB / 382.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.571e-05/0.6093, allocations: 11.91 kB / 478.4 MB, free: 0.7617 MB / 382.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009829/0.6191, allocations: 4.889 MB / 483.3 MB, free: 11.79 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/0.6191, allocations: 3.938 kB / 483.3 MB, free: 11.79 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/0.6202, allocations: 215.6 kB / 483.5 MB, free: 11.57 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.00183/0.622, allocations: 0.6565 MB / 484.1 MB, free: 10.91 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001124/0.6221, allocations: 31.98 kB / 484.2 MB, free: 10.88 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01054/0.6327, allocations: 8.394 MB / 492.6 MB, free: 2.137 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.593e-06/0.6327, allocations: 4.031 kB / 492.6 MB, free: 2.133 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007308/0.64, allocations: 3.537 MB / 496.1 MB, free: 14.55 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.001491/0.6415, allocations: 370.5 kB / 496.5 MB, free: 14.18 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006519/0.6421, allocations: 39.92 kB / 496.5 MB, free: 14.14 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001461/0.6436, allocations: 79.91 kB / 496.6 MB, free: 14.07 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003536/0.6439, allocations: 112.7 kB / 496.7 MB, free: 13.96 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/0.644, allocations: 35.98 kB / 496.7 MB, free: 13.92 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.002751/0.6468, allocations: 1.519 MB / 498.2 MB, free: 12.38 MB / 414.1 MB
Notification: Performance of sort global known variables: time 1.11e-07/0.6468, allocations: 0 / 498.2 MB, free: 12.38 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.002771/0.6496, allocations: 0.5195 MB / 498.8 MB, free: 11.86 MB / 414.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.00182/0.6514, allocations: 466.1 kB / 499.2 MB, free: 11.39 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.004892/0.6563, allocations: 2.307 MB / 0.4898 GB, free: 9.059 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.6563, allocations: 0 / 0.4898 GB, free: 9.059 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.002849/0.6591, allocations: 1.463 MB / 0.4912 GB, free: 7.551 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003335/0.6625, allocations: 446.2 kB / 0.4916 GB, free: 7.109 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01187/0.6743, allocations: 5.224 MB / 0.4967 GB, free: 1.828 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002423/0.6768, allocations: 1.951 MB / 0.4986 GB, free: 15.84 MB / 430.1 MB
Notification: Performance of simCode: alias equations: time 0.001626/0.6784, allocations: 379.7 kB / 0.499 GB, free: 15.47 MB / 430.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00041/0.6788, allocations: 131.4 kB / 0.4991 GB, free: 15.34 MB / 430.1 MB
Notification: Performance of SimCode: time 1.322e-06/0.6788, allocations: 0 / 0.4991 GB, free: 15.34 MB / 430.1 MB
Notification: Performance of Templates: time 0.07508/0.7539, allocations: 31.84 MB / 0.5302 GB, free: 15.44 MB / 462.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.makefile [Timeout 660]
(rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_withLosses/AIMC_withLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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: 7.368605935946107]