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.001417/0.001417, allocations: 71.77 kB / 22.45 MB, free: 2.09 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.001249/0.001249, allocations: 166.9 kB / 25.75 MB, free: 8.949 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.9715/0.9715, allocations: 158.6 MB / 187.5 MB, free: 2.949 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.063e-06/2.063e-06, allocations: 3.938 kB / 251.1 MB, free: 7.781 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.219e-05/3.425e-05, allocations: 2.312 kB / 251.1 MB, free: 7.777 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.009842/0.009876, allocations: 9.34 MB / 260.5 MB, free: 14.39 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006634/0.01651, allocations: 3.336 MB / 263.8 MB, free: 11.04 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001434/0.01794, allocations: 55.62 kB / 263.9 MB, free: 10.99 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001799/0.01974, allocations: 0.726 MB / 264.6 MB, free: 10.26 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002583/0.02233, allocations: 0.8772 MB / 265.5 MB, free: 9.375 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.02339, allocations: 466.9 kB / 265.9 MB, free: 8.918 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002811/0.0262, allocations: 2.497 MB / 268.4 MB, free: 6.41 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001299/0.0275, allocations: 1.001 MB / 269.4 MB, free: 5.359 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002619/0.03012, allocations: 1.629 MB / 271 MB, free: 3.727 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002365/0.03248, allocations: 1.302 MB / 272.3 MB, free: 2.422 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007395/0.03322, allocations: 280 kB / 272.6 MB, free: 2.148 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000818/0.03404, allocations: 403.7 kB / 273 MB, free: 1.754 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00067/0.03471, allocations: 0.8452 MB / 273.9 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001542/0.03625, allocations: 0.8847 MB / 274.7 MB, free: 20 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002734/0.03898, allocations: 2.099 MB / 276.8 MB, free: 13.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.03899, allocations: 0 / 276.8 MB, free: 13.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.03899, allocations: 4 kB / 276.8 MB, free: 13.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.966e-05/0.03909, allocations: 0 / 276.8 MB, free: 13.91 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.00471/0.0438, allocations: 2.809 MB / 279.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.04385, allocations: 11.98 kB / 279.7 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008197/0.04467, allocations: 435.3 kB / 280.1 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001732/0.0464, allocations: 1.196 MB / 281.3 MB, free: 9.379 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.289e-05/0.04649, allocations: 143.7 kB / 281.4 MB, free: 9.238 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002197/0.04671, allocations: 195.9 kB / 281.6 MB, free: 9.047 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002308/0.04902, allocations: 1.543 MB / 283.2 MB, free: 7.438 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.539e-05/0.04908, allocations: 15.89 kB / 283.2 MB, free: 7.422 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001274/0.0492, allocations: 75.98 kB / 283.3 MB, free: 7.348 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.629e-05/0.0493, allocations: 91.69 kB / 283.3 MB, free: 7.258 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001566/0.05087, allocations: 0.7008 MB / 284 MB, free: 6.555 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007953/0.05882, allocations: 6.09 MB / 290.1 MB, free: 276 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.05983, allocations: 0.6083 MB / 290.7 MB, free: 15.66 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000753/0.06058, allocations: 497.3 kB / 291.2 MB, free: 15.18 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001797/0.06076, allocations: 48.91 kB / 291.3 MB, free: 15.12 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005995/0.06136, allocations: 0.525 MB / 291.8 MB, free: 14.54 MB / 282.7 MB Notification: Performance of pre-optimization done (n=99): time 5.49e-06/0.06136, allocations: 0 / 291.8 MB, free: 14.54 MB / 282.7 MB Notification: Performance of matching and sorting (n=121): time 0.007534/0.0689, allocations: 4.105 MB / 295.9 MB, free: 10.36 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.863e-05/0.069, allocations: 204.8 kB / 296.1 MB, free: 10.12 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/0.0702, allocations: 1.113 MB / 297.2 MB, free: 8.996 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.64e-05/0.07027, allocations: 49.7 kB / 297.3 MB, free: 8.941 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007246/0.071, allocations: 1.027 MB / 298.3 MB, free: 7.902 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003605/0.07136, allocations: 444.3 kB / 298.7 MB, free: 7.465 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003088/0.07167, allocations: 249.2 kB / 299 MB, free: 7.211 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0005624/0.07223, allocations: 0.5394 MB / 299.5 MB, free: 6.664 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000415/0.07264, allocations: 219.8 kB / 299.7 MB, free: 6.449 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006493/0.07329, allocations: 0.8155 MB / 300.5 MB, free: 5.41 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.07441, allocations: 1.018 MB / 301.6 MB, free: 4.211 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/0.07442, allocations: 8 kB / 301.6 MB, free: 4.203 MB / 282.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00225/0.07667, allocations: 1.315 MB / 302.9 MB, free: 2.859 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.017e-05/0.07671, allocations: 20.17 kB / 302.9 MB, free: 2.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.163e-05/0.07673, allocations: 12 kB / 302.9 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008054/0.07754, allocations: 286.1 kB / 303.2 MB, free: 2.527 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007043/0.07824, allocations: 291.6 kB / 303.5 MB, free: 2.242 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005366/0.08361, allocations: 6.683 MB / 310.2 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009903/0.0846, allocations: 95.91 kB / 310.3 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.124e-05/0.08469, allocations: 51.98 kB / 310.3 MB, free: 11.05 MB / 298.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.0007554/0.08544, allocations: 243.5 kB / 310.5 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003447/0.08579, allocations: 199 kB / 310.7 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001837/0.08763, allocations: 1.139 MB / 311.9 MB, free: 9.445 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.08764, allocations: 12 kB / 311.9 MB, free: 9.434 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/0.08765, allocations: 7.938 kB / 311.9 MB, free: 9.426 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/0.08766, allocations: 7.969 kB / 311.9 MB, free: 9.418 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004663/0.09232, allocations: 3.125 MB / 315 MB, free: 6.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.09233, allocations: 3.938 kB / 315 MB, free: 6.156 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005061/0.09284, allocations: 199.7 kB / 315.2 MB, free: 5.961 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008649/0.0937, allocations: 354.3 kB / 315.6 MB, free: 5.594 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.657e-05/0.09378, allocations: 31.98 kB / 315.6 MB, free: 5.562 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005309/0.09909, allocations: 8.459 MB / 324.1 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/0.09909, allocations: 7.938 kB / 324.1 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002617/0.1017, allocations: 1.7 MB / 325.8 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005472/0.1023, allocations: 266.9 kB / 326 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001651/0.1024, allocations: 36.03 kB / 326.1 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004412/0.1029, allocations: 71.92 kB / 326.1 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002237/0.1031, allocations: 100.7 kB / 326.2 MB, free: 10.35 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.974e-05/0.1031, allocations: 39.98 kB / 326.3 MB, free: 10.31 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008059/0.104, allocations: 0.6705 MB / 326.9 MB, free: 9.637 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.104, allocations: 4 kB / 326.9 MB, free: 9.633 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001858/0.1058, allocations: 443.9 kB / 327.4 MB, free: 9.199 MB / 314.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.001289/0.1071, allocations: 472.9 kB / 327.8 MB, free: 8.766 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002455/0.1096, allocations: 1.512 MB / 329.4 MB, free: 7.195 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.1096, allocations: 4 kB / 329.4 MB, free: 7.191 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001648/0.1112, allocations: 1.32 MB / 330.7 MB, free: 5.793 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001554/0.1128, allocations: 372.1 kB / 331 MB, free: 5.43 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006566/0.1193, allocations: 3.616 MB / 334.7 MB, free: 1.703 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005545/0.1199, allocations: 0.5166 MB / 335.2 MB, free: 1.156 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007679/0.1206, allocations: 255.8 kB / 335.4 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002683/0.1209, allocations: 108.5 kB / 335.5 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of SimCode: time 2.024e-06/0.1209, allocations: 0 / 335.5 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of Templates: time 0.1542/0.2751, allocations: 23.64 MB / 359.2 MB, free: 83.6 MB / 330.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.129952750867233]