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.001433/0.001433, allocations: 121 kB / 19.18 MB, free: 3.949 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.001752/0.001752, allocations: 214.5 kB / 22.13 MB, free: 1 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.478/1.478, allocations: 230.2 MB / 255.2 MB, free: 15.38 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.00185/0.00185, allocations: 63.91 kB / 374.5 MB, free: 9.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09659/0.09844, allocations: 53.31 MB / 427.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.0122/0.1106, allocations: 9.557 MB / 437.4 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007168/0.1178, allocations: 3.649 MB / 441.1 MB, free: 7.223 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001398/0.1192, allocations: 51.75 kB / 441.1 MB, free: 7.172 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002178/0.1214, allocations: 0.7652 MB / 441.9 MB, free: 6.402 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003116/0.1245, allocations: 0.8857 MB / 442.8 MB, free: 5.512 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001411/0.1259, allocations: 459 kB / 443.2 MB, free: 5.062 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003585/0.1295, allocations: 2.42 MB / 445.6 MB, free: 2.633 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001885/0.1314, allocations: 1.298 MB / 446.9 MB, free: 1.285 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001854/0.1332, allocations: 1.113 MB / 448 MB, free: 172 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2079/0.3412, allocations: 1.42 MB / 449.5 MB, free: 11.33 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008312/0.342, allocations: 279.1 kB / 449.7 MB, free: 11.33 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001336/0.3433, allocations: 425.4 kB / 450.2 MB, free: 11.33 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009132/0.3442, allocations: 0.8111 MB / 451 MB, free: 11.29 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001838/0.3461, allocations: 1.284 MB / 452.3 MB, free: 10.95 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006653/0.3527, allocations: 3.759 MB / 456 MB, free: 10.47 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/0.3527, allocations: 1.203 kB / 456 MB, free: 10.47 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3527, allocations: 3.531 kB / 456 MB, free: 10.47 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001436/0.3529, allocations: 0 / 456 MB, free: 10.47 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.008444/0.3613, allocations: 2.748 MB / 458.8 MB, free: 9.238 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.764e-05/0.3614, allocations: 9.891 kB / 458.8 MB, free: 9.238 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001355/0.3627, allocations: 292.9 kB / 459.1 MB, free: 9.102 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003299/0.366, allocations: 1.397 MB / 460.5 MB, free: 8.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001367/0.3662, allocations: 145.1 kB / 460.6 MB, free: 8.648 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004041/0.3666, allocations: 196.9 kB / 460.8 MB, free: 8.645 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004781/0.3714, allocations: 2.443 MB / 463.2 MB, free: 7.703 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.96e-05/0.3714, allocations: 6.891 kB / 463.2 MB, free: 7.699 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001893/0.3716, allocations: 79.94 kB / 463.3 MB, free: 7.641 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001147/0.3717, allocations: 94.55 kB / 463.4 MB, free: 7.633 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003638/0.3754, allocations: 1.984 MB / 465.4 MB, free: 6.934 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01258/0.3879, allocations: 7.332 MB / 472.7 MB, free: 3.035 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001791/0.3897, allocations: 1.282 MB / 474 MB, free: 2.227 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001446/0.3912, allocations: 0.826 MB / 474.8 MB, free: 1.828 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002221/0.3914, allocations: 125.4 kB / 475 MB, free: 1.719 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009798/0.3924, allocations: 0.679 MB / 475.6 MB, free: 1.293 MB / 366.1 MB Notification: Performance of pre-optimization done (n=99): time 3.005e-06/0.3924, allocations: 1.219 kB / 475.6 MB, free: 1.293 MB / 366.1 MB Notification: Performance of matching and sorting (n=121): time 0.0174/0.4098, allocations: 7.342 MB / 483 MB, free: 13.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/0.4099, allocations: 180.8 kB / 483.2 MB, free: 12.89 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002575/0.4125, allocations: 1.43 MB / 484.6 MB, free: 12.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003108/0.4128, allocations: 47.2 kB / 484.6 MB, free: 12.08 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001095/0.4139, allocations: 0.9623 MB / 485.6 MB, free: 11.24 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005727/0.4145, allocations: 443.2 kB / 486 MB, free: 10.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004345/0.4149, allocations: 252.3 kB / 486.3 MB, free: 10.72 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.4151, allocations: 356.8 kB / 486.6 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00109/0.4162, allocations: 0.6426 MB / 487.3 MB, free: 10.06 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001365/0.4175, allocations: 0.9973 MB / 488.3 MB, free: 9.297 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002299/0.4198, allocations: 1.712 MB / 490 MB, free: 8.219 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.4198, allocations: 3.406 kB / 490 MB, free: 8.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004172/0.424, allocations: 2.343 MB / 492.3 MB, free: 7.008 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/0.424, allocations: 9.25 kB / 492.3 MB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.92e-05/0.4241, allocations: 12.22 kB / 492.3 MB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001258/0.4253, allocations: 498.1 kB / 492.8 MB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/0.4265, allocations: 296.6 kB / 493.1 MB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008247/0.4348, allocations: 7.2 MB / 0.4886 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001648/0.4364, allocations: 91.97 kB / 0.4887 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001951/0.4366, allocations: 59.98 kB / 0.4887 GB, free: 14.74 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.001404/0.438, allocations: 0.6307 MB / 0.4893 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004296/0.4385, allocations: 162.9 kB / 0.4895 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004271/0.4427, allocations: 2.144 MB / 0.4916 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.692e-05/0.4428, allocations: 15.98 kB / 0.4916 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.4428, allocations: 4 kB / 0.4916 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.57e-05/0.4428, allocations: 7.984 kB / 0.4916 GB, free: 11.76 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008908/0.4517, allocations: 4.445 MB / 0.496 GB, free: 7.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/0.4517, allocations: 8.094 kB / 0.496 GB, free: 7.242 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008633/0.4526, allocations: 191.1 kB / 0.4962 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00161/0.4542, allocations: 0.5373 MB / 0.4967 GB, free: 6.52 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001431/0.4543, allocations: 37.36 kB / 0.4967 GB, free: 6.484 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009686/0.464, allocations: 8.74 MB / 0.5053 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.464, allocations: 8.062 kB / 0.5053 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005723/0.4697, allocations: 3.08 MB / 0.5083 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009787/0.4707, allocations: 375.9 kB / 0.5086 GB, free: 9.711 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002698/0.471, allocations: 35.98 kB / 0.5087 GB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008829/0.4719, allocations: 63.94 kB / 0.5087 GB, free: 9.613 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002642/0.4721, allocations: 103.4 kB / 0.5088 GB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-05/0.4722, allocations: 35.98 kB / 0.5089 GB, free: 9.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001709/0.4739, allocations: 0.9835 MB / 0.5098 GB, free: 8.496 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4739, allocations: 3 kB / 0.5098 GB, free: 8.496 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001992/0.4759, allocations: 455.9 kB / 0.5103 GB, free: 8.051 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.001919/0.4778, allocations: 0.4892 MB / 0.5107 GB, free: 7.742 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004142/0.482, allocations: 2.181 MB / 0.5129 GB, free: 5.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.321e-06/0.482, allocations: 1.875 kB / 0.5129 GB, free: 5.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002634/0.4846, allocations: 1.477 MB / 0.5143 GB, free: 3.992 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002357/0.487, allocations: 433.8 kB / 0.5147 GB, free: 3.578 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007905/0.4949, allocations: 4.341 MB / 0.519 GB, free: 15.18 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001591/0.4965, allocations: 1.694 MB / 0.5206 GB, free: 13.46 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005967/0.4971, allocations: 118.1 kB / 0.5207 GB, free: 13.34 MB / 430.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4971, allocations: 4 kB / 0.5207 GB, free: 13.34 MB / 430.1 MB Notification: Performance of Templates: time 0.08736/0.5844, allocations: 74.01 MB / 0.593 GB, free: 3.344 MB / 494.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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 16.34070329507813]