Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 77.97 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009329/0.0009329, allocations: 165.3 kB / 24.82 MB, free: 9.27 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9766/0.9766, allocations: 177.1 MB / 205.3 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 273.4 MB, free: 1.293 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.548e-05/2.756e-05, allocations: 5.266 kB / 273.4 MB, free: 1.289 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.0112/0.01123, allocations: 9.228 MB / 282.6 MB, free: 8.02 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005497/0.01673, allocations: 3.537 MB / 286.2 MB, free: 4.473 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009105/0.01764, allocations: 63.56 kB / 286.2 MB, free: 4.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001311/0.01895, allocations: 0.7182 MB / 287 MB, free: 3.688 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001785/0.02073, allocations: 0.9277 MB / 287.9 MB, free: 2.754 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000796/0.02153, allocations: 459 kB / 288.3 MB, free: 2.305 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1135/0.135, allocations: 2.51 MB / 290.8 MB, free: 16.05 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001523/0.1365, allocations: 1.019 MB / 291.9 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002811/0.1393, allocations: 1.792 MB / 293.6 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002325/0.1417, allocations: 1.256 MB / 294.9 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008107/0.1425, allocations: 269.3 kB / 295.2 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001115/0.1436, allocations: 414.8 kB / 295.6 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006874/0.1443, allocations: 0.8097 MB / 296.4 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001616/0.1459, allocations: 0.8672 MB / 297.2 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002928/0.1488, allocations: 2.075 MB / 299.3 MB, free: 15.62 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1488, allocations: 0 / 299.3 MB, free: 15.62 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1488, allocations: 1.594 kB / 299.3 MB, free: 15.62 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001098/0.1489, allocations: 0.6875 kB / 299.3 MB, free: 15.62 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.004854/0.1538, allocations: 2.72 MB / 302 MB, free: 14.06 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.1538, allocations: 11.75 kB / 302.1 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/0.1549, allocations: 449.2 kB / 302.5 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001912/0.1568, allocations: 1.244 MB / 303.7 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.784e-05/0.1569, allocations: 139.9 kB / 303.9 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002578/0.1572, allocations: 199.5 kB / 304.1 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001989/0.1592, allocations: 1.411 MB / 305.5 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.897e-05/0.1592, allocations: 16.42 kB / 305.5 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/0.1593, allocations: 75.75 kB / 305.6 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.727e-05/0.1594, allocations: 92.73 kB / 305.7 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008918/0.1603, allocations: 0.5522 MB / 306.2 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007078/0.1674, allocations: 5.92 MB / 312.1 MB, free: 8.773 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000745/0.1681, allocations: 0.5763 MB / 312.7 MB, free: 8.547 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000524/0.1686, allocations: 441.1 kB / 313.1 MB, free: 8.344 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001332/0.1688, allocations: 44.92 kB / 313.2 MB, free: 8.301 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003987/0.1692, allocations: 0.4995 MB / 313.7 MB, free: 7.773 MB / 266.7 MB Notification: Performance of pre-optimization done (n=99): time 2.464e-06/0.1692, allocations: 0 / 313.7 MB, free: 7.773 MB / 266.7 MB Notification: Performance of matching and sorting (n=121): time 0.004774/0.1739, allocations: 3.107 MB / 316.8 MB, free: 4.68 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.174, allocations: 170.8 kB / 317 MB, free: 4.477 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008149/0.1748, allocations: 1.102 MB / 318.1 MB, free: 3.535 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.467e-05/0.1748, allocations: 45.7 kB / 318.1 MB, free: 3.484 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005056/0.1753, allocations: 1.053 MB / 319.2 MB, free: 2.473 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001863/0.1755, allocations: 449.4 kB / 319.6 MB, free: 2.059 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002164/0.1758, allocations: 260 kB / 319.9 MB, free: 1.824 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.815e-05/0.1758, allocations: 0.541 MB / 320.4 MB, free: 1.301 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002027/0.176, allocations: 173.8 kB / 320.6 MB, free: 1.133 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003257/0.1764, allocations: 0.7744 MB / 321.3 MB, free: 168 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.1774, allocations: 0.92 MB / 322.3 MB, free: 15.13 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/0.1774, allocations: 8 kB / 322.3 MB, free: 15.12 MB / 282.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.001464/0.1789, allocations: 1.208 MB / 323.5 MB, free: 13.96 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.1789, allocations: 8.25 kB / 323.5 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.1789, allocations: 12 kB / 323.5 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005623/0.1795, allocations: 292.3 kB / 323.8 MB, free: 13.65 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005293/0.18, allocations: 260.5 kB / 324 MB, free: 13.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00357/0.1836, allocations: 6.507 MB / 330.5 MB, free: 6.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007216/0.1843, allocations: 59.95 kB / 330.6 MB, free: 6.602 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.998e-05/0.1843, allocations: 44 kB / 330.6 MB, free: 6.559 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (150): * Single equations (assignments): 145 * 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.0005421/0.1849, allocations: 243.9 kB / 330.9 MB, free: 6.328 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002346/0.1851, allocations: 195 kB / 331.1 MB, free: 6.137 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001293/0.1864, allocations: 1.056 MB / 332.1 MB, free: 5.074 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/0.1864, allocations: 12 kB / 332.1 MB, free: 5.062 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.1864, allocations: 4 kB / 332.1 MB, free: 5.059 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.1864, allocations: 3.984 kB / 332.1 MB, free: 5.055 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003473/0.1899, allocations: 2.856 MB / 335 MB, free: 2.418 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.1899, allocations: 0 / 335 MB, free: 2.418 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003776/0.1903, allocations: 174.1 kB / 335.2 MB, free: 2.258 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006887/0.191, allocations: 327.7 kB / 335.5 MB, free: 1.93 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-05/0.191, allocations: 35.45 kB / 335.5 MB, free: 1.898 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003766/0.1948, allocations: 8.205 MB / 343.7 MB, free: 9.332 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.1948, allocations: 11.59 kB / 343.7 MB, free: 9.324 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001866/0.1967, allocations: 1.523 MB / 345.3 MB, free: 7.758 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004614/0.1971, allocations: 238.9 kB / 345.5 MB, free: 7.523 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.1973, allocations: 31.98 kB / 345.5 MB, free: 7.492 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003471/0.1976, allocations: 47.98 kB / 345.6 MB, free: 7.445 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/0.1978, allocations: 100.1 kB / 345.7 MB, free: 7.352 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.521e-05/0.1978, allocations: 31.98 kB / 345.7 MB, free: 7.32 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005489/0.1984, allocations: 0.6137 MB / 346.3 MB, free: 6.754 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1984, allocations: 0 / 346.3 MB, free: 6.754 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001232/0.1996, allocations: 447.9 kB / 346.8 MB, free: 6.316 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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009597/0.2005, allocations: 487.1 kB / 347.2 MB, free: 6.027 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001546/0.2021, allocations: 1.383 MB / 348.6 MB, free: 4.645 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.2021, allocations: 320 / 348.6 MB, free: 4.645 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009512/0.203, allocations: 1.213 MB / 349.8 MB, free: 3.398 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.2041, allocations: 373.8 kB / 350.2 MB, free: 3.047 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004781/0.2089, allocations: 3.549 MB / 353.7 MB, free: 15.43 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004369/0.2093, allocations: 0.5205 MB / 354.3 MB, free: 14.89 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005683/0.2099, allocations: 192 kB / 354.5 MB, free: 14.7 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005776/0.2105, allocations: 418 kB / 354.9 MB, free: 14.29 MB / 314.7 MB Notification: Performance of SimCode: time 1.563e-06/0.2105, allocations: 0 / 354.9 MB, free: 14.29 MB / 314.7 MB Notification: Performance of Templates: time 0.03151/0.242, allocations: 24.69 MB / 379.5 MB, free: 6.055 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",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.04721699282527]