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.001122/0.001122, allocations: 83.89 kB / 21.19 MB, free: 3.383 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.001043/0.001043, allocations: 141.5 kB / 24.54 MB, free: 32 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 0.9535/0.9535, allocations: 173.3 MB / 201.1 MB, free: 9.348 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|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 1.654e-06/1.654e-06, allocations: 0 / 268 MB, free: 6.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/1.998e-05, allocations: 2.312 kB / 268 MB, free: 6.426 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.008285/0.008305, allocations: 9.435 MB / 277.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005154/0.01346, allocations: 3.389 MB / 280.8 MB, free: 9.551 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006894/0.01415, allocations: 63.56 kB / 280.9 MB, free: 9.488 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001266/0.01541, allocations: 0.7299 MB / 281.6 MB, free: 8.754 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00122/0.01663, allocations: 0.8849 MB / 282.5 MB, free: 7.863 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006412/0.01728, allocations: 478.9 kB / 283 MB, free: 7.395 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001579/0.01885, allocations: 2.493 MB / 285.5 MB, free: 4.887 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001008/0.01986, allocations: 1.021 MB / 286.5 MB, free: 3.82 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001117/0.02098, allocations: 1.641 MB / 288.1 MB, free: 2.176 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001118/0.0221, allocations: 1.29 MB / 289.4 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002433/0.02234, allocations: 280 kB / 289.7 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004478/0.02279, allocations: 411.7 kB / 290.1 MB, free: 212 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1367/0.1595, allocations: 0.8426 MB / 290.9 MB, free: 18.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003181/0.1627, allocations: 0.882 MB / 291.8 MB, free: 18.95 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005543/0.1682, allocations: 2.101 MB / 293.9 MB, free: 18.78 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.333e-06/0.1682, allocations: 0.625 kB / 293.9 MB, free: 18.78 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1682, allocations: 0 / 293.9 MB, free: 18.78 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001457/0.1684, allocations: 2.922 kB / 293.9 MB, free: 18.78 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.009998/0.1784, allocations: 2.809 MB / 296.7 MB, free: 17.56 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/0.1784, allocations: 10.56 kB / 296.7 MB, free: 17.56 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001395/0.1798, allocations: 432.3 kB / 297.2 MB, free: 17.43 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003041/0.1828, allocations: 1.289 MB / 298.5 MB, free: 17.03 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001425/0.183, allocations: 140.9 kB / 298.6 MB, free: 17.03 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003503/0.1833, allocations: 190.8 kB / 298.8 MB, free: 17.03 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003985/0.1873, allocations: 1.545 MB / 300.3 MB, free: 16.72 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-05/0.1874, allocations: 7.641 kB / 300.3 MB, free: 16.71 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001908/0.1876, allocations: 80.11 kB / 300.4 MB, free: 16.71 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001577/0.1878, allocations: 97.05 kB / 300.5 MB, free: 16.71 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002532/0.1903, allocations: 0.7083 MB / 301.2 MB, free: 16.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01098/0.2013, allocations: 6.089 MB / 307.3 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/0.2024, allocations: 0.6058 MB / 307.9 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001017/0.2034, allocations: 496.6 kB / 308.4 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002118/0.2036, allocations: 45.59 kB / 308.4 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007356/0.2044, allocations: 0.5212 MB / 309 MB, free: 12.49 MB / 266.7 MB Notification: Performance of pre-optimization done (n=99): time 3.947e-06/0.2044, allocations: 4 kB / 309 MB, free: 12.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=121): time 0.009529/0.2139, allocations: 3.9 MB / 312.9 MB, free: 10.95 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.214, allocations: 169.5 kB / 313 MB, free: 10.76 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001726/0.2157, allocations: 1.111 MB / 314.1 MB, free: 10.12 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.52e-05/0.2158, allocations: 52.27 kB / 314.2 MB, free: 10.07 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007626/0.2166, allocations: 1.021 MB / 315.2 MB, free: 9.168 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003096/0.2169, allocations: 441.8 kB / 315.6 MB, free: 8.742 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003445/0.2172, allocations: 253.1 kB / 315.9 MB, free: 8.488 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.696e-05/0.2173, allocations: 0.5433 MB / 316.4 MB, free: 7.938 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005138/0.2178, allocations: 215.9 kB / 316.6 MB, free: 7.727 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007066/0.2185, allocations: 0.8103 MB / 317.5 MB, free: 6.699 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001353/0.2199, allocations: 1.003 MB / 318.5 MB, free: 5.562 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-05/0.2199, allocations: 4 kB / 318.5 MB, free: 5.559 MB / 266.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002681/0.2226, allocations: 1.322 MB / 319.8 MB, free: 4.281 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.3e-05/0.2226, allocations: 11.22 kB / 319.8 MB, free: 4.273 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.176e-05/0.2226, allocations: 12 kB / 319.8 MB, free: 4.262 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001013/0.2236, allocations: 289.2 kB / 320.1 MB, free: 3.961 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009742/0.2246, allocations: 299.5 kB / 320.4 MB, free: 3.688 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004551/0.2292, allocations: 6.682 MB / 327.1 MB, free: 12.69 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/0.2304, allocations: 103.6 kB / 327.2 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.274e-05/0.2304, allocations: 55.98 kB / 327.2 MB, free: 12.54 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.0007194/0.2312, allocations: 235.9 kB / 327.5 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002435/0.2314, allocations: 195 kB / 327.6 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00164/0.233, allocations: 1.165 MB / 328.8 MB, free: 10.94 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.866e-06/0.233, allocations: 12 kB / 328.8 MB, free: 10.93 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.2331, allocations: 4 kB / 328.8 MB, free: 10.93 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.2331, allocations: 7.969 kB / 328.8 MB, free: 10.92 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003817/0.2369, allocations: 2.977 MB / 331.8 MB, free: 7.902 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.2369, allocations: 0 / 331.8 MB, free: 7.902 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004285/0.2373, allocations: 191.4 kB / 332 MB, free: 7.727 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007414/0.2381, allocations: 362.6 kB / 332.3 MB, free: 7.359 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-05/0.2381, allocations: 31.98 kB / 332.4 MB, free: 7.328 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004174/0.2423, allocations: 8.453 MB / 340.8 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.2423, allocations: 11.39 kB / 340.8 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002099/0.2444, allocations: 1.676 MB / 342.5 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004153/0.2448, allocations: 270.9 kB / 342.8 MB, free: 12.42 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.2449, allocations: 32 kB / 342.8 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000392/0.2453, allocations: 67.92 kB / 342.9 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001752/0.2455, allocations: 104.1 kB / 343 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.501e-05/0.2456, allocations: 39.98 kB / 343 MB, free: 12.18 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006918/0.2463, allocations: 0.6666 MB / 343.7 MB, free: 11.51 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2463, allocations: 0 / 343.7 MB, free: 11.51 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001336/0.2476, allocations: 451.9 kB / 344.1 MB, free: 11.07 MB / 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.001022/0.2486, allocations: 486.8 kB / 344.6 MB, free: 10.77 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00183/0.2504, allocations: 1.511 MB / 346.1 MB, free: 9.238 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.2504, allocations: 0 / 346.1 MB, free: 9.238 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001219/0.2517, allocations: 1.313 MB / 347.4 MB, free: 7.879 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.2527, allocations: 370.4 kB / 347.8 MB, free: 7.52 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004577/0.2573, allocations: 3.6 MB / 351.4 MB, free: 3.84 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004387/0.2577, allocations: 0.5205 MB / 351.9 MB, free: 3.297 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005097/0.2582, allocations: 247.8 kB / 352.2 MB, free: 3.051 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002139/0.2584, allocations: 108.5 kB / 352.3 MB, free: 2.945 MB / 298.7 MB Notification: Performance of SimCode: time 9.82e-07/0.2584, allocations: 0 / 352.3 MB, free: 2.945 MB / 298.7 MB Notification: Performance of Templates: time 0.02875/0.2872, allocations: 23.64 MB / 375.9 MB, free: 11.68 MB / 330.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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 6.368163068778813]