Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.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.001662/0.001662, 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.001757/0.001757, 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 trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.51/1.51, 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_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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002685/0.002685, allocations: 55.91 kB / 378.8 MB, free: 2.754 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2855, allocations: 53.37 MB / 432.1 MB, free: 7.043 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01261/0.2981, allocations: 9.618 MB / 441.8 MB, free: 13.39 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.008239/0.3064, allocations: 3.661 MB / 445.4 MB, free: 9.723 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001827/0.3082, allocations: 63.56 kB / 445.5 MB, free: 9.66 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.002887/0.3111, allocations: 0.773 MB / 446.2 MB, free: 8.883 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.004123/0.3152, allocations: 0.8857 MB / 447.1 MB, free: 7.992 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001629/0.3168, allocations: 459.1 kB / 447.6 MB, free: 7.543 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.004157/0.321, allocations: 2.432 MB / 450 MB, free: 5.098 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.001808/0.3228, allocations: 1.049 MB / 451.1 MB, free: 4.004 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.002082/0.3249, allocations: 1.137 MB / 452.2 MB, free: 2.863 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.002535/0.3274, allocations: 1.436 MB / 453.6 MB, free: 1.422 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0005382/0.3279, allocations: 280 kB / 453.9 MB, free: 1.148 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001091/0.329, allocations: 427.8 kB / 454.3 MB, free: 0.7305 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.000931/0.33, allocations: 0.8181 MB / 455.1 MB, free: 15.91 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.00167/0.3316, allocations: 1.279 MB / 456.4 MB, free: 14.62 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.005035/0.3367, allocations: 3.762 MB / 460.2 MB, free: 10.85 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.3367, allocations: 0 / 460.2 MB, free: 10.85 MB / 366.1 MB
Notification: Performance of FrontEnd: time 1.673e-06/0.3367, allocations: 7.938 kB / 460.2 MB, free: 10.84 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 0.0001135/0.3368, allocations: 4 kB / 460.2 MB, free: 10.84 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: 490
 * Number of variables: 490
Notification: Performance of Generate backend data structure: time 0.007268/0.3441, allocations: 2.667 MB / 462.9 MB, free: 8.133 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.3441, allocations: 12.03 kB / 462.9 MB, free: 8.121 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009561/0.3451, allocations: 295.2 kB / 463.2 MB, free: 7.832 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.003047/0.3481, allocations: 1.318 MB / 464.5 MB, free: 6.473 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001347/0.3483, allocations: 147.6 kB / 464.6 MB, free: 6.328 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003861/0.3486, allocations: 195.9 kB / 464.8 MB, free: 6.137 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.004789/0.3534, allocations: 2.436 MB / 467.3 MB, free: 3.668 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 6.386e-05/0.3535, allocations: 15.89 kB / 467.3 MB, free: 3.652 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002064/0.3537, allocations: 72 kB / 467.3 MB, free: 3.582 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000144/0.3538, allocations: 95.67 kB / 467.4 MB, free: 3.488 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004111/0.358, allocations: 1.986 MB / 469.4 MB, free: 1.5 MB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01372/0.3717, allocations: 7.199 MB / 476.6 MB, free: 10.11 MB / 382.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001976/0.3736, allocations: 1.057 MB / 477.7 MB, free: 9.039 MB / 382.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001656/0.3753, allocations: 0.8194 MB / 478.5 MB, free: 8.219 MB / 382.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002064/0.3755, allocations: 40.97 kB / 478.5 MB, free: 8.18 MB / 382.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001191/0.3767, allocations: 0.6788 MB / 479.2 MB, free: 7.469 MB / 382.1 MB
Notification: Performance of pre-optimization done (n=99): time 3.216e-06/0.3767, allocations: 4 kB / 479.2 MB, free: 7.465 MB / 382.1 MB
Notification: Performance of matching and sorting (n=121): time 0.01747/0.3942, allocations: 6.848 MB / 486.1 MB, free: 0.5703 MB / 382.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.3943, allocations: 171.2 kB / 486.2 MB, free: 372 kB / 382.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002271/0.3966, allocations: 1.431 MB / 487.7 MB, free: 14.91 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0001333/0.3967, allocations: 49.7 kB / 487.7 MB, free: 14.86 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0009238/0.3976, allocations: 0.9662 MB / 488.7 MB, free: 13.88 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0004261/0.398, allocations: 436.2 kB / 489.1 MB, free: 13.45 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004246/0.3985, allocations: 247.5 kB / 489.3 MB, free: 13.2 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001874/0.3987, allocations: 361.9 kB / 489.7 MB, free: 12.84 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001128/0.3998, allocations: 0.6325 MB / 490.3 MB, free: 12.21 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001415/0.4012, allocations: 1.005 MB / 491.3 MB, free: 11.06 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.002617/0.4038, allocations: 1.711 MB / 493 MB, free: 9.219 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.856e-06/0.4038, allocations: 4 kB / 493.1 MB, free: 9.215 MB / 398.1 MB
Notification: Performance of matching and sorting (n=173) (initialization): time 0.004357/0.4082, allocations: 2.261 MB / 495.3 MB, free: 6.93 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.781e-05/0.4082, allocations: 12 kB / 495.3 MB, free: 6.918 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.4082, allocations: 8 kB / 495.3 MB, free: 6.91 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001279/0.4095, allocations: 496.1 kB / 495.8 MB, free: 6.41 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/0.4107, allocations: 299.5 kB / 496.1 MB, free: 6.117 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007979/0.4187, allocations: 6.873 MB / 0.4912 GB, free: 14.91 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001955/0.4206, allocations: 99.86 kB / 0.4913 GB, free: 14.81 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001543/0.4208, allocations: 59.92 kB / 0.4913 GB, free: 14.75 MB / 414.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.001643/0.4224, allocations: 0.6401 MB / 0.492 GB, free: 14.11 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004686/0.4229, allocations: 163 kB / 0.4921 GB, free: 13.95 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004064/0.4269, allocations: 2.068 MB / 0.4941 GB, free: 11.84 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.398e-05/0.427, allocations: 16 kB / 0.4942 GB, free: 11.83 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.427, allocations: 4 kB / 0.4942 GB, free: 11.82 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.626e-05/0.427, allocations: 7.969 kB / 0.4942 GB, free: 11.82 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009335/0.4363, allocations: 4.331 MB / 0.4984 GB, free: 7.379 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/0.4363, allocations: 7.938 kB / 0.4984 GB, free: 7.371 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009226/0.4373, allocations: 195.7 kB / 0.4986 GB, free: 7.18 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.001571/0.4388, allocations: 0.5352 MB / 0.4991 GB, free: 6.629 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001226/0.439, allocations: 35.97 kB / 0.4992 GB, free: 6.594 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0102/0.4492, allocations: 8.324 MB / 0.5073 GB, free: 13.81 MB / 430.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.4492, allocations: 4.031 kB / 0.5073 GB, free: 13.81 MB / 430.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005644/0.4548, allocations: 3.009 MB / 0.5102 GB, free: 10.73 MB / 430.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0008875/0.4557, allocations: 306.8 kB / 0.5105 GB, free: 10.43 MB / 430.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002671/0.456, allocations: 31.98 kB / 0.5105 GB, free: 10.4 MB / 430.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008589/0.4568, allocations: 67.94 kB / 0.5106 GB, free: 10.33 MB / 430.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002987/0.4571, allocations: 100.8 kB / 0.5107 GB, free: 10.23 MB / 430.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-05/0.4572, allocations: 39.98 kB / 0.5107 GB, free: 10.2 MB / 430.1 MB
Notification: Performance of sorting global known variables: time 0.001767/0.459, allocations: 0.9873 MB / 0.5117 GB, free: 9.207 MB / 430.1 MB
Notification: Performance of sort global known variables: time 1.61e-07/0.459, allocations: 4 kB / 0.5117 GB, free: 9.203 MB / 430.1 MB
Notification: Performance of remove unused functions: time 0.002023/0.461, allocations: 451.9 kB / 0.5121 GB, free: 8.762 MB / 430.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.001906/0.4629, allocations: 499.9 kB / 0.5126 GB, free: 8.406 MB / 430.1 MB
Notification: Performance of simCode: created initialization part: time 0.004143/0.467, allocations: 2.03 MB / 0.5146 GB, free: 6.332 MB / 430.1 MB
Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.4671, allocations: 0.6875 kB / 0.5146 GB, free: 6.332 MB / 430.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.002631/0.4697, allocations: 1.403 MB / 0.516 GB, free: 4.875 MB / 430.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002217/0.4719, allocations: 430.7 kB / 0.5164 GB, free: 4.473 MB / 430.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007392/0.4793, allocations: 4.323 MB / 0.5206 GB, free: 76 kB / 430.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001649/0.4809, allocations: 1.706 MB / 0.5223 GB, free: 14.34 MB / 446.1 MB
Notification: Performance of simCode: alias equations: time 0.00106/0.482, allocations: 321 kB / 0.5226 GB, free: 14.02 MB / 446.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003325/0.4823, allocations: 107.4 kB / 0.5227 GB, free: 13.91 MB / 446.1 MB
Notification: Performance of SimCode: time 8.71e-07/0.4823, allocations: 0 / 0.5227 GB, free: 13.91 MB / 446.1 MB
Notification: Performance of Templates: time 0.2581/0.7404, allocations: 26.31 MB / 0.5484 GB, free: 96.71 MB / 446.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.50124640762806]