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.001356/0.001356, allocations: 72.08 kB / 21.69 MB, free: 2.863 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.001194/0.001194, allocations: 142.5 kB / 24.97 MB, free: 8.359 MB / 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.9846/0.9846, allocations: 173.4 MB / 201.5 MB, free: 9.328 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.553e-06/1.553e-06, allocations: 0 / 268.1 MB, free: 6.711 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.639e-05/2.794e-05, allocations: 6.25 kB / 268.1 MB, free: 6.703 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01071/0.01074, allocations: 9.388 MB / 277.5 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005393/0.01613, allocations: 3.381 MB / 280.9 MB, free: 9.883 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001338/0.01747, allocations: 63.56 kB / 280.9 MB, free: 9.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001966/0.01944, allocations: 0.7221 MB / 281.6 MB, free: 9.094 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002327/0.02176, allocations: 0.885 MB / 282.5 MB, free: 8.203 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.0229, allocations: 478.8 kB / 283 MB, free: 7.734 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002735/0.02563, allocations: 2.493 MB / 285.5 MB, free: 5.227 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001481/0.02711, allocations: 1.017 MB / 286.5 MB, free: 4.164 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002189/0.0293, allocations: 1.641 MB / 288.2 MB, free: 2.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001963/0.03126, allocations: 1.298 MB / 289.5 MB, free: 1.219 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005391/0.0318, allocations: 280 kB / 289.7 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009483/0.03275, allocations: 403.7 kB / 290.1 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1109/0.1437, allocations: 0.8419 MB / 291 MB, free: 18.65 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00166/0.1453, allocations: 0.8845 MB / 291.8 MB, free: 18.65 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002689/0.148, allocations: 2.099 MB / 293.9 MB, free: 18.49 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.148, allocations: 1.156 kB / 293.9 MB, free: 18.49 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.148, allocations: 0 / 293.9 MB, free: 18.49 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.681e-05/0.1481, allocations: 0.5 kB / 293.9 MB, free: 18.49 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.004983/0.1531, allocations: 2.816 MB / 296.8 MB, free: 17.27 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.1531, allocations: 9.672 kB / 296.8 MB, free: 17.27 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008371/0.154, allocations: 436.7 kB / 297.2 MB, free: 17.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001887/0.1559, allocations: 1.285 MB / 298.5 MB, free: 16.74 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.743e-05/0.156, allocations: 139.8 kB / 298.6 MB, free: 16.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002275/0.1562, allocations: 192.4 kB / 298.8 MB, free: 16.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002674/0.1589, allocations: 1.539 MB / 300.3 MB, free: 16.43 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.678e-05/0.1589, allocations: 6.953 kB / 300.4 MB, free: 16.42 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001298/0.1591, allocations: 77.48 kB / 300.4 MB, free: 16.42 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001002/0.1592, allocations: 102.2 kB / 300.5 MB, free: 16.42 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00168/0.1608, allocations: 0.7064 MB / 301.2 MB, free: 16.39 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006886/0.1677, allocations: 6.093 MB / 307.3 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007617/0.1685, allocations: 0.6078 MB / 307.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000651/0.1691, allocations: 498.1 kB / 308.4 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001456/0.1693, allocations: 51.89 kB / 308.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004711/0.1697, allocations: 0.5199 MB / 309 MB, free: 12.36 MB / 266.7 MB Notification: Performance of pre-optimization done (n=99): time 2.304e-06/0.1697, allocations: 0 / 309 MB, free: 12.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=121): time 0.005954/0.1757, allocations: 3.895 MB / 312.9 MB, free: 10.86 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/0.1758, allocations: 167.8 kB / 313.1 MB, free: 10.67 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/0.1768, allocations: 1.12 MB / 314.2 MB, free: 10.07 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.249e-05/0.1769, allocations: 48.67 kB / 314.2 MB, free: 10.02 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004531/0.1773, allocations: 1.019 MB / 315.2 MB, free: 9.129 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001908/0.1775, allocations: 444 kB / 315.7 MB, free: 8.758 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00023/0.1777, allocations: 253.8 kB / 315.9 MB, free: 8.52 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.23e-05/0.1778, allocations: 0.5433 MB / 316.5 MB, free: 7.969 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000331/0.1782, allocations: 227.8 kB / 316.7 MB, free: 7.746 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004557/0.1786, allocations: 0.8026 MB / 317.5 MB, free: 6.727 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008551/0.1795, allocations: 0.9958 MB / 318.5 MB, free: 5.594 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/0.1795, allocations: 4.875 kB / 318.5 MB, free: 5.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.001634/0.1811, allocations: 1.329 MB / 319.8 MB, free: 4.309 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.1811, allocations: 8 kB / 319.8 MB, free: 4.301 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.1811, allocations: 8 kB / 319.8 MB, free: 4.293 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000643/0.1818, allocations: 291.6 kB / 320.1 MB, free: 3.988 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006072/0.1824, allocations: 293.1 kB / 320.4 MB, free: 3.719 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003277/0.1857, allocations: 6.697 MB / 327.1 MB, free: 12.71 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008378/0.1865, allocations: 83.92 kB / 327.2 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.673e-05/0.1866, allocations: 60.02 kB / 327.2 MB, free: 12.57 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.0006496/0.1872, allocations: 238.5 kB / 327.5 MB, free: 12.34 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000264/0.1875, allocations: 195 kB / 327.7 MB, free: 12.15 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001683/0.1892, allocations: 1.167 MB / 328.8 MB, free: 10.97 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.1892, allocations: 14.95 kB / 328.8 MB, free: 10.96 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.1892, allocations: 8 kB / 328.9 MB, free: 10.95 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.1892, allocations: 7.969 kB / 328.9 MB, free: 10.94 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004045/0.1933, allocations: 2.972 MB / 331.8 MB, free: 7.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.423e-06/0.1933, allocations: 4 kB / 331.8 MB, free: 7.926 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004648/0.1937, allocations: 195 kB / 332 MB, free: 7.746 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007827/0.1945, allocations: 354.6 kB / 332.4 MB, free: 7.387 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.956e-05/0.1946, allocations: 31.98 kB / 332.4 MB, free: 7.355 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004343/0.1989, allocations: 8.461 MB / 340.9 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.1989, allocations: 10.7 kB / 340.9 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002325/0.2012, allocations: 1.672 MB / 342.5 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004881/0.2017, allocations: 270.9 kB / 342.8 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001434/0.2019, allocations: 39.98 kB / 342.9 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004371/0.2023, allocations: 63.94 kB / 342.9 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001857/0.2025, allocations: 104.2 kB / 343 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.088e-05/0.2026, allocations: 39.98 kB / 343.1 MB, free: 12.21 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000756/0.2033, allocations: 0.6627 MB / 343.7 MB, free: 11.54 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2033, allocations: 0 / 343.7 MB, free: 11.54 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001317/0.2046, allocations: 455.9 kB / 344.2 MB, free: 11.09 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.001048/0.2057, allocations: 477.9 kB / 344.6 MB, free: 10.8 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002053/0.2077, allocations: 1.51 MB / 346.1 MB, free: 9.266 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.2077, allocations: 0 / 346.1 MB, free: 9.266 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001205/0.2089, allocations: 1.317 MB / 347.5 MB, free: 7.906 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.2101, allocations: 370.9 kB / 347.8 MB, free: 7.547 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00462/0.2147, allocations: 3.601 MB / 351.4 MB, free: 3.863 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003991/0.2151, allocations: 0.5127 MB / 351.9 MB, free: 3.328 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005453/0.2156, allocations: 259.7 kB / 352.2 MB, free: 3.07 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001949/0.2158, allocations: 104.5 kB / 352.3 MB, free: 2.969 MB / 298.7 MB Notification: Performance of SimCode: time 1.453e-06/0.2158, allocations: 0 / 352.3 MB, free: 2.969 MB / 298.7 MB Notification: Performance of Templates: time 0.02947/0.2453, allocations: 23.64 MB / 375.9 MB, free: 11.71 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.2649023230187595]