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.001882/0.001882, allocations: 86.09 kB / 20.68 MB, free: 1.035 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.001599/0.001599, allocations: 157.1 kB / 23.95 MB, free: 4.168 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.504/1.504, allocations: 177 MB / 204.1 MB, free: 9.168 MB / 190.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 1.864e-06/1.864e-06, allocations: 0 / 325 MB, free: 488 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.876e-05/4.063e-05, allocations: 6.281 kB / 325 MB, free: 480 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.0119/0.01194, allocations: 8.463 MB / 333.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00796/0.0199, allocations: 3.45 MB / 336.9 MB, free: 8.027 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002181/0.02208, allocations: 63.59 kB / 337 MB, free: 8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002902/0.02499, allocations: 0.7212 MB / 337.7 MB, free: 7.488 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003919/0.0289, allocations: 0.9161 MB / 338.6 MB, free: 6.742 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001769/0.03067, allocations: 468.7 kB / 339.1 MB, free: 6.352 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00461/0.03528, allocations: 2.51 MB / 341.6 MB, free: 4.434 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002189/0.03747, allocations: 1.01 MB / 342.6 MB, free: 3.387 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003766/0.04124, allocations: 1.633 MB / 344.3 MB, free: 1.746 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003072/0.04431, allocations: 1.212 MB / 345.5 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008697/0.04518, allocations: 276 kB / 345.7 MB, free: 268 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001637/0.04682, allocations: 427.7 kB / 346.2 MB, free: 15.84 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001224/0.04804, allocations: 0.8296 MB / 347 MB, free: 15.01 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002221/0.05026, allocations: 0.8769 MB / 347.9 MB, free: 14.13 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005283/0.05555, allocations: 3.797 MB / 351.7 MB, free: 10.32 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.05555, allocations: 0 / 351.7 MB, free: 10.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.05555, allocations: 0 / 351.7 MB, free: 10.32 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001243/0.05568, allocations: 0 / 351.7 MB, free: 10.32 MB / 318.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.006342/0.06202, allocations: 2.651 MB / 354.3 MB, free: 7.629 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.06206, allocations: 11.98 kB / 354.3 MB, free: 7.617 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009648/0.06302, allocations: 295.3 kB / 354.6 MB, free: 7.328 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002788/0.06581, allocations: 1.322 MB / 355.9 MB, free: 5.961 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001417/0.06595, allocations: 136.1 kB / 356.1 MB, free: 5.828 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003613/0.06631, allocations: 207.9 kB / 356.3 MB, free: 5.625 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004601/0.07091, allocations: 2.536 MB / 358.8 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.664e-05/0.07097, allocations: 7.891 kB / 358.8 MB, free: 3.023 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000214/0.07118, allocations: 80 kB / 358.9 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001241/0.07131, allocations: 91.67 kB / 359 MB, free: 2.855 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003742/0.07505, allocations: 1.982 MB / 361 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0123/0.08735, allocations: 6.339 MB / 367.3 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002085/0.08944, allocations: 1.065 MB / 368.4 MB, free: 9.281 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001709/0.09114, allocations: 0.8148 MB / 369.2 MB, free: 8.457 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002278/0.09137, allocations: 44.95 kB / 369.2 MB, free: 8.414 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001325/0.0927, allocations: 0.7909 MB / 370 MB, free: 7.57 MB / 334.1 MB Notification: Performance of pre-optimization done (n=99): time 3.126e-06/0.0927, allocations: 0 / 370 MB, free: 7.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=121): time 0.01801/0.1107, allocations: 6.811 MB / 376.8 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000138/0.1108, allocations: 175.2 kB / 377 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00232/0.1132, allocations: 1.29 MB / 378.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001485/0.1133, allocations: 45.7 kB / 378.3 MB, free: 15.15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001089/0.1144, allocations: 0.9653 MB / 379.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000508/0.1149, allocations: 448.2 kB / 379.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004989/0.1154, allocations: 243.5 kB / 380 MB, free: 13.49 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002067/0.1156, allocations: 357.9 kB / 380.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001165/0.1168, allocations: 0.6403 MB / 381 MB, free: 12.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00156/0.1183, allocations: 1.106 MB / 382.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0028/0.1211, allocations: 1.707 MB / 383.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.1212, allocations: 4 kB / 383.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004444/0.1256, allocations: 2.246 MB / 386 MB, free: 7.113 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/0.1256, allocations: 8 kB / 386 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.257e-05/0.1256, allocations: 15.88 kB / 386 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001302/0.127, allocations: 0.4884 MB / 386.5 MB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/0.1281, allocations: 287.6 kB / 386.8 MB, free: 6.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007976/0.1361, allocations: 6.754 MB / 393.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/0.1374, allocations: 95.8 kB / 393.7 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/0.1375, allocations: 56 kB / 393.7 MB, free: 15.1 MB / 366.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.001219/0.1388, allocations: 0.6405 MB / 394.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002896/0.1391, allocations: 147.1 kB / 394.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004104/0.1432, allocations: 2.07 MB / 396.6 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/0.1432, allocations: 12 kB / 396.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.1432, allocations: 7.938 kB / 396.6 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.511e-05/0.1432, allocations: 7.984 kB / 396.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007442/0.1506, allocations: 3.877 MB / 400.5 MB, free: 8.215 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/0.1506, allocations: 4 kB / 400.5 MB, free: 8.211 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008612/0.1515, allocations: 191.8 kB / 400.7 MB, free: 8.023 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001517/0.153, allocations: 0.5311 MB / 401.2 MB, free: 7.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.399e-05/0.1531, allocations: 35.98 kB / 401.2 MB, free: 7.445 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009282/0.1624, allocations: 8.175 MB / 409.4 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.1624, allocations: 7.938 kB / 409.4 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005446/0.1678, allocations: 3.009 MB / 412.4 MB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008997/0.1687, allocations: 286.8 kB / 412.7 MB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003849/0.1691, allocations: 28 kB / 412.7 MB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/0.1701, allocations: 71.92 kB / 412.8 MB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003174/0.1705, allocations: 104.7 kB / 412.9 MB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/0.1706, allocations: 35.98 kB / 412.9 MB, free: 11.26 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001727/0.1723, allocations: 0.874 MB / 413.8 MB, free: 10.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1723, allocations: 0 / 413.8 MB, free: 10.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001856/0.1742, allocations: 451.9 kB / 414.3 MB, free: 9.941 MB / 382.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 (105): * Single equations (assignments): 98 * 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.002048/0.1762, allocations: 0.5101 MB / 414.8 MB, free: 9.578 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004068/0.1803, allocations: 2.042 MB / 416.8 MB, free: 7.492 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.1803, allocations: 3.938 kB / 416.8 MB, free: 7.488 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002594/0.1829, allocations: 1.396 MB / 418.2 MB, free: 6.039 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00225/0.1851, allocations: 347.6 kB / 418.5 MB, free: 5.703 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008134/0.1933, allocations: 4.099 MB / 422.6 MB, free: 1.531 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001563/0.1948, allocations: 1.137 MB / 423.8 MB, free: 368 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001079/0.1959, allocations: 307.8 kB / 424.1 MB, free: 56 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003496/0.1962, allocations: 104.5 kB / 424.2 MB, free: 15.95 MB / 398.1 MB Notification: Performance of SimCode: time 1.002e-06/0.1962, allocations: 0 / 424.2 MB, free: 15.95 MB / 398.1 MB Notification: Performance of Templates: time 0.04384/0.2401, allocations: 23.57 MB / 447.8 MB, free: 8.668 MB / 414.1 MB " [Timeout remaining time 660] 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.58321438729763]