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.002338/0.002338, allocations: 91.92 kB / 20.96 MB, free: 3.445 MB / 18.57 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.002447/0.002447, allocations: 149.1 kB / 24.26 MB, free: 152 kB / 18.57 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.601/1.601, allocations: 173.4 MB / 200.8 MB, free: 9.309 MB / 186.7 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 2.014e-06/2.014e-06, allocations: 0 / 267.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.6e-05/3.801e-05, allocations: 6.25 kB / 267.3 MB, free: 6.703 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01403/0.01406, allocations: 9.346 MB / 276.7 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008018/0.02208, allocations: 3.385 MB / 280.1 MB, free: 9.922 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001849/0.02393, allocations: 59.62 kB / 280.1 MB, free: 9.863 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00259/0.02652, allocations: 0.7221 MB / 280.8 MB, free: 9.137 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00365/0.03017, allocations: 0.8811 MB / 281.7 MB, free: 8.25 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001684/0.03186, allocations: 486.8 kB / 282.2 MB, free: 7.773 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004362/0.03622, allocations: 2.489 MB / 284.7 MB, free: 5.27 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001883/0.0381, allocations: 1.025 MB / 285.7 MB, free: 4.199 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0037/0.0418, allocations: 1.633 MB / 287.4 MB, free: 2.562 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003682/0.04548, allocations: 1.298 MB / 288.7 MB, free: 1.262 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006769/0.04616, allocations: 276 kB / 288.9 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001217/0.04738, allocations: 411.7 kB / 289.3 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1552/0.2025, allocations: 0.8429 MB / 290.2 MB, free: 18.67 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003309/0.2059, allocations: 0.8824 MB / 291 MB, free: 18.67 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008841/0.2147, allocations: 3.8 MB / 294.8 MB, free: 18.51 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.2147, allocations: 4.781 kB / 294.9 MB, free: 18.51 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.2147, allocations: 2.844 kB / 294.9 MB, free: 18.51 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001532/0.2149, allocations: 0 / 294.9 MB, free: 18.51 MB / 266.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.01249/0.2274, allocations: 3.005 MB / 297.9 MB, free: 17.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.131e-05/0.2274, allocations: 13.2 kB / 297.9 MB, free: 17.29 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002024/0.2294, allocations: 433.6 kB / 298.3 MB, free: 17.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004343/0.2338, allocations: 1.309 MB / 299.6 MB, free: 16.77 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000176/0.234, allocations: 137.8 kB / 299.7 MB, free: 16.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005413/0.2345, allocations: 192.1 kB / 299.9 MB, free: 16.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006336/0.2408, allocations: 2.334 MB / 302.3 MB, free: 15.94 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.949e-05/0.2409, allocations: 9.422 kB / 302.3 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002517/0.2412, allocations: 80.16 kB / 302.4 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001392/0.2413, allocations: 95.14 kB / 302.4 MB, free: 15.87 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002957/0.2443, allocations: 1.476 MB / 303.9 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01204/0.2563, allocations: 8.522 MB / 312.4 MB, free: 9.895 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001249/0.2575, allocations: 0.7673 MB / 313.2 MB, free: 9.512 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001105/0.2586, allocations: 0.5934 MB / 313.8 MB, free: 9.262 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002176/0.2589, allocations: 53.06 kB / 313.9 MB, free: 9.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008681/0.2597, allocations: 0.6504 MB / 314.5 MB, free: 8.762 MB / 266.7 MB Notification: Performance of pre-optimization done (n=99): time 2.475e-06/0.2597, allocations: 0 / 314.5 MB, free: 8.762 MB / 266.7 MB Notification: Performance of matching and sorting (n=121): time 0.01023/0.27, allocations: 4.409 MB / 318.9 MB, free: 4.551 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.328e-05/0.27, allocations: 178.7 kB / 319.1 MB, free: 4.344 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001602/0.2716, allocations: 1.457 MB / 320.5 MB, free: 2.875 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.28e-05/0.2717, allocations: 45.7 kB / 320.6 MB, free: 2.824 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006384/0.2724, allocations: 1.085 MB / 321.7 MB, free: 1.73 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002729/0.2726, allocations: 474.6 kB / 322.1 MB, free: 1.273 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003768/0.273, allocations: 301.2 kB / 322.4 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.2731, allocations: 0.5823 MB / 323 MB, free: 388 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005727/0.2737, allocations: 347.8 kB / 323.4 MB, free: 40 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00144/0.2752, allocations: 0.9822 MB / 324.3 MB, free: 14.84 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002214/0.2774, allocations: 1.318 MB / 325.7 MB, free: 13.39 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/0.2774, allocations: 4 kB / 325.7 MB, free: 13.38 MB / 282.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003852/0.2812, allocations: 1.575 MB / 327.2 MB, free: 11.85 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.879e-05/0.2813, allocations: 12 kB / 327.2 MB, free: 11.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/0.2813, allocations: 11.56 kB / 327.3 MB, free: 11.83 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00121/0.2825, allocations: 321 kB / 327.6 MB, free: 11.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/0.2836, allocations: 293.2 kB / 327.9 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007754/0.2914, allocations: 7.005 MB / 334.9 MB, free: 3.914 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001638/0.293, allocations: 87.91 kB / 334.9 MB, free: 3.828 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/0.2932, allocations: 58.25 kB / 335 MB, free: 3.773 MB / 282.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.001317/0.2945, allocations: 0.5256 MB / 335.5 MB, free: 3.254 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004989/0.295, allocations: 190 kB / 335.7 MB, free: 3.07 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003367/0.2984, allocations: 1.347 MB / 337.1 MB, free: 1.711 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/0.2984, allocations: 12 kB / 337.1 MB, free: 1.699 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/0.2984, allocations: 4 kB / 337.1 MB, free: 1.695 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.676e-05/0.2984, allocations: 11.97 kB / 337.1 MB, free: 1.684 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008156/0.3066, allocations: 3.647 MB / 340.7 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/0.3066, allocations: 4 kB / 340.7 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008416/0.3074, allocations: 191.5 kB / 340.9 MB, free: 13.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001539/0.3089, allocations: 370.8 kB / 341.3 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000104/0.3091, allocations: 39.97 kB / 341.3 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009097/0.3181, allocations: 8.726 MB / 350.1 MB, free: 4.23 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.523e-06/0.3182, allocations: 7.656 kB / 350.1 MB, free: 4.227 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004491/0.3226, allocations: 1.996 MB / 352.1 MB, free: 2.164 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001016/0.3237, allocations: 266.9 kB / 352.3 MB, free: 1.902 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002343/0.3239, allocations: 31.98 kB / 352.3 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007879/0.3247, allocations: 71.94 kB / 352.4 MB, free: 1.801 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002692/0.325, allocations: 103 kB / 352.5 MB, free: 1.699 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.016e-05/0.325, allocations: 38.84 kB / 352.6 MB, free: 1.664 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001471/0.3265, allocations: 0.8658 MB / 353.4 MB, free: 0.793 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3265, allocations: 0 / 353.4 MB, free: 0.793 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001813/0.3283, allocations: 451.9 kB / 353.9 MB, free: 360 kB / 298.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.003146/0.3315, allocations: 0.5162 MB / 354.4 MB, free: 52 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003694/0.3352, allocations: 1.758 MB / 356.1 MB, free: 14.27 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.3352, allocations: 4 kB / 356.1 MB, free: 14.27 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002467/0.3376, allocations: 1.425 MB / 357.6 MB, free: 12.79 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002026/0.3397, allocations: 370.9 kB / 357.9 MB, free: 12.43 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007332/0.347, allocations: 3.743 MB / 361.7 MB, free: 8.609 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001406/0.3484, allocations: 1.059 MB / 362.7 MB, free: 7.516 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000975/0.3494, allocations: 251.8 kB / 363 MB, free: 7.266 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003278/0.3497, allocations: 104.5 kB / 363.1 MB, free: 7.164 MB / 314.7 MB Notification: Performance of SimCode: time 1.022e-06/0.3497, allocations: 3.562 kB / 363.1 MB, free: 7.164 MB / 314.7 MB Notification: Performance of Templates: time 0.04772/0.3974, allocations: 23.62 MB / 386.7 MB, free: 15.94 MB / 346.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 240] 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.326939325081185]