Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.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.0009518/0.0009518, allocations: 80.92 kB / 22.29 MB, free: 2.207 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.0009751/0.0009751, allocations: 166 kB / 25.7 MB, free: 8.438 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.9153/0.9153, allocations: 158.6 MB / 187.6 MB, free: 2.781 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.AIMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|// aims.i_0_r|aimc.ir.[0-9,]+.|aims.idq_rr.[0-9,]+.|aimc.is.[0-9,]+.|aims.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|// aims.i_0_r|aimc.ir.[0-9,]+.|aims.idq_rr.[0-9,]+.|aimc.is.[0-9,]+.|aims.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 251.6 MB, free: 7.215 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.877e-05/2.006e-05, allocations: 2.312 kB / 251.6 MB, free: 7.211 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.01252/0.01254, allocations: 11.41 MB / 263 MB, free: 11.75 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006555/0.0191, allocations: 3.891 MB / 266.9 MB, free: 7.844 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007183/0.01982, allocations: 79.44 kB / 267 MB, free: 7.766 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001298/0.02112, allocations: 0.8849 MB / 267.8 MB, free: 6.875 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001653/0.02277, allocations: 1.184 MB / 269 MB, free: 5.684 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006053/0.02337, allocations: 0.5031 MB / 269.5 MB, free: 5.18 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002857/0.02623, allocations: 4.406 MB / 273.9 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001538/0.02777, allocations: 1.789 MB / 275.7 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002509/0.03028, allocations: 3.041 MB / 278.8 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001996/0.03227, allocations: 2.179 MB / 280.9 MB, free: 9.641 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004955/0.03277, allocations: 492 kB / 281.4 MB, free: 9.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006479/0.03342, allocations: 0.5624 MB / 282 MB, free: 8.598 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000824/0.03424, allocations: 1.426 MB / 283.4 MB, free: 7.168 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00115/0.03539, allocations: 1.516 MB / 284.9 MB, free: 5.648 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002512/0.0379, allocations: 3.548 MB / 288.5 MB, free: 2.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.03791, allocations: 0 / 288.5 MB, free: 2.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.03791, allocations: 0 / 288.5 MB, free: 2.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.542e-05/0.03795, allocations: 3.984 kB / 288.5 MB, free: 2.086 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.003943/0.04189, allocations: 3.967 MB / 292.4 MB, free: 14.07 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.04192, allocations: 15.92 kB / 292.5 MB, free: 14.05 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008324/0.04275, allocations: 0.5629 MB / 293 MB, free: 13.49 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001656/0.04441, allocations: 1.409 MB / 294.4 MB, free: 12.04 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/0.04452, allocations: 234.5 kB / 294.7 MB, free: 11.8 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002764/0.0448, allocations: 312.1 kB / 295 MB, free: 11.5 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002412/0.04721, allocations: 2.491 MB / 297.5 MB, free: 8.863 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.178e-05/0.04726, allocations: 11.89 kB / 297.5 MB, free: 8.852 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001816/0.04744, allocations: 132 kB / 297.6 MB, free: 8.723 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.988e-05/0.04754, allocations: 134 kB / 297.7 MB, free: 8.59 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00138/0.04892, allocations: 0.9316 MB / 298.7 MB, free: 7.633 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008243/0.05717, allocations: 8.501 MB / 307.2 MB, free: 14.79 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.05822, allocations: 1.071 MB / 308.2 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008522/0.05907, allocations: 0.6766 MB / 308.9 MB, free: 13.03 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001651/0.05924, allocations: 57.28 kB / 309 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.469e-05/0.05928, allocations: 51.88 kB / 309 MB, free: 12.91 MB / 298.7 MB Notification: Performance of pre-optimization done (n=164): time 3.807e-06/0.05928, allocations: 0 / 309 MB, free: 12.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=180): time 0.005543/0.06483, allocations: 3.541 MB / 312.6 MB, free: 9.316 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.06486, allocations: 73.41 kB / 312.6 MB, free: 9.23 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/0.06593, allocations: 1.444 MB / 314.1 MB, free: 7.746 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.93e-05/0.066, allocations: 57.7 kB / 314.1 MB, free: 7.684 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005112/0.06652, allocations: 1.206 MB / 315.3 MB, free: 6.465 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000301/0.06682, allocations: 0.6312 MB / 316 MB, free: 5.828 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003433/0.06716, allocations: 347.2 kB / 316.3 MB, free: 5.484 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.528e-05/0.06723, allocations: 305.1 kB / 316.6 MB, free: 5.184 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003529/0.06758, allocations: 242.7 kB / 316.8 MB, free: 4.945 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00052/0.0681, allocations: 0.649 MB / 317.5 MB, free: 4.125 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009763/0.06907, allocations: 1.118 MB / 318.6 MB, free: 2.832 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.06908, allocations: 4 kB / 318.6 MB, free: 2.828 MB / 298.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.001666/0.07075, allocations: 1.353 MB / 320 MB, free: 1.438 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.07076, allocations: 15.98 kB / 320 MB, free: 1.422 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.07078, allocations: 12 kB / 320 MB, free: 1.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/0.0718, allocations: 0.4947 MB / 320.5 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/0.07297, allocations: 0.5733 MB / 321.1 MB, free: 324 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004184/0.07716, allocations: 7.263 MB / 328.3 MB, free: 8.582 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005735/0.07773, allocations: 71.88 kB / 328.4 MB, free: 8.512 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.156e-05/0.07782, allocations: 63.98 kB / 328.5 MB, free: 8.449 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 6 (switchedRheostat.booleanStep[3].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (220): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * 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): 5 systems {(2,14,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004242/0.07824, allocations: 240.2 kB / 328.7 MB, free: 8.203 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002621/0.07851, allocations: 203.7 kB / 328.9 MB, free: 8.004 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001568/0.08007, allocations: 1.265 MB / 330.2 MB, free: 6.691 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.846e-06/0.08008, allocations: 16 kB / 330.2 MB, free: 6.676 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.08009, allocations: 8 kB / 330.2 MB, free: 6.668 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.0801, allocations: 11.95 kB / 330.2 MB, free: 6.656 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003652/0.08375, allocations: 2.97 MB / 333.2 MB, free: 3.586 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.08376, allocations: 4.031 kB / 333.2 MB, free: 3.582 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000953/0.08471, allocations: 457.6 kB / 333.6 MB, free: 3.133 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001102/0.08581, allocations: 0.5517 MB / 334.2 MB, free: 2.551 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.35e-05/0.0859, allocations: 43.97 kB / 334.2 MB, free: 2.508 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00521/0.09111, allocations: 9.701 MB / 343.9 MB, free: 8.137 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.09111, allocations: 3.984 kB / 343.9 MB, free: 8.133 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00205/0.09316, allocations: 1.705 MB / 345.6 MB, free: 6.344 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004715/0.09363, allocations: 306.5 kB / 345.9 MB, free: 6.043 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001624/0.09379, allocations: 39.98 kB / 346 MB, free: 6.004 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005125/0.09431, allocations: 75.95 kB / 346 MB, free: 5.93 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002504/0.09456, allocations: 145.6 kB / 346.2 MB, free: 5.785 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.711e-05/0.09462, allocations: 39.98 kB / 346.2 MB, free: 5.746 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006226/0.09525, allocations: 0.744 MB / 347 MB, free: 4.977 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.09525, allocations: 0 / 347 MB, free: 4.977 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001225/0.09647, allocations: 0.6836 MB / 347.6 MB, free: 4.293 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aims.inertiaRotor.w,aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 7 * 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): 7 systems {(2,14,100.0%), (1,1,100.0%), (1,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.0002641/0.09674, allocations: 188 kB / 347.8 MB, free: 4.102 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001617/0.09835, allocations: 1.686 MB / 349.5 MB, free: 2.348 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-05/0.09838, allocations: 33.81 kB / 349.5 MB, free: 2.316 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001153/0.09953, allocations: 1.487 MB / 351 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/0.1008, allocations: 0.6286 MB / 351.7 MB, free: 112 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.109/0.2098, allocations: 5.345 MB / 357 MB, free: 92.62 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006558/0.2105, allocations: 0.7684 MB / 357.8 MB, free: 92.5 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009152/0.2114, allocations: 288.7 kB / 358.1 MB, free: 92.47 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009941/0.2124, allocations: 0.5804 MB / 358.6 MB, free: 92.41 MB / 330.7 MB Notification: Performance of SimCode: time 2.274e-06/0.2124, allocations: 0 / 358.6 MB, free: 92.41 MB / 330.7 MB Notification: Performance of Templates: time 0.04193/0.2543, allocations: 42.25 MB / 400.9 MB, free: 55.87 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMS_Start/AIMS_Start.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable aims.i_0_r in file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start_res.mat. Warning: Get data of variable aims.i_0_r from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.665414245799184]