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.0009516/0.0009516, allocations: 84.98 kB / 23 MB, free: 1.504 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.001143/0.001143, allocations: 177.3 kB / 26.39 MB, free: 8.008 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.9794/0.9794, allocations: 158.6 MB / 188.3 MB, free: 2.809 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 1.673e-06/1.673e-06, allocations: 0 / 252.3 MB, free: 7.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.07e-05/2.237e-05, allocations: 6.25 kB / 252.3 MB, free: 7.223 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.0104/0.01042, allocations: 9.137 MB / 261.4 MB, free: 14.04 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005121/0.01555, allocations: 3.324 MB / 264.7 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009148/0.01646, allocations: 51.62 kB / 264.8 MB, free: 10.65 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001361/0.01782, allocations: 0.7299 MB / 265.5 MB, free: 9.918 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001524/0.01935, allocations: 0.881 MB / 266.4 MB, free: 9.031 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007907/0.02014, allocations: 466.9 kB / 266.9 MB, free: 8.574 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001696/0.02183, allocations: 2.501 MB / 269.4 MB, free: 6.066 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009076/0.02274, allocations: 0.9973 MB / 270.4 MB, free: 5.02 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001481/0.02422, allocations: 1.774 MB / 272.1 MB, free: 3.242 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001096/0.02532, allocations: 1.259 MB / 273.4 MB, free: 1.98 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002485/0.02557, allocations: 268 kB / 273.7 MB, free: 1.719 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004798/0.02605, allocations: 407.7 kB / 274 MB, free: 1.32 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004887/0.02653, allocations: 0.8062 MB / 274.9 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006553/0.02719, allocations: 0.8575 MB / 275.7 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002122/0.02931, allocations: 2.063 MB / 277.8 MB, free: 13.58 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.02931, allocations: 0 / 277.8 MB, free: 13.58 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.02932, allocations: 0 / 277.8 MB, free: 13.58 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.944e-05/0.02933, allocations: 0 / 277.8 MB, free: 13.58 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.003052/0.03239, allocations: 2.687 MB / 280.5 MB, free: 10.85 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.03242, allocations: 11.98 kB / 280.5 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005424/0.03297, allocations: 439.2 kB / 280.9 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.03405, allocations: 1.142 MB / 282 MB, free: 9.223 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.611e-05/0.03412, allocations: 147.7 kB / 282.2 MB, free: 9.078 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001792/0.0343, allocations: 191.9 kB / 282.4 MB, free: 8.891 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002003/0.0363, allocations: 1.414 MB / 283.8 MB, free: 7.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.915e-05/0.03634, allocations: 11.94 kB / 283.8 MB, free: 7.398 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001115/0.03645, allocations: 76 kB / 283.9 MB, free: 7.324 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.621e-05/0.03653, allocations: 95.67 kB / 284 MB, free: 7.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007802/0.03731, allocations: 0.5625 MB / 284.5 MB, free: 6.664 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00533/0.04264, allocations: 5.906 MB / 290.4 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009994/0.04364, allocations: 0.5746 MB / 291 MB, free: 15.98 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005485/0.04419, allocations: 441.4 kB / 291.4 MB, free: 15.55 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001187/0.04431, allocations: 52.92 kB / 291.5 MB, free: 15.49 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004438/0.04475, allocations: 0.4974 MB / 292 MB, free: 14.93 MB / 282.7 MB Notification: Performance of pre-optimization done (n=99): time 2.284e-06/0.04475, allocations: 0 / 292 MB, free: 14.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=121): time 0.00469/0.04944, allocations: 3.122 MB / 295.1 MB, free: 11.75 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.98e-05/0.04951, allocations: 196.9 kB / 295.3 MB, free: 11.52 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008108/0.05032, allocations: 1.09 MB / 296.4 MB, free: 10.41 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.63e-05/0.05038, allocations: 45.7 kB / 296.4 MB, free: 10.36 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00054/0.05092, allocations: 1.038 MB / 297.5 MB, free: 9.312 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003523/0.05127, allocations: 444.2 kB / 297.9 MB, free: 8.875 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002603/0.05153, allocations: 265.1 kB / 298.2 MB, free: 8.605 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.05168, allocations: 0.5393 MB / 298.7 MB, free: 8.059 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/0.0519, allocations: 163.9 kB / 298.9 MB, free: 7.898 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004929/0.0524, allocations: 0.7874 MB / 299.7 MB, free: 6.879 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007843/0.05318, allocations: 0.9435 MB / 300.6 MB, free: 5.746 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.05319, allocations: 8 kB / 300.6 MB, free: 5.738 MB / 282.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.001437/0.05462, allocations: 1.205 MB / 301.8 MB, free: 4.504 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.05465, allocations: 20.19 kB / 301.8 MB, free: 4.484 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.05466, allocations: 8 kB / 301.8 MB, free: 4.477 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005578/0.05522, allocations: 278.2 kB / 302.1 MB, free: 4.184 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005357/0.05575, allocations: 271.5 kB / 302.4 MB, free: 3.918 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003611/0.05936, allocations: 6.5 MB / 308.9 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000417/0.05978, allocations: 56.02 kB / 308.9 MB, free: 13.03 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.809e-05/0.05984, allocations: 47.98 kB / 309 MB, free: 12.98 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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.0003079/0.06015, allocations: 244.2 kB / 309.2 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002027/0.06035, allocations: 191.1 kB / 309.4 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001341/0.06169, allocations: 1.038 MB / 310.4 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.0617, allocations: 12 kB / 310.5 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.0617, allocations: 4 kB / 310.5 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.06171, allocations: 3.984 kB / 310.5 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003355/0.06507, allocations: 2.983 MB / 313.4 MB, free: 8.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.06507, allocations: 0 / 313.4 MB, free: 8.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003873/0.06546, allocations: 183.7 kB / 313.6 MB, free: 8.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006245/0.06609, allocations: 326 kB / 313.9 MB, free: 7.82 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.423e-05/0.06614, allocations: 35.98 kB / 314 MB, free: 7.785 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004137/0.07028, allocations: 8.184 MB / 322.2 MB, free: 15.15 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.07028, allocations: 7.938 kB / 322.2 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001638/0.07192, allocations: 1.543 MB / 323.7 MB, free: 13.51 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003079/0.07223, allocations: 242.9 kB / 324 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/0.07234, allocations: 28 kB / 324 MB, free: 13.24 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003352/0.07267, allocations: 43.97 kB / 324 MB, free: 13.2 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.07281, allocations: 112.7 kB / 324.1 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.587e-05/0.07286, allocations: 31.98 kB / 324.2 MB, free: 13.05 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004756/0.07333, allocations: 0.6041 MB / 324.8 MB, free: 12.45 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.07333, allocations: 0 / 324.8 MB, free: 12.45 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001039/0.07437, allocations: 439.9 kB / 325.2 MB, free: 12.02 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%), (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.0009387/0.07531, allocations: 489.1 kB / 325.7 MB, free: 11.57 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001718/0.07703, allocations: 1.384 MB / 327.1 MB, free: 10.13 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.07703, allocations: 0 / 327.1 MB, free: 10.13 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001095/0.07812, allocations: 1.222 MB / 328.3 MB, free: 8.832 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009403/0.07906, allocations: 360.3 kB / 328.6 MB, free: 8.48 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003908/0.08297, allocations: 3.573 MB / 332.2 MB, free: 4.797 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004027/0.08338, allocations: 0.5127 MB / 332.7 MB, free: 4.254 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004049/0.08378, allocations: 192 kB / 332.9 MB, free: 4.062 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008472/0.08463, allocations: 418 kB / 333.3 MB, free: 3.652 MB / 314.7 MB Notification: Performance of SimCode: time 8.21e-07/0.08463, allocations: 4 kB / 333.3 MB, free: 3.648 MB / 314.7 MB Notification: Performance of Templates: time 0.136/0.2206, allocations: 24.97 MB / 358.3 MB, free: 94.94 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.182010173331946]