Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.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.001713/0.001713, allocations: 112.2 kB / 20.43 MB, free: 1.449 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.001892/0.001892, allocations: 187.1 kB / 23.72 MB, free: 4.68 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor")
translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 59.91 kB / 371 MB, free: 9.32 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.2997, allocations: 52.17 MB / 423.1 MB, free: 14.82 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.0132/0.3129, allocations: 9.57 MB / 432.7 MB, free: 5.211 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.007719/0.3206, allocations: 3.491 MB / 436.2 MB, free: 1.711 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001425/0.322, allocations: 59.62 kB / 436.2 MB, free: 1.652 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.00227/0.3243, allocations: 0.7613 MB / 437 MB, free: 0.8867 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.003325/0.3276, allocations: 0.8546 MB / 437.9 MB, free: 28 kB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001528/0.3292, allocations: 486.2 kB / 438.3 MB, free: 15.55 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.003714/0.3329, allocations: 2.416 MB / 440.8 MB, free: 13.12 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.001689/0.3346, allocations: 1.056 MB / 441.8 MB, free: 12.02 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001872/0.3364, allocations: 1.125 MB / 442.9 MB, free: 10.89 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.002245/0.3387, allocations: 1.429 MB / 444.4 MB, free: 9.461 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0004829/0.3392, allocations: 280 kB / 444.6 MB, free: 9.188 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.00091/0.3401, allocations: 411.8 kB / 445 MB, free: 8.785 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.000926/0.341, allocations: 0.8141 MB / 445.9 MB, free: 7.969 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.001662/0.3427, allocations: 1.275 MB / 447.1 MB, free: 6.688 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.005566/0.3482, allocations: 3.74 MB / 450.9 MB, free: 2.934 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 8.777e-06/0.3482, allocations: 8 kB / 450.9 MB, free: 2.926 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.533e-06/0.3482, allocations: 0 / 450.9 MB, free: 2.926 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 9.801e-05/0.3483, allocations: 4 kB / 450.9 MB, free: 2.922 MB / 350.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 490
 * Number of variables: 490
Notification: Performance of Generate backend data structure: time 0.006394/0.3547, allocations: 2.648 MB / 453.5 MB, free: 240 kB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.3548, allocations: 12.03 kB / 453.5 MB, free: 228 kB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007927/0.3556, allocations: 280.8 kB / 453.8 MB, free: 15.95 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002865/0.3584, allocations: 1.324 MB / 455.1 MB, free: 14.58 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001481/0.3586, allocations: 143.7 kB / 455.3 MB, free: 14.44 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003657/0.3589, allocations: 191.9 kB / 455.5 MB, free: 14.25 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.006477/0.3654, allocations: 2.444 MB / 457.9 MB, free: 11.78 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 7.627e-05/0.3655, allocations: 7.953 kB / 457.9 MB, free: 11.77 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000286/0.3658, allocations: 75.94 kB / 458 MB, free: 11.7 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001771/0.366, allocations: 103.6 kB / 458.1 MB, free: 11.59 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005829/0.3718, allocations: 1.982 MB / 460.1 MB, free: 9.609 MB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01984/0.3916, allocations: 7.198 MB / 467.3 MB, free: 2.211 MB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.002855/0.3945, allocations: 1.053 MB / 468.3 MB, free: 1.145 MB / 366.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.002428/0.3969, allocations: 0.8187 MB / 469.1 MB, free: 332 kB / 366.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.000263/0.3972, allocations: 44.95 kB / 469.2 MB, free: 288 kB / 366.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001712/0.3989, allocations: 0.6828 MB / 469.9 MB, free: 15.57 MB / 382.1 MB
Notification: Performance of pre-optimization done (n=99): time 6.031e-06/0.3989, allocations: 3.984 kB / 469.9 MB, free: 15.56 MB / 382.1 MB
Notification: Performance of matching and sorting (n=121): time 0.02461/0.4235, allocations: 6.83 MB / 476.7 MB, free: 8.688 MB / 382.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001857/0.4237, allocations: 167.2 kB / 476.9 MB, free: 8.484 MB / 382.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002586/0.4263, allocations: 1.418 MB / 478.3 MB, free: 7.047 MB / 382.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0001694/0.4264, allocations: 45.7 kB / 478.3 MB, free: 6.996 MB / 382.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0009777/0.4274, allocations: 0.9545 MB / 479.3 MB, free: 6.031 MB / 382.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0005503/0.428, allocations: 444.3 kB / 479.7 MB, free: 5.594 MB / 382.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004777/0.4285, allocations: 247.5 kB / 480 MB, free: 5.344 MB / 382.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001834/0.4286, allocations: 361.9 kB / 480.3 MB, free: 4.984 MB / 382.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.00116/0.4298, allocations: 0.6403 MB / 481 MB, free: 4.344 MB / 382.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.00146/0.4313, allocations: 1.005 MB / 482 MB, free: 3.195 MB / 382.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.002757/0.434, allocations: 1.711 MB / 483.7 MB, free: 1.352 MB / 382.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.134e-05/0.434, allocations: 8 kB / 483.7 MB, free: 1.344 MB / 382.1 MB
Notification: Performance of matching and sorting (n=173) (initialization): time 0.004451/0.4385, allocations: 2.254 MB / 485.9 MB, free: 15.06 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.106e-05/0.4385, allocations: 12 kB / 485.9 MB, free: 15.05 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.847e-05/0.4385, allocations: 8 kB / 486 MB, free: 15.04 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001301/0.4398, allocations: 496.1 kB / 486.4 MB, free: 14.54 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/0.441, allocations: 299.5 kB / 486.7 MB, free: 14.25 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008038/0.4491, allocations: 6.883 MB / 493.6 MB, free: 7.035 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/0.4505, allocations: 91.98 kB / 493.7 MB, free: 6.945 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002042/0.4507, allocations: 55.98 kB / 493.8 MB, free: 6.891 MB / 398.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 42
 * Number of states: 0 ()
 * Number of discrete variables: 5 ($PRE.dutyCycle.nextTimeEvent,$whenCondition1,dutyCycle.nextTimeEventScaled,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEvent)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (148):
 * Single equations (assignments): 143
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 2
 * 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): 2 systems
   {(2,100.0%), (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%), (1,4,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.001292/0.452, allocations: 0.6378 MB / 494.4 MB, free: 6.242 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003959/0.4524, allocations: 166.9 kB / 494.6 MB, free: 6.078 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004178/0.4566, allocations: 2.064 MB / 496.6 MB, free: 3.988 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/0.4566, allocations: 12 kB / 496.6 MB, free: 3.977 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.314e-05/0.4566, allocations: 4 kB / 496.6 MB, free: 3.973 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.554e-05/0.4566, allocations: 7.969 kB / 496.6 MB, free: 3.965 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008223/0.4648, allocations: 4.338 MB / 0.4892 GB, free: 15.52 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/0.4648, allocations: 4 kB / 0.4892 GB, free: 15.52 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008406/0.4657, allocations: 195.7 kB / 0.4894 GB, free: 15.32 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.001566/0.4672, allocations: 0.5313 MB / 0.49 GB, free: 14.78 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001002/0.4673, allocations: 31.98 kB / 0.49 GB, free: 14.75 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009485/0.4768, allocations: 8.338 MB / 0.4981 GB, free: 5.953 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.4768, allocations: 4.031 kB / 0.4981 GB, free: 5.949 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005381/0.4822, allocations: 3.005 MB / 0.5011 GB, free: 2.875 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0009583/0.4832, allocations: 302.8 kB / 0.5014 GB, free: 2.578 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002456/0.4834, allocations: 31.94 kB / 0.5014 GB, free: 2.547 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008133/0.4842, allocations: 75.92 kB / 0.5015 GB, free: 2.473 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002586/0.4845, allocations: 100.8 kB / 0.5015 GB, free: 2.375 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-05/0.4846, allocations: 35.98 kB / 0.5016 GB, free: 2.34 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.001508/0.4861, allocations: 0.9753 MB / 0.5025 GB, free: 1.363 MB / 414.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.4861, allocations: 0 / 0.5025 GB, free: 1.363 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.001672/0.4877, allocations: 455.9 kB / 0.503 GB, free: 0.918 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 13
 * Number of states: 7 (aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,mass.s,mass.v)
 * Number of discrete variables: 3 ($whenCondition1,dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled)
 * Number of discrete states: 2 (dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (104):
 * Single equations (assignments): 97
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 2
 * If-equations: 0
 * Equation systems (not torn): 1
 * Torn equation systems: 4
 * 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): 4 systems
   {(2,12,100.0%), (1,6,100.0%), (1,3,100.0%), (2,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.001769/0.4895, allocations: 0.495 MB / 0.5035 GB, free: 0.5742 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.003637/0.4931, allocations: 2.031 MB / 0.5054 GB, free: 14.5 MB / 430.1 MB
Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.4932, allocations: 4 kB / 0.5054 GB, free: 14.49 MB / 430.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.002359/0.4955, allocations: 1.388 MB / 0.5068 GB, free: 13.05 MB / 430.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001934/0.4974, allocations: 418.7 kB / 0.5072 GB, free: 12.66 MB / 430.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007077/0.5045, allocations: 4.315 MB / 0.5114 GB, free: 8.273 MB / 430.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001526/0.5061, allocations: 1.706 MB / 0.5131 GB, free: 6.535 MB / 430.1 MB
Notification: Performance of simCode: alias equations: time 0.001003/0.5071, allocations: 325 kB / 0.5134 GB, free: 6.211 MB / 430.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003207/0.5074, allocations: 111.4 kB / 0.5135 GB, free: 6.102 MB / 430.1 MB
Notification: Performance of SimCode: time 1.012e-06/0.5074, allocations: 0 / 0.5135 GB, free: 6.102 MB / 430.1 MB
Notification: Performance of Templates: time 0.2865/0.7938, allocations: 26.18 MB / 0.5391 GB, free: 108.5 MB / 446.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660]
""
[Timeout remaining time 658]
Reference file matches
[Calling sys.exit(0), Time elapsed: 9.50182299502194]