Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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.0009901/0.0009901, allocations: 75.75 kB / 21.97 MB, free: 2.598 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.0009782/0.0009782, allocations: 177.3 kB / 25.34 MB, free: 9.445 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9223/0.9223, allocations: 158.6 MB / 187.2 MB, free: 2.504 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.AsynchronousInductionMachines.AIMC_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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.325e-06/2.325e-06, allocations: 0 / 251.1 MB, free: 3.555 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.999e-05/2.231e-05, allocations: 2.312 kB / 251.1 MB, free: 3.551 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.009446/0.009468, allocations: 9.39 MB / 260.5 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005801/0.01527, allocations: 3.347 MB / 263.8 MB, free: 6.758 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000928/0.0162, allocations: 51.62 kB / 263.9 MB, free: 6.707 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001614/0.01781, allocations: 0.7337 MB / 264.6 MB, free: 5.969 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001723/0.01953, allocations: 0.8811 MB / 265.5 MB, free: 5.082 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007963/0.02033, allocations: 462.9 kB / 265.9 MB, free: 4.629 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002024/0.02235, allocations: 2.501 MB / 268.4 MB, free: 2.117 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00108/0.02344, allocations: 0.9972 MB / 269.4 MB, free: 1.07 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001663/0.0251, allocations: 1.622 MB / 271 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001729/0.02683, allocations: 1.309 MB / 272.4 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003543/0.02718, allocations: 280 kB / 272.6 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000575/0.02776, allocations: 407.7 kB / 273 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005416/0.0283, allocations: 0.8452 MB / 273.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000709/0.02901, allocations: 0.8886 MB / 274.8 MB, free: 11.72 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001771/0.03078, allocations: 2.095 MB / 276.9 MB, free: 9.617 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.03078, allocations: 0 / 276.9 MB, free: 9.617 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.03078, allocations: 0 / 276.9 MB, free: 9.617 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.245e-05/0.03082, allocations: 4 kB / 276.9 MB, free: 9.613 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.003364/0.03419, allocations: 2.801 MB / 279.7 MB, free: 6.766 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.03423, allocations: 15.98 kB / 279.7 MB, free: 6.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006058/0.03484, allocations: 431.3 kB / 280.1 MB, free: 6.328 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/0.03619, allocations: 1.196 MB / 281.3 MB, free: 5.09 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.762e-05/0.03627, allocations: 151.6 kB / 281.4 MB, free: 4.941 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001953/0.03647, allocations: 188 kB / 281.6 MB, free: 4.758 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001877/0.03835, allocations: 1.547 MB / 283.2 MB, free: 3.145 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.615e-05/0.03838, allocations: 3.953 kB / 283.2 MB, free: 3.141 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001128/0.03849, allocations: 83.98 kB / 283.3 MB, free: 3.059 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.593e-05/0.03857, allocations: 91.67 kB / 283.3 MB, free: 2.969 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001216/0.03979, allocations: 0.7085 MB / 284.1 MB, free: 2.258 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006014/0.0458, allocations: 6.082 MB / 290.1 MB, free: 11.98 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007905/0.04659, allocations: 0.6079 MB / 290.7 MB, free: 11.37 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006998/0.04729, allocations: 493.3 kB / 291.2 MB, free: 10.89 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001568/0.04745, allocations: 56.91 kB / 291.3 MB, free: 10.83 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005417/0.04799, allocations: 0.5289 MB / 291.8 MB, free: 10.23 MB / 282.7 MB Notification: Performance of pre-optimization done (n=99): time 2.444e-06/0.04799, allocations: 0 / 291.8 MB, free: 10.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=121): time 0.00964/0.05763, allocations: 4.099 MB / 295.9 MB, free: 6.07 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000135/0.05777, allocations: 196.9 kB / 296.1 MB, free: 5.836 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002083/0.05985, allocations: 1.117 MB / 297.2 MB, free: 4.707 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001454/0.05999, allocations: 49.7 kB / 297.3 MB, free: 4.652 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001016/0.06101, allocations: 1.019 MB / 298.3 MB, free: 3.621 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000582/0.06159, allocations: 448.2 kB / 298.7 MB, free: 3.18 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003945/0.06199, allocations: 253.2 kB / 299 MB, free: 2.922 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002626/0.06225, allocations: 0.5355 MB / 299.5 MB, free: 2.379 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006273/0.06288, allocations: 231.8 kB / 299.7 MB, free: 2.152 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009896/0.06387, allocations: 0.8078 MB / 300.5 MB, free: 1.121 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.147/0.2109, allocations: 1.011 MB / 301.6 MB, free: 49.43 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-05/0.2109, allocations: 2.562 kB / 301.6 MB, free: 49.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003069/0.214, allocations: 1.325 MB / 302.9 MB, free: 49.31 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.13e-05/0.214, allocations: 9.219 kB / 302.9 MB, free: 49.31 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.161e-05/0.2141, allocations: 12.09 kB / 302.9 MB, free: 49.31 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007997/0.2149, allocations: 286.5 kB / 303.2 MB, free: 49.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007355/0.2156, allocations: 294.5 kB / 303.5 MB, free: 49.25 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004129/0.2197, allocations: 6.68 MB / 310.1 MB, free: 43.65 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000872/0.2206, allocations: 102.9 kB / 310.3 MB, free: 43.65 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.672e-05/0.2207, allocations: 55.28 kB / 310.3 MB, free: 43.65 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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.0005725/0.2213, allocations: 239.1 kB / 310.5 MB, free: 43.49 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002802/0.2215, allocations: 193.3 kB / 310.7 MB, free: 43.48 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002006/0.2235, allocations: 1.144 MB / 311.9 MB, free: 43.34 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.359e-05/0.2236, allocations: 13.92 kB / 311.9 MB, free: 43.34 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.435e-05/0.2236, allocations: 4.969 kB / 311.9 MB, free: 43.34 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.663e-05/0.2236, allocations: 11.16 kB / 311.9 MB, free: 43.34 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00517/0.2288, allocations: 3.121 MB / 315 MB, free: 42.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/0.2288, allocations: 5.656 kB / 315 MB, free: 42.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005458/0.2293, allocations: 186.8 kB / 315.2 MB, free: 42.66 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009517/0.2303, allocations: 355 kB / 315.6 MB, free: 42.59 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.2e-05/0.2303, allocations: 41.44 kB / 315.6 MB, free: 42.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005152/0.2355, allocations: 8.459 MB / 324.1 MB, free: 35.23 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/0.2355, allocations: 6.812 kB / 324.1 MB, free: 35.23 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00281/0.2383, allocations: 1.692 MB / 325.8 MB, free: 34.48 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005926/0.2389, allocations: 271.6 kB / 326 MB, free: 34.34 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/0.239, allocations: 35.72 kB / 326.1 MB, free: 34.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004356/0.2395, allocations: 79.05 kB / 326.1 MB, free: 34.3 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002779/0.2397, allocations: 104.6 kB / 326.2 MB, free: 34.28 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.909e-05/0.2398, allocations: 36.81 kB / 326.3 MB, free: 34.27 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0009781/0.2408, allocations: 0.6654 MB / 326.9 MB, free: 34.01 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2408, allocations: 0 / 326.9 MB, free: 34.01 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001851/0.2426, allocations: 449.7 kB / 327.4 MB, free: 33.97 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (106): * Single equations (assignments): 99 * 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.00126/0.2439, allocations: 479.2 kB / 327.8 MB, free: 33.68 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002551/0.2464, allocations: 1.517 MB / 329.4 MB, free: 32.93 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.2465, allocations: 4.062 kB / 329.4 MB, free: 32.92 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001496/0.2479, allocations: 1.314 MB / 330.7 MB, free: 32.07 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/0.2492, allocations: 377.4 kB / 331 MB, free: 31.92 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006168/0.2554, allocations: 3.617 MB / 334.7 MB, free: 28.8 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005282/0.2559, allocations: 0.5161 MB / 335.2 MB, free: 28.41 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0007718/0.2567, allocations: 253 kB / 335.4 MB, free: 28.24 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000224/0.2569, allocations: 100.2 kB / 335.5 MB, free: 28.14 MB / 282.7 MB Notification: Performance of SimCode: time 2.996e-06/0.2569, allocations: 0 / 335.5 MB, free: 28.14 MB / 282.7 MB Notification: Performance of Templates: time 0.02952/0.2864, allocations: 23.67 MB / 359.2 MB, free: 4.648 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Conveyor/AIMC_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.1969149759970605]