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.0008176/0.0008176, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003607/0.003607, allocations: 159.5 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.8769/0.8769, allocations: 177 MB / 204.9 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.673e-06/1.673e-06, allocations: 0 / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.145e-05/2.312e-05, allocations: 3.406 kB / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.00675/0.006773, allocations: 8.468 MB / 334.3 MB, free: 6.871 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004331/0.0111, allocations: 3.438 MB / 337.7 MB, free: 3.418 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005134/0.01162, allocations: 67.56 kB / 337.8 MB, free: 3.352 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001105/0.01272, allocations: 0.7221 MB / 338.5 MB, free: 2.625 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001273/0.014, allocations: 0.9199 MB / 339.4 MB, free: 1.699 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006191/0.01461, allocations: 462.8 kB / 339.9 MB, free: 1.246 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001562/0.01618, allocations: 2.516 MB / 342.4 MB, free: 14.71 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008756/0.01705, allocations: 1.013 MB / 343.4 MB, free: 13.66 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001239/0.01829, allocations: 1.625 MB / 345 MB, free: 12.03 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001068/0.01936, allocations: 1.212 MB / 346.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002301/0.01959, allocations: 280 kB / 346.5 MB, free: 10.54 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004494/0.02004, allocations: 427.6 kB / 346.9 MB, free: 10.12 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004862/0.02052, allocations: 0.8257 MB / 347.7 MB, free: 9.297 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006271/0.02115, allocations: 0.8769 MB / 348.6 MB, free: 8.418 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002447/0.0236, allocations: 3.797 MB / 352.4 MB, free: 4.609 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.0236, allocations: 0 / 352.4 MB, free: 4.609 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.0236, allocations: 0 / 352.4 MB, free: 4.609 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.924e-05/0.02363, allocations: 0 / 352.4 MB, free: 4.609 MB / 314.7 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.00288/0.02651, allocations: 2.651 MB / 355.1 MB, free: 1.914 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.02655, allocations: 15.98 kB / 355.1 MB, free: 1.898 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004528/0.027, allocations: 291.3 kB / 355.4 MB, free: 1.613 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001394/0.02839, allocations: 1.318 MB / 356.7 MB, free: 256 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.443e-05/0.02847, allocations: 144.1 kB / 356.8 MB, free: 112 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001992/0.02867, allocations: 195.9 kB / 357 MB, free: 15.91 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002453/0.03112, allocations: 2.54 MB / 359.6 MB, free: 13.32 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.069e-05/0.03116, allocations: 19.83 kB / 359.6 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/0.03128, allocations: 79.98 kB / 359.7 MB, free: 13.22 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.227e-05/0.03135, allocations: 95.67 kB / 359.8 MB, free: 13.13 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002068/0.03342, allocations: 1.974 MB / 361.7 MB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006097/0.03952, allocations: 6.327 MB / 368.1 MB, free: 4.652 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/0.04064, allocations: 1.065 MB / 369.1 MB, free: 3.578 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008976/0.04154, allocations: 0.8187 MB / 369.9 MB, free: 2.75 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001537/0.04169, allocations: 44.97 kB / 370 MB, free: 2.707 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000705/0.0424, allocations: 0.787 MB / 370.8 MB, free: 1.867 MB / 330.7 MB Notification: Performance of pre-optimization done (n=99): time 2.164e-06/0.0424, allocations: 0 / 370.8 MB, free: 1.867 MB / 330.7 MB Notification: Performance of matching and sorting (n=121): time 0.008743/0.05114, allocations: 6.819 MB / 377.6 MB, free: 11 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.245e-05/0.05121, allocations: 171.2 kB / 377.8 MB, free: 10.79 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/0.05238, allocations: 1.282 MB / 379 MB, free: 9.5 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.793e-05/0.05244, allocations: 49.7 kB / 379.1 MB, free: 9.445 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005814/0.05302, allocations: 0.973 MB / 380.1 MB, free: 8.461 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002324/0.05325, allocations: 444.2 kB / 380.5 MB, free: 8.023 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002433/0.05349, allocations: 243.5 kB / 380.7 MB, free: 7.781 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.0536, allocations: 357.9 kB / 381.1 MB, free: 7.426 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006455/0.05425, allocations: 0.6364 MB / 381.7 MB, free: 6.789 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008425/0.05509, allocations: 1.11 MB / 382.8 MB, free: 5.512 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00148/0.05657, allocations: 1.711 MB / 384.5 MB, free: 3.672 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.05657, allocations: 4 kB / 384.5 MB, free: 3.668 MB / 346.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002337/0.05891, allocations: 2.242 MB / 386.8 MB, free: 1.402 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.05894, allocations: 16 kB / 386.8 MB, free: 1.387 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/0.05895, allocations: 15.92 kB / 386.8 MB, free: 1.371 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007392/0.05969, allocations: 495.9 kB / 387.3 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006114/0.0603, allocations: 295.5 kB / 387.6 MB, free: 0.582 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004408/0.06471, allocations: 6.75 MB / 394.3 MB, free: 9.531 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005718/0.06528, allocations: 91.88 kB / 394.4 MB, free: 9.441 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.405e-05/0.06535, allocations: 55.98 kB / 394.5 MB, free: 9.387 MB / 362.7 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.0008187/0.06617, allocations: 0.634 MB / 395.1 MB, free: 8.742 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/0.06633, allocations: 147.1 kB / 395.3 MB, free: 8.598 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002192/0.06852, allocations: 2.074 MB / 397.3 MB, free: 6.496 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.06853, allocations: 12 kB / 397.3 MB, free: 6.484 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.06853, allocations: 8 kB / 397.3 MB, free: 6.477 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.06854, allocations: 11.95 kB / 397.4 MB, free: 6.465 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004042/0.07259, allocations: 3.881 MB / 401.2 MB, free: 2.496 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.07259, allocations: 3.938 kB / 401.2 MB, free: 2.492 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004026/0.07299, allocations: 195.8 kB / 401.4 MB, free: 2.301 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007452/0.07374, allocations: 0.5272 MB / 402 MB, free: 1.758 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.794e-05/0.07379, allocations: 31.98 kB / 402 MB, free: 1.727 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004723/0.07852, allocations: 8.178 MB / 410.2 MB, free: 9.145 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.07852, allocations: 7.938 kB / 410.2 MB, free: 9.137 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002818/0.08134, allocations: 2.997 MB / 413.2 MB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003918/0.08173, allocations: 282.9 kB / 413.5 MB, free: 5.793 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.08184, allocations: 35.98 kB / 413.5 MB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003725/0.08221, allocations: 67.92 kB / 413.6 MB, free: 5.691 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/0.08236, allocations: 108.7 kB / 413.7 MB, free: 5.586 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-05/0.08241, allocations: 39.98 kB / 413.7 MB, free: 5.547 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007589/0.08317, allocations: 0.8623 MB / 414.6 MB, free: 4.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.08317, allocations: 0 / 414.6 MB, free: 4.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001042/0.08422, allocations: 451.9 kB / 415 MB, free: 4.238 MB / 378.7 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.0008591/0.08507, allocations: 0.5169 MB / 415.5 MB, free: 3.867 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002011/0.08709, allocations: 2.042 MB / 417.6 MB, free: 1.781 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.08709, allocations: 0 / 417.6 MB, free: 1.781 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001194/0.08828, allocations: 1.396 MB / 419 MB, free: 340 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009158/0.0892, allocations: 364.2 kB / 419.3 MB, free: 15.98 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004276/0.09347, allocations: 4.148 MB / 423.5 MB, free: 11.75 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008104/0.09428, allocations: 1.118 MB / 424.6 MB, free: 10.6 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002319/0.09452, allocations: 104.5 kB / 424.7 MB, free: 10.5 MB / 394.7 MB Notification: Performance of SimCode: time 5.71e-07/0.09452, allocations: 0 / 424.7 MB, free: 10.5 MB / 394.7 MB Notification: Performance of Templates: time 0.1867/0.2813, allocations: 73.69 MB / 498.4 MB, free: 76.38 MB / 410.7 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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 11.411987826228142]