Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001885/0.001885, allocations: 110.5 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.002285/0.002285, allocations: 211.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 trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.711/1.711, allocations: 230.3 MB / 258 MB, free: 8.238 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.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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 71.88 kB / 378.8 MB, free: 2.746 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2673, allocations: 53.36 MB / 432.2 MB, free: 7.219 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01261/0.2799, allocations: 9.812 MB / 442 MB, free: 13.37 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.007442/0.2874, allocations: 3.794 MB / 445.8 MB, free: 9.562 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001528/0.2889, allocations: 63.62 kB / 445.8 MB, free: 9.5 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.002016/0.2909, allocations: 0.7027 MB / 446.5 MB, free: 8.793 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.003052/0.294, allocations: 0.9362 MB / 447.5 MB, free: 7.852 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001396/0.2953, allocations: 475.1 kB / 447.9 MB, free: 7.387 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.003743/0.2991, allocations: 2.669 MB / 450.6 MB, free: 4.707 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.001737/0.3008, allocations: 1.116 MB / 451.7 MB, free: 3.531 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001953/0.3028, allocations: 1.238 MB / 453 MB, free: 2.289 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.002564/0.3053, allocations: 1.549 MB / 454.5 MB, free: 0.7344 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0006169/0.306, allocations: 304 kB / 454.8 MB, free: 448 kB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001527/0.3075, allocations: 0.6205 MB / 455.4 MB, free: 15.82 MB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.001362/0.3089, allocations: 1.04 MB / 456.5 MB, free: 14.77 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.001823/0.3107, allocations: 1.493 MB / 457.9 MB, free: 13.27 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.005559/0.3162, allocations: 4.324 MB / 462.3 MB, free: 8.934 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.3162, allocations: 0 / 462.3 MB, free: 8.934 MB / 366.1 MB
Notification: Performance of FrontEnd: time 1.914e-06/0.3162, allocations: 4 kB / 462.3 MB, free: 8.93 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 9.443e-05/0.3163, allocations: 0 / 462.3 MB, free: 8.93 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.0067/0.323, allocations: 3.177 MB / 465.5 MB, free: 5.699 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.3231, allocations: 19.97 kB / 465.5 MB, free: 5.68 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001175/0.3242, allocations: 374.8 kB / 465.8 MB, free: 5.312 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002941/0.3272, allocations: 1.662 MB / 467.5 MB, free: 3.613 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/0.3273, allocations: 148.4 kB / 467.6 MB, free: 3.465 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003306/0.3277, allocations: 211.9 kB / 467.9 MB, free: 3.258 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.004805/0.3325, allocations: 2.694 MB / 470.5 MB, free: 496 kB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 5.544e-05/0.3325, allocations: 11.95 kB / 470.6 MB, free: 484 kB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002113/0.3327, allocations: 76 kB / 470.6 MB, free: 408 kB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001199/0.3328, allocations: 95.92 kB / 470.7 MB, free: 312 kB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004283/0.3371, allocations: 2.287 MB / 473 MB, free: 14.02 MB / 382.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01357/0.3507, allocations: 8.018 MB / 481 MB, free: 5.797 MB / 382.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.003062/0.3538, allocations: 1.329 MB / 482.4 MB, free: 4.461 MB / 382.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.002102/0.3559, allocations: 1.019 MB / 483.4 MB, free: 3.445 MB / 382.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002477/0.3561, allocations: 48.95 kB / 483.4 MB, free: 3.398 MB / 382.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.13e-05/0.3561, allocations: 43.56 kB / 483.5 MB, free: 3.344 MB / 382.1 MB
Notification: Performance of pre-optimization done (n=116): time 4.679e-06/0.3562, allocations: 3.984 kB / 483.5 MB, free: 3.34 MB / 382.1 MB
Notification: Performance of matching and sorting (n=132): time 0.01394/0.3701, allocations: 6.107 MB / 489.6 MB, free: 13.19 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.3701, allocations: 64.72 kB / 489.6 MB, free: 13.12 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00329/0.3734, allocations: 2.189 MB / 491.8 MB, free: 10.88 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0002095/0.3736, allocations: 49.7 kB / 491.9 MB, free: 10.83 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.00102/0.3747, allocations: 1.134 MB / 493 MB, free: 9.684 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0005088/0.3752, allocations: 483.9 kB / 493.5 MB, free: 9.207 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004408/0.3756, allocations: 243.5 kB / 493.7 MB, free: 8.965 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002086/0.3758, allocations: 353.9 kB / 494.1 MB, free: 8.613 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001391/0.3772, allocations: 0.7652 MB / 494.8 MB, free: 7.848 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001583/0.3788, allocations: 1.014 MB / 495.9 MB, free: 6.746 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.003103/0.3819, allocations: 1.865 MB / 497.7 MB, free: 4.789 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.3819, allocations: 0 / 497.7 MB, free: 4.789 MB / 398.1 MB
Notification: Performance of matching and sorting (n=172) (initialization): time 0.005596/0.3875, allocations: 2.75 MB / 0.4887 GB, free: 2.02 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.907e-05/0.3875, allocations: 12.03 kB / 0.4887 GB, free: 2.008 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.086e-05/0.3875, allocations: 8 kB / 0.4888 GB, free: 2 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0022/0.3897, allocations: 0.785 MB / 0.4895 GB, free: 1.211 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/0.3909, allocations: 267.6 kB / 0.4898 GB, free: 0.9492 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01462/0.4055, allocations: 9.402 MB / 0.499 GB, free: 7.312 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001927/0.4075, allocations: 87.89 kB / 0.499 GB, free: 7.227 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003526/0.4078, allocations: 60.05 kB / 0.4991 GB, free: 7.168 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.001594/0.4094, allocations: 0.7394 MB / 0.4998 GB, free: 6.418 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005772/0.41, allocations: 222.5 kB / 0.5 GB, free: 6.199 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005005/0.415, allocations: 2.477 MB / 0.5025 GB, free: 3.699 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.261e-05/0.415, allocations: 16 kB / 0.5025 GB, free: 3.684 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.444e-05/0.415, allocations: 4 kB / 0.5025 GB, free: 3.68 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.536e-05/0.4151, allocations: 7.969 kB / 0.5025 GB, free: 3.672 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009589/0.4247, allocations: 4.902 MB / 0.5073 GB, free: 14.68 MB / 430.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.4247, allocations: 0 / 0.5073 GB, free: 14.68 MB / 430.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001064/0.4257, allocations: 215.7 kB / 0.5075 GB, free: 14.47 MB / 430.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.001846/0.4276, allocations: 0.662 MB / 0.5081 GB, free: 13.8 MB / 430.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001159/0.4277, allocations: 35.98 kB / 0.5082 GB, free: 13.77 MB / 430.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01031/0.438, allocations: 8.413 MB / 0.5164 GB, free: 5.023 MB / 430.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.438, allocations: 0 / 0.5164 GB, free: 5.023 MB / 430.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00698/0.445, allocations: 3.522 MB / 0.5198 GB, free: 1.453 MB / 430.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.001264/0.4462, allocations: 390.5 kB / 0.5202 GB, free: 1.07 MB / 430.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005049/0.4467, allocations: 36 kB / 0.5202 GB, free: 1.035 MB / 430.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001273/0.448, allocations: 75.91 kB / 0.5203 GB, free: 0.9609 MB / 430.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003328/0.4484, allocations: 112.7 kB / 0.5204 GB, free: 0.8477 MB / 430.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001181/0.4485, allocations: 43.98 kB / 0.5204 GB, free: 0.8047 MB / 430.1 MB
Notification: Performance of sorting global known variables: time 0.003044/0.4515, allocations: 1.532 MB / 0.5219 GB, free: 15.25 MB / 446.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.4515, allocations: 0 / 0.5219 GB, free: 15.25 MB / 446.1 MB
Notification: Performance of remove unused functions: time 0.002227/0.4537, allocations: 0.5234 MB / 0.5224 GB, free: 14.73 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.001806/0.4556, allocations: 444.8 kB / 0.5229 GB, free: 14.39 MB / 446.1 MB
Notification: Performance of simCode: created initialization part: time 0.004899/0.4604, allocations: 2.306 MB / 0.5251 GB, free: 12.06 MB / 446.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.4605, allocations: 7.875 kB / 0.5251 GB, free: 12.05 MB / 446.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.002845/0.4633, allocations: 1.472 MB / 0.5266 GB, free: 10.54 MB / 446.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002531/0.4658, allocations: 455.6 kB / 0.527 GB, free: 10.11 MB / 446.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00915/0.475, allocations: 5.229 MB / 0.5321 GB, free: 4.824 MB / 446.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002173/0.4772, allocations: 1.955 MB / 0.534 GB, free: 2.832 MB / 446.1 MB
Notification: Performance of simCode: alias equations: time 0.001229/0.4784, allocations: 395.8 kB / 0.5344 GB, free: 2.441 MB / 446.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004523/0.4788, allocations: 131.4 kB / 0.5345 GB, free: 2.312 MB / 446.1 MB
Notification: Performance of SimCode: time 6.11e-07/0.4788, allocations: 0 / 0.5345 GB, free: 2.312 MB / 446.1 MB
Notification: Performance of Templates: time 0.2829/0.7617, allocations: 31.89 MB / 0.5657 GB, free: 81.8 MB / 446.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660]
""
[Timeout remaining time 659]
Reference file matches
[Calling sys.exit(0), Time elapsed: 7.2022727988660336]