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.001262/0.001262, allocations: 109 kB / 21.23 MB, free: 0.6641 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.002026/0.002026, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.476/1.476, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.002111/0.002111, allocations: 68.77 kB / 379.1 MB, free: 2.617 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2912, allocations: 53.37 MB / 432.4 MB, free: 6.957 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01306/0.3043, allocations: 9.816 MB / 442.3 MB, free: 13.11 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.007579/0.3118, allocations: 3.802 MB / 446.1 MB, free: 9.293 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001425/0.3133, allocations: 59.62 kB / 446.1 MB, free: 9.234 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001977/0.3152, allocations: 0.6988 MB / 446.8 MB, free: 8.531 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.002599/0.3178, allocations: 0.9323 MB / 447.8 MB, free: 7.594 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.319, allocations: 481.9 kB / 448.2 MB, free: 7.125 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.003436/0.3225, allocations: 2.662 MB / 450.9 MB, free: 4.449 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.00173/0.3242, allocations: 1.109 MB / 452 MB, free: 3.281 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.00219/0.3264, allocations: 1.242 MB / 453.2 MB, free: 2.035 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.002802/0.3292, allocations: 1.549 MB / 454.8 MB, free: 492 kB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0004901/0.3297, allocations: 307.9 kB / 455.1 MB, free: 184 kB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001281/0.3309, allocations: 0.6205 MB / 455.7 MB, free: 15.56 MB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.001171/0.3321, allocations: 1.04 MB / 456.7 MB, free: 14.52 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.001769/0.3339, allocations: 1.493 MB / 458.2 MB, free: 13.02 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.005087/0.339, allocations: 4.318 MB / 462.6 MB, free: 8.684 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.339, allocations: 4 kB / 462.6 MB, free: 8.68 MB / 366.1 MB
Notification: Performance of FrontEnd: time 1.643e-06/0.339, allocations: 4 kB / 462.6 MB, free: 8.676 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 7.463e-05/0.3391, allocations: 0 / 462.6 MB, free: 8.676 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.006767/0.3458, allocations: 3.189 MB / 465.8 MB, free: 5.434 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.3459, allocations: 8.031 kB / 465.8 MB, free: 5.426 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/0.347, allocations: 370.9 kB / 466.1 MB, free: 5.062 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.003206/0.3502, allocations: 1.662 MB / 467.8 MB, free: 3.363 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001381/0.3503, allocations: 156 kB / 467.9 MB, free: 3.207 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.00034/0.3507, allocations: 207.9 kB / 468.1 MB, free: 3.004 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.004862/0.3555, allocations: 2.694 MB / 470.8 MB, free: 236 kB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 5.235e-05/0.3556, allocations: 7.938 kB / 470.8 MB, free: 228 kB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001975/0.3558, allocations: 91.98 kB / 470.9 MB, free: 136 kB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001212/0.3559, allocations: 91.94 kB / 471 MB, free: 44 kB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004271/0.3602, allocations: 2.28 MB / 473.3 MB, free: 13.76 MB / 382.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01412/0.3743, allocations: 8.026 MB / 481.3 MB, free: 5.535 MB / 382.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.002982/0.3773, allocations: 1.316 MB / 482.6 MB, free: 4.215 MB / 382.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.002078/0.3793, allocations: 1.02 MB / 483.7 MB, free: 3.199 MB / 382.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002266/0.3796, allocations: 48.89 kB / 483.7 MB, free: 3.152 MB / 382.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.232e-05/0.3796, allocations: 51.56 kB / 483.8 MB, free: 3.09 MB / 382.1 MB
Notification: Performance of pre-optimization done (n=116): time 3.166e-06/0.3796, allocations: 0 / 483.8 MB, free: 3.09 MB / 382.1 MB
Notification: Performance of matching and sorting (n=132): time 0.0136/0.3932, allocations: 6.104 MB / 489.9 MB, free: 12.94 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.426e-05/0.3933, allocations: 64.72 kB / 489.9 MB, free: 12.86 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003194/0.3965, allocations: 2.185 MB / 492.1 MB, free: 10.63 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0001133/0.3966, allocations: 45.7 kB / 492.2 MB, free: 10.58 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.00098/0.3976, allocations: 1.134 MB / 493.3 MB, free: 9.438 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0004294/0.398, allocations: 479.9 kB / 493.8 MB, free: 8.965 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004292/0.3984, allocations: 247.5 kB / 494 MB, free: 8.719 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001899/0.3986, allocations: 365.9 kB / 494.4 MB, free: 8.355 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001404/0.4, allocations: 0.7573 MB / 495.1 MB, free: 7.598 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001605/0.4016, allocations: 1.014 MB / 496.1 MB, free: 6.496 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.003052/0.4047, allocations: 1.869 MB / 498 MB, free: 4.535 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/0.4047, allocations: 4 kB / 498 MB, free: 4.531 MB / 398.1 MB
Notification: Performance of matching and sorting (n=172) (initialization): time 0.005453/0.4101, allocations: 2.746 MB / 0.489 GB, free: 1.766 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.903e-05/0.4102, allocations: 10.81 kB / 0.489 GB, free: 1.758 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/0.4102, allocations: 8 kB / 0.489 GB, free: 1.75 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.00228/0.4125, allocations: 0.7891 MB / 0.4898 GB, free: 0.957 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001233/0.4137, allocations: 267.6 kB / 0.4901 GB, free: 0.6953 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01373/0.4274, allocations: 9.398 MB / 0.4992 GB, free: 7.062 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.4288, allocations: 95.89 kB / 0.4993 GB, free: 6.969 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002199/0.429, allocations: 48.14 kB / 0.4994 GB, free: 6.922 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.001441/0.4305, allocations: 0.7472 MB / 0.5001 GB, free: 6.164 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005658/0.431, allocations: 214.6 kB / 0.5003 GB, free: 5.953 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005471/0.4365, allocations: 2.489 MB / 0.5027 GB, free: 3.445 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.882e-05/0.4365, allocations: 16 kB / 0.5028 GB, free: 3.43 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.72e-05/0.4366, allocations: 7.938 kB / 0.5028 GB, free: 3.422 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.493e-05/0.4366, allocations: 11.97 kB / 0.5028 GB, free: 3.41 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0101/0.4467, allocations: 4.894 MB / 0.5076 GB, free: 14.43 MB / 430.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/0.4467, allocations: 0 / 0.5076 GB, free: 14.43 MB / 430.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/0.4477, allocations: 215.7 kB / 0.5078 GB, free: 14.21 MB / 430.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.001867/0.4496, allocations: 0.6473 MB / 0.5084 GB, free: 13.55 MB / 430.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001173/0.4497, allocations: 35.92 kB / 0.5084 GB, free: 13.52 MB / 430.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0108/0.4605, allocations: 8.414 MB / 0.5166 GB, free: 4.777 MB / 430.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/0.4605, allocations: 7.969 kB / 0.5166 GB, free: 4.77 MB / 430.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006866/0.4674, allocations: 3.533 MB / 0.5201 GB, free: 1.188 MB / 430.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.001101/0.4685, allocations: 378.5 kB / 0.5205 GB, free: 0.8164 MB / 430.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004015/0.4689, allocations: 24 kB / 0.5205 GB, free: 0.793 MB / 430.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001123/0.47, allocations: 83.89 kB / 0.5206 GB, free: 0.7109 MB / 430.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002984/0.4703, allocations: 120.7 kB / 0.5207 GB, free: 0.5898 MB / 430.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001178/0.4704, allocations: 35.98 kB / 0.5207 GB, free: 0.5547 MB / 430.1 MB
Notification: Performance of sorting global known variables: time 0.002662/0.4731, allocations: 1.532 MB / 0.5222 GB, free: 15 MB / 446.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.4731, allocations: 0 / 0.5222 GB, free: 15 MB / 446.1 MB
Notification: Performance of remove unused functions: time 0.001976/0.4751, allocations: 0.5272 MB / 0.5227 GB, free: 14.47 MB / 446.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.00165/0.4767, allocations: 459.2 kB / 0.5232 GB, free: 14.14 MB / 446.1 MB
Notification: Performance of simCode: created initialization part: time 0.005163/0.4819, allocations: 2.299 MB / 0.5254 GB, free: 11.82 MB / 446.1 MB
Notification: Performance of simCode: created event and clocks part: time 9.017e-06/0.4819, allocations: 0 / 0.5254 GB, free: 11.82 MB / 446.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.003148/0.4851, allocations: 1.471 MB / 0.5268 GB, free: 10.31 MB / 446.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003071/0.4881, allocations: 452.6 kB / 0.5273 GB, free: 9.875 MB / 446.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01161/0.4997, allocations: 5.23 MB / 0.5324 GB, free: 4.594 MB / 446.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002617/0.5023, allocations: 1.963 MB / 0.5343 GB, free: 2.594 MB / 446.1 MB
Notification: Performance of simCode: alias equations: time 0.001546/0.5039, allocations: 395.8 kB / 0.5347 GB, free: 2.203 MB / 446.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005159/0.5044, allocations: 135.4 kB / 0.5348 GB, free: 2.07 MB / 446.1 MB
Notification: Performance of SimCode: time 1.442e-06/0.5044, allocations: 0 / 0.5348 GB, free: 2.07 MB / 446.1 MB
Notification: Performance of Templates: time 0.2368/0.7413, allocations: 31.89 MB / 0.5659 GB, free: 81.38 MB / 446.1 MB
"
[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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 6.6879946971312165]