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.001153/0.001153, allocations: 75.77 kB / 22.45 MB, free: 2.094 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.001203/0.001203, allocations: 158.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.9299/0.9299, allocations: 158.6 MB / 187.5 MB, free: 2.945 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.412e-06/1.412e-06, allocations: 0 / 251.1 MB, free: 7.793 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.496e-05/1.637e-05, allocations: 2.312 kB / 251.1 MB, free: 7.789 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.009499/0.009516, allocations: 11.61 MB / 262.7 MB, free: 12.13 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005992/0.01551, allocations: 3.767 MB / 266.5 MB, free: 8.352 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001062/0.01657, allocations: 83.44 kB / 266.6 MB, free: 8.27 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001465/0.01803, allocations: 0.8654 MB / 267.4 MB, free: 7.398 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001958/0.01999, allocations: 1.176 MB / 268.6 MB, free: 6.215 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006839/0.02068, allocations: 0.4953 MB / 269.1 MB, free: 5.719 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003317/0.02399, allocations: 4.4 MB / 273.5 MB, free: 1.297 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001835/0.02583, allocations: 1.738 MB / 275.3 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002836/0.02867, allocations: 2.85 MB / 278.1 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002085/0.03075, allocations: 2.249 MB / 280.4 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004993/0.03125, allocations: 0.5 MB / 280.9 MB, free: 9.875 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006544/0.0319, allocations: 0.5895 MB / 281.4 MB, free: 9.285 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008795/0.03278, allocations: 1.476 MB / 282.9 MB, free: 7.805 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001263/0.03405, allocations: 1.544 MB / 284.5 MB, free: 6.258 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00273/0.03678, allocations: 3.606 MB / 288.1 MB, free: 2.641 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.03678, allocations: 0 / 288.1 MB, free: 2.641 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.03678, allocations: 0 / 288.1 MB, free: 2.641 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.181e-05/0.03683, allocations: 0 / 288.1 MB, free: 2.641 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.005996/0.04282, allocations: 4.542 MB / 292.6 MB, free: 14.04 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.957e-05/0.04288, allocations: 15.98 kB / 292.6 MB, free: 14.02 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001393/0.04427, allocations: 0.7052 MB / 293.3 MB, free: 13.31 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003211/0.04749, allocations: 2.038 MB / 295.4 MB, free: 11.23 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000151/0.04764, allocations: 230.5 kB / 295.6 MB, free: 11 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004091/0.04805, allocations: 312.1 kB / 295.9 MB, free: 10.7 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004113/0.05216, allocations: 2.669 MB / 298.6 MB, free: 7.867 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.011e-05/0.05223, allocations: 11.94 kB / 298.6 MB, free: 7.855 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002146/0.05244, allocations: 124 kB / 298.7 MB, free: 7.734 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000111/0.05255, allocations: 134 kB / 298.8 MB, free: 7.602 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002795/0.05535, allocations: 1.175 MB / 300 MB, free: 6.414 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01352/0.06887, allocations: 11.08 MB / 311.1 MB, free: 10.97 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/0.07034, allocations: 1.149 MB / 312.2 MB, free: 9.82 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00149/0.07183, allocations: 0.8277 MB / 313.1 MB, free: 8.996 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002051/0.07204, allocations: 57.28 kB / 313.1 MB, free: 8.941 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.496e-05/0.07208, allocations: 62.64 kB / 313.2 MB, free: 8.867 MB / 298.7 MB Notification: Performance of pre-optimization done (n=164): time 4.559e-06/0.07209, allocations: 0 / 313.2 MB, free: 8.867 MB / 298.7 MB Notification: Performance of matching and sorting (n=180): time 0.008642/0.08073, allocations: 4.559 MB / 317.7 MB, free: 4.242 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.08077, allocations: 69.41 kB / 317.8 MB, free: 4.16 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002259/0.08303, allocations: 1.824 MB / 319.6 MB, free: 2.289 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.433e-05/0.08312, allocations: 57.7 kB / 319.7 MB, free: 2.227 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001181/0.0843, allocations: 1.618 MB / 321.3 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004996/0.0848, allocations: 0.6394 MB / 321.9 MB, free: 15.95 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005047/0.08531, allocations: 385.1 kB / 322.3 MB, free: 15.56 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.08543, allocations: 480.5 kB / 322.8 MB, free: 15.09 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006138/0.08605, allocations: 335.8 kB / 323.1 MB, free: 14.77 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000889/0.08694, allocations: 0.9509 MB / 324.1 MB, free: 13.57 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001629/0.08857, allocations: 1.411 MB / 325.5 MB, free: 11.93 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-05/0.08858, allocations: 4 kB / 325.5 MB, free: 11.92 MB / 314.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.003517/0.0921, allocations: 1.856 MB / 327.3 MB, free: 10.03 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.115e-05/0.09213, allocations: 8 kB / 327.3 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.681e-05/0.09215, allocations: 16.5 kB / 327.4 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001523/0.09368, allocations: 0.5119 MB / 327.9 MB, free: 9.465 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009519/0.09463, allocations: 459.3 kB / 328.3 MB, free: 9.016 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005919/0.1005, allocations: 10.3 MB / 338.6 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/0.1017, allocations: 123.8 kB / 338.7 MB, free: 13.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/0.1018, allocations: 83.92 kB / 338.8 MB, free: 13.9 MB / 330.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.0007554/0.1026, allocations: 284.2 kB / 339.1 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003819/0.103, allocations: 302.4 kB / 339.4 MB, free: 13.31 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002278/0.1052, allocations: 1.623 MB / 341 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.1052, allocations: 23.98 kB / 341 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.1053, allocations: 4 kB / 341 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/0.1053, allocations: 15.95 kB / 341.1 MB, free: 11.6 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005849/0.1111, allocations: 4.314 MB / 345.4 MB, free: 7.164 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.1111, allocations: 4 kB / 345.4 MB, free: 7.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006823/0.1118, allocations: 287.8 kB / 345.7 MB, free: 6.879 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001355/0.1132, allocations: 0.6092 MB / 346.3 MB, free: 6.238 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.254e-05/0.1132, allocations: 43.92 kB / 346.3 MB, free: 6.195 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1139/0.2271, allocations: 13.95 MB / 360.3 MB, free: 90.99 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.2271, allocations: 3.562 kB / 360.3 MB, free: 90.99 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002964/0.2301, allocations: 2.228 MB / 362.5 MB, free: 90.54 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006163/0.2307, allocations: 462.9 kB / 363 MB, free: 90.54 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001923/0.2309, allocations: 33.77 kB / 363 MB, free: 90.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006111/0.2315, allocations: 125.4 kB / 363.1 MB, free: 90.53 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000278/0.2318, allocations: 162.4 kB / 363.3 MB, free: 90.53 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.5e-05/0.2319, allocations: 51.98 kB / 363.3 MB, free: 90.53 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009682/0.2328, allocations: 1.041 MB / 364.4 MB, free: 90.34 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2328, allocations: 0 / 364.4 MB, free: 90.34 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001313/0.2341, allocations: 0.7039 MB / 365.1 MB, free: 90.34 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%), (2,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.0002837/0.2344, allocations: 205.4 kB / 365.3 MB, free: 90.25 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002017/0.2364, allocations: 2.247 MB / 367.5 MB, free: 89.25 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.2364, allocations: 0 / 367.5 MB, free: 89.25 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001431/0.2379, allocations: 2.094 MB / 369.6 MB, free: 87.96 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001373/0.2392, allocations: 0.6372 MB / 370.2 MB, free: 87.93 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005579/0.2448, allocations: 5.654 MB / 375.9 MB, free: 83.29 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005483/0.2454, allocations: 0.9018 MB / 376.8 MB, free: 82.63 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007471/0.2461, allocations: 449.8 kB / 377.2 MB, free: 82.34 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002938/0.2464, allocations: 152.2 kB / 377.4 MB, free: 82.19 MB / 330.7 MB Notification: Performance of SimCode: time 9.92e-07/0.2464, allocations: 0 / 377.4 MB, free: 82.19 MB / 330.7 MB Notification: Performance of Templates: time 0.03587/0.2823, allocations: 40.88 MB / 418.3 MB, free: 41.32 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 -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: 4.0006709091831]