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.001471/0.001471, allocations: 84 kB / 21.19 MB, free: 3.395 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.001436/0.001436, allocations: 145.1 kB / 24.54 MB, free: 44 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.9673/0.9673, allocations: 173.3 MB / 201.1 MB, free: 9.336 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 2.514e-06/2.514e-06, allocations: 0 / 268 MB, free: 6.426 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.401e-05/3.653e-05, allocations: 6.25 kB / 268 MB, free: 6.418 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01296/0.013, allocations: 9.439 MB / 277.4 MB, free: 12.94 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008418/0.02142, allocations: 3.397 MB / 280.8 MB, free: 9.531 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001839/0.02326, allocations: 63.56 kB / 280.9 MB, free: 9.469 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001541/0.0248, allocations: 0.7182 MB / 281.6 MB, free: 8.746 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002099/0.0269, allocations: 0.8849 MB / 282.5 MB, free: 7.855 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009587/0.02786, allocations: 486.8 kB / 283 MB, free: 7.379 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002373/0.03023, allocations: 2.493 MB / 285.5 MB, free: 4.871 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001144/0.03137, allocations: 1.021 MB / 286.5 MB, free: 3.805 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002525/0.0339, allocations: 1.785 MB / 288.3 MB, free: 2.016 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001795/0.03569, allocations: 1.239 MB / 289.5 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005849/0.03628, allocations: 268 kB / 289.8 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008327/0.03711, allocations: 407.7 kB / 290.2 MB, free: 116 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1202/0.1574, allocations: 0.8019 MB / 291 MB, free: 18.97 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001711/0.1591, allocations: 0.8617 MB / 291.8 MB, free: 18.97 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00311/0.1622, allocations: 2.062 MB / 293.9 MB, free: 18.81 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1622, allocations: 2.344 kB / 293.9 MB, free: 18.81 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1622, allocations: 0 / 293.9 MB, free: 18.81 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.712e-05/0.1623, allocations: 0.5625 kB / 293.9 MB, free: 18.81 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.00354/0.1658, allocations: 2.765 MB / 296.7 MB, free: 17.59 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.1658, allocations: 10.08 kB / 296.7 MB, free: 17.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006327/0.1665, allocations: 431.8 kB / 297.1 MB, free: 17.45 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001416/0.1679, allocations: 1.298 MB / 298.4 MB, free: 17.06 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.276e-05/0.168, allocations: 139.9 kB / 298.5 MB, free: 17.05 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001958/0.1682, allocations: 200.3 kB / 298.7 MB, free: 17.05 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002166/0.1703, allocations: 1.533 MB / 300.3 MB, free: 16.74 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.152e-05/0.1704, allocations: 11.05 kB / 300.3 MB, free: 16.74 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001253/0.1705, allocations: 79.14 kB / 300.4 MB, free: 16.74 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-05/0.1706, allocations: 94.02 kB / 300.4 MB, free: 16.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/0.1719, allocations: 0.7065 MB / 301.2 MB, free: 16.71 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005326/0.1772, allocations: 5.99 MB / 307.1 MB, free: 13.19 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007595/0.178, allocations: 0.6402 MB / 307.8 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006486/0.1786, allocations: 495.1 kB / 308.3 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001408/0.1788, allocations: 52.38 kB / 308.3 MB, free: 12.87 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004498/0.1792, allocations: 0.5171 MB / 308.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of pre-optimization done (n=99): time 2.524e-06/0.1792, allocations: 3.797 kB / 308.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=121): time 0.004948/0.1842, allocations: 3.784 MB / 312.6 MB, free: 11.06 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.1842, allocations: 176.3 kB / 312.8 MB, free: 10.87 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008404/0.1851, allocations: 1.121 MB / 313.9 MB, free: 10.29 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.419e-05/0.1851, allocations: 45.27 kB / 314 MB, free: 10.24 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003842/0.1855, allocations: 1.026 MB / 315 MB, free: 9.344 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000187/0.1857, allocations: 445.7 kB / 315.4 MB, free: 8.969 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002204/0.1859, allocations: 252.7 kB / 315.7 MB, free: 8.812 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.203e-05/0.186, allocations: 0.5446 MB / 316.2 MB, free: 8.273 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003073/0.1863, allocations: 219.8 kB / 316.4 MB, free: 8.059 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004412/0.1867, allocations: 0.8226 MB / 317.3 MB, free: 7.016 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008003/0.1875, allocations: 1.019 MB / 318.3 MB, free: 5.855 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.1875, allocations: 4 kB / 318.3 MB, free: 5.852 MB / 266.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.001513/0.1891, allocations: 1.329 MB / 319.6 MB, free: 4.566 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.1891, allocations: 8 kB / 319.6 MB, free: 4.559 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.1891, allocations: 12 kB / 319.6 MB, free: 4.547 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006601/0.1898, allocations: 287.1 kB / 319.9 MB, free: 4.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000573/0.1903, allocations: 288.6 kB / 320.2 MB, free: 3.984 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003216/0.1935, allocations: 6.698 MB / 326.9 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004656/0.194, allocations: 83.92 kB / 327 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.759e-05/0.1941, allocations: 52 kB / 327 MB, free: 12.84 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.0003517/0.1944, allocations: 250.9 kB / 327.3 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001942/0.1946, allocations: 191 kB / 327.5 MB, free: 12.42 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001496/0.1961, allocations: 1.156 MB / 328.6 MB, free: 11.25 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.1961, allocations: 12 kB / 328.6 MB, free: 11.24 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.1961, allocations: 4 kB / 328.6 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.1961, allocations: 7.969 kB / 328.6 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003392/0.1995, allocations: 2.946 MB / 331.6 MB, free: 8.238 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.1995, allocations: 8.219 kB / 331.6 MB, free: 8.234 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004068/0.1999, allocations: 186.9 kB / 331.8 MB, free: 8.062 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006755/0.2006, allocations: 339.9 kB / 332.1 MB, free: 7.715 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.888e-05/0.2007, allocations: 35.97 kB / 332.1 MB, free: 7.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003909/0.2046, allocations: 8.37 MB / 340.5 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.2046, allocations: 7.938 kB / 340.5 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001834/0.2064, allocations: 1.667 MB / 342.2 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003051/0.2067, allocations: 259 kB / 342.4 MB, free: 12.87 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.2068, allocations: 31.98 kB / 342.5 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003408/0.2072, allocations: 55.95 kB / 342.5 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/0.2073, allocations: 108.3 kB / 342.6 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.769e-05/0.2074, allocations: 39.98 kB / 342.7 MB, free: 12.64 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005952/0.208, allocations: 0.6668 MB / 343.3 MB, free: 11.97 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.208, allocations: 0 / 343.3 MB, free: 11.97 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009489/0.2089, allocations: 447.5 kB / 343.8 MB, free: 11.54 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.0009569/0.2099, allocations: 481.2 kB / 344.2 MB, free: 11.24 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001559/0.2115, allocations: 1.516 MB / 345.8 MB, free: 9.711 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2115, allocations: 0 / 345.8 MB, free: 9.711 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.2125, allocations: 1.281 MB / 347 MB, free: 8.375 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009075/0.2134, allocations: 376.8 kB / 347.4 MB, free: 8.016 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00418/0.2176, allocations: 3.583 MB / 351 MB, free: 4.348 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/0.218, allocations: 0.5166 MB / 351.5 MB, free: 3.809 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004716/0.2184, allocations: 255.8 kB / 351.8 MB, free: 3.555 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001909/0.2186, allocations: 100.5 kB / 351.8 MB, free: 3.457 MB / 298.7 MB Notification: Performance of SimCode: time 9.42e-07/0.2186, allocations: 0 / 351.8 MB, free: 3.457 MB / 298.7 MB Notification: Performance of Templates: time 0.02623/0.2449, allocations: 24.08 MB / 375.9 MB, free: 11.78 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.16433731559664]