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.002153/0.002153, allocations: 75.75 kB / 21.97 MB, free: 2.605 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.001401/0.001401, allocations: 172.8 kB / 25.33 MB, free: 9.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.974/0.974, allocations: 158.6 MB / 187.2 MB, free: 2.516 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.532e-06/1.532e-06, allocations: 0 / 251.1 MB, free: 3.578 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.299e-05/2.453e-05, allocations: 2.312 kB / 251.1 MB, free: 3.574 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.01143/0.01146, allocations: 11.66 MB / 262.7 MB, free: 7.867 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007928/0.01939, allocations: 3.771 MB / 266.5 MB, free: 4.082 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001937/0.02132, allocations: 79.44 kB / 266.6 MB, free: 4.004 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001913/0.02324, allocations: 0.8654 MB / 267.4 MB, free: 3.133 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002673/0.02591, allocations: 1.188 MB / 268.6 MB, free: 1.938 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009086/0.02682, allocations: 0.4954 MB / 269.1 MB, free: 1.441 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003674/0.03049, allocations: 4.4 MB / 273.5 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002027/0.03252, allocations: 1.746 MB / 275.3 MB, free: 11.2 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003307/0.03583, allocations: 2.846 MB / 278.1 MB, free: 8.348 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002844/0.03867, allocations: 2.253 MB / 280.4 MB, free: 6.09 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00109/0.03976, allocations: 0.4961 MB / 280.9 MB, free: 5.594 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000894/0.04066, allocations: 0.5818 MB / 281.4 MB, free: 5.012 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009671/0.04162, allocations: 1.484 MB / 282.9 MB, free: 3.523 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001833/0.04346, allocations: 1.544 MB / 284.5 MB, free: 1.977 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00338/0.04684, allocations: 3.614 MB / 288.1 MB, free: 14.35 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.04684, allocations: 0 / 288.1 MB, free: 14.35 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.04684, allocations: 0 / 288.1 MB, free: 14.35 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.935e-05/0.04692, allocations: 0 / 288.1 MB, free: 14.35 MB / 282.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.005056/0.05198, allocations: 4.542 MB / 292.6 MB, free: 9.746 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.05203, allocations: 11.98 kB / 292.6 MB, free: 9.734 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009372/0.05297, allocations: 0.7091 MB / 293.3 MB, free: 9.023 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00239/0.05536, allocations: 2.031 MB / 295.4 MB, free: 6.949 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001286/0.05548, allocations: 234.5 kB / 295.6 MB, free: 6.719 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002997/0.05578, allocations: 312.1 kB / 295.9 MB, free: 6.414 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003318/0.0591, allocations: 2.669 MB / 298.6 MB, free: 3.582 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.162e-05/0.05915, allocations: 7.938 kB / 298.6 MB, free: 3.574 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001894/0.05934, allocations: 128 kB / 298.7 MB, free: 3.449 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-05/0.05943, allocations: 134 kB / 298.8 MB, free: 3.316 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002201/0.06164, allocations: 1.171 MB / 300 MB, free: 2.133 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1451/0.2068, allocations: 11.07 MB / 311.1 MB, free: 46.64 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001948/0.2087, allocations: 1.161 MB / 312.2 MB, free: 46.39 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00149/0.2102, allocations: 0.8174 MB / 313.1 MB, free: 46.23 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002093/0.2104, allocations: 62.67 kB / 313.1 MB, free: 46.23 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/0.2105, allocations: 53.58 kB / 313.2 MB, free: 46.17 MB / 282.7 MB Notification: Performance of pre-optimization done (n=164): time 4.739e-06/0.2105, allocations: 0 / 313.2 MB, free: 46.17 MB / 282.7 MB Notification: Performance of matching and sorting (n=180): time 0.009347/0.2198, allocations: 4.562 MB / 317.7 MB, free: 44.59 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/0.2199, allocations: 75.56 kB / 317.8 MB, free: 44.52 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002242/0.2221, allocations: 1.828 MB / 319.6 MB, free: 43.79 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.301e-05/0.2222, allocations: 59.77 kB / 319.7 MB, free: 43.73 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007207/0.2229, allocations: 1.609 MB / 321.3 MB, free: 42.68 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003582/0.2233, allocations: 0.6476 MB / 322 MB, free: 42.25 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004697/0.2237, allocations: 381 kB / 322.3 MB, free: 42.05 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.942e-05/0.2238, allocations: 484.5 kB / 322.8 MB, free: 41.58 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007061/0.2245, allocations: 318.1 kB / 323.1 MB, free: 41.52 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008836/0.2254, allocations: 0.9504 MB / 324.1 MB, free: 40.64 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001829/0.2272, allocations: 1.414 MB / 325.5 MB, free: 39.34 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.298e-05/0.2272, allocations: 4 kB / 325.5 MB, free: 39.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.003162/0.2304, allocations: 1.863 MB / 327.3 MB, free: 37.52 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.24e-05/0.2304, allocations: 12.56 kB / 327.4 MB, free: 37.51 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.029e-05/0.2304, allocations: 16 kB / 327.4 MB, free: 37.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001494/0.2319, allocations: 0.5057 MB / 327.9 MB, free: 36.96 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/0.2332, allocations: 463.2 kB / 328.3 MB, free: 36.51 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005111/0.2383, allocations: 10.29 MB / 338.6 MB, free: 25.63 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/0.2397, allocations: 119.9 kB / 338.7 MB, free: 25.52 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001392/0.2398, allocations: 79.98 kB / 338.8 MB, free: 25.44 MB / 282.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.0007618/0.2406, allocations: 281.3 kB / 339.1 MB, free: 25.16 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004203/0.241, allocations: 303.6 kB / 339.4 MB, free: 24.86 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002792/0.2438, allocations: 1.632 MB / 341 MB, free: 23.18 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.2438, allocations: 20 kB / 341 MB, free: 23.16 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.2438, allocations: 4 kB / 341 MB, free: 23.16 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.2438, allocations: 7.969 kB / 341.1 MB, free: 23.15 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006995/0.2508, allocations: 4.322 MB / 345.4 MB, free: 18.76 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.2508, allocations: 4 kB / 345.4 MB, free: 18.76 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008485/0.2517, allocations: 291.6 kB / 345.7 MB, free: 18.47 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001334/0.253, allocations: 0.6109 MB / 346.3 MB, free: 17.83 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.675e-05/0.2531, allocations: 39.98 kB / 346.3 MB, free: 17.79 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004868/0.258, allocations: 13.98 MB / 360.3 MB, free: 2.984 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.258, allocations: 0 / 360.3 MB, free: 2.984 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002755/0.2607, allocations: 2.215 MB / 362.5 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007687/0.2615, allocations: 471.3 kB / 363 MB, free: 232 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000205/0.2617, allocations: 43.98 kB / 363 MB, free: 188 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006438/0.2623, allocations: 119.9 kB / 363.1 MB, free: 68 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003353/0.2627, allocations: 161.7 kB / 363.3 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.766e-05/0.2627, allocations: 44 kB / 363.3 MB, free: 15.86 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001284/0.264, allocations: 1.038 MB / 364.4 MB, free: 14.8 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.264, allocations: 4 kB / 364.4 MB, free: 14.8 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001829/0.2659, allocations: 0.705 MB / 365.1 MB, free: 14.1 MB / 298.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.0003404/0.2662, allocations: 209.8 kB / 365.3 MB, free: 13.89 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002695/0.2689, allocations: 2.25 MB / 367.5 MB, free: 11.55 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.2689, allocations: 0 / 367.5 MB, free: 11.55 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001865/0.2708, allocations: 2.1 MB / 369.6 MB, free: 9.316 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001931/0.2727, allocations: 0.6313 MB / 370.3 MB, free: 8.695 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008886/0.2816, allocations: 5.631 MB / 375.9 MB, free: 3 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009481/0.2825, allocations: 0.9027 MB / 376.8 MB, free: 2.074 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.001226/0.2838, allocations: 450.9 kB / 377.2 MB, free: 1.629 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003947/0.2842, allocations: 161.1 kB / 377.4 MB, free: 1.473 MB / 298.7 MB Notification: Performance of SimCode: time 2.004e-06/0.2842, allocations: 0 / 377.4 MB, free: 1.473 MB / 298.7 MB Notification: Performance of Templates: time 0.05318/0.3373, allocations: 40.87 MB / 418.3 MB, free: 8.566 MB / 346.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.19420714629814]