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.0009356/0.0009356, allocations: 85.95 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.001042/0.001042, allocations: 172.1 kB / 26.39 MB, free: 8 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.8848/0.8848, allocations: 158.6 MB / 188.3 MB, free: 2.812 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.423e-06/1.423e-06, allocations: 0 / 252.3 MB, free: 7.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.59e-05/1.732e-05, allocations: 2.312 kB / 252.3 MB, free: 7.246 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.01002/0.01004, allocations: 11.34 MB / 263.6 MB, free: 11.85 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007973/0.01802, allocations: 3.752 MB / 267.4 MB, free: 8.086 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001838/0.01985, allocations: 79.44 kB / 267.4 MB, free: 8.008 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001959/0.02181, allocations: 0.8655 MB / 268.3 MB, free: 7.137 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002493/0.02431, allocations: 1.188 MB / 269.5 MB, free: 5.941 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008536/0.02516, allocations: 0.5031 MB / 270 MB, free: 5.438 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003809/0.02897, allocations: 4.396 MB / 274.4 MB, free: 1.02 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001879/0.03085, allocations: 1.742 MB / 276.1 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003308/0.03416, allocations: 3.053 MB / 279.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002009/0.03617, allocations: 2.198 MB / 281.4 MB, free: 9.941 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004847/0.03665, allocations: 492 kB / 281.9 MB, free: 9.461 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006675/0.03732, allocations: 0.5662 MB / 282.4 MB, free: 8.895 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008503/0.03817, allocations: 1.418 MB / 283.8 MB, free: 7.473 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001283/0.03945, allocations: 1.516 MB / 285.4 MB, free: 5.953 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002749/0.0422, allocations: 3.548 MB / 288.9 MB, free: 2.395 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.0422, allocations: 0 / 288.9 MB, free: 2.395 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.04221, allocations: 0 / 288.9 MB, free: 2.395 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.233e-05/0.04226, allocations: 4 kB / 288.9 MB, free: 2.391 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.004828/0.04709, allocations: 4.338 MB / 293.3 MB, free: 13.99 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.04713, allocations: 11.98 kB / 293.3 MB, free: 13.98 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008948/0.04802, allocations: 0.6975 MB / 294 MB, free: 13.28 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001949/0.04997, allocations: 1.892 MB / 295.9 MB, free: 11.34 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001361/0.05011, allocations: 230.5 kB / 296.1 MB, free: 11.12 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003009/0.05041, allocations: 316.1 kB / 296.4 MB, free: 10.81 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002794/0.0532, allocations: 2.462 MB / 298.8 MB, free: 8.188 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.505e-05/0.05327, allocations: 19.92 kB / 298.9 MB, free: 8.168 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001965/0.05346, allocations: 128 kB / 299 MB, free: 8.043 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001025/0.05357, allocations: 129.9 kB / 299.1 MB, free: 7.914 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001425/0.05499, allocations: 0.9113 MB / 300 MB, free: 6.98 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01056/0.06555, allocations: 10.76 MB / 310.8 MB, free: 11.85 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001361/0.06691, allocations: 1.089 MB / 311.9 MB, free: 10.76 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009228/0.06784, allocations: 0.73 MB / 312.6 MB, free: 10.03 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001532/0.06799, allocations: 53.28 kB / 312.7 MB, free: 9.98 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.06803, allocations: 54.7 kB / 312.7 MB, free: 9.914 MB / 298.7 MB Notification: Performance of pre-optimization done (n=164): time 3.146e-06/0.06803, allocations: 0 / 312.7 MB, free: 9.914 MB / 298.7 MB Notification: Performance of matching and sorting (n=180): time 0.006643/0.07467, allocations: 3.586 MB / 316.3 MB, free: 6.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.07472, allocations: 69.41 kB / 316.4 MB, free: 6.188 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001674/0.07639, allocations: 1.765 MB / 318.1 MB, free: 4.375 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.162e-05/0.07648, allocations: 57.7 kB / 318.2 MB, free: 4.312 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009028/0.07739, allocations: 1.625 MB / 319.8 MB, free: 2.672 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000401/0.07779, allocations: 0.6586 MB / 320.5 MB, free: 2.008 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004325/0.07822, allocations: 396.9 kB / 320.9 MB, free: 1.613 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.07833, allocations: 476.8 kB / 321.3 MB, free: 1.145 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003714/0.07871, allocations: 243.8 kB / 321.6 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009445/0.07965, allocations: 0.8727 MB / 322.4 MB, free: 15.8 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/0.08078, allocations: 1.275 MB / 323.7 MB, free: 14.29 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.427e-06/0.08079, allocations: 7.938 kB / 323.7 MB, free: 14.28 MB / 314.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.002341/0.08313, allocations: 1.689 MB / 325.4 MB, free: 12.55 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.08316, allocations: 8 kB / 325.4 MB, free: 12.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/0.08317, allocations: 16 kB / 325.4 MB, free: 12.53 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001147/0.08432, allocations: 0.4972 MB / 325.9 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008733/0.08519, allocations: 411.4 kB / 326.3 MB, free: 11.6 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00602/0.09121, allocations: 10.03 MB / 336.4 MB, free: 1 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008335/0.09205, allocations: 71.97 kB / 336.4 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.863e-05/0.09214, allocations: 56 kB / 336.5 MB, free: 0.875 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.0006371/0.09277, allocations: 288.2 kB / 336.8 MB, free: 0.582 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003272/0.0931, allocations: 306.4 kB / 337.1 MB, free: 288 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001889/0.09499, allocations: 1.467 MB / 338.5 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.417e-06/0.095, allocations: 16 kB / 338.6 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.09501, allocations: 8 kB / 338.6 MB, free: 14.74 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/0.09502, allocations: 11.91 kB / 338.6 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004453/0.09947, allocations: 3.487 MB / 342.1 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.09948, allocations: 0 / 342.1 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000633/0.1001, allocations: 267.8 kB / 342.3 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001485/0.1016, allocations: 0.5592 MB / 342.9 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.168e-05/0.1017, allocations: 39.98 kB / 342.9 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1535/0.2552, allocations: 13.52 MB / 356.4 MB, free: 87.77 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.2552, allocations: 2.062 kB / 356.4 MB, free: 87.77 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003231/0.2584, allocations: 1.992 MB / 358.4 MB, free: 87.33 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007017/0.2591, allocations: 403.1 kB / 358.8 MB, free: 87.33 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002005/0.2593, allocations: 43.44 kB / 358.9 MB, free: 87.33 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005912/0.2599, allocations: 70.97 kB / 358.9 MB, free: 87.33 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002752/0.2602, allocations: 145.6 kB / 359.1 MB, free: 87.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.436e-05/0.2602, allocations: 37.17 kB / 359.1 MB, free: 87.32 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008948/0.2611, allocations: 0.9435 MB / 360.1 MB, free: 87.14 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2611, allocations: 0 / 360.1 MB, free: 87.14 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001636/0.2627, allocations: 0.6869 MB / 360.7 MB, free: 87.14 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.000328/0.2631, allocations: 211.2 kB / 361 MB, free: 87.05 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001981/0.2651, allocations: 2.077 MB / 363 MB, free: 86.1 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.2651, allocations: 0 / 363 MB, free: 86.1 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001249/0.2663, allocations: 1.932 MB / 365 MB, free: 84.85 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/0.2678, allocations: 0.6361 MB / 365.6 MB, free: 84.82 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005964/0.2737, allocations: 5.564 MB / 371.2 MB, free: 82.11 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006253/0.2743, allocations: 0.9026 MB / 372.1 MB, free: 81.6 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006559/0.275, allocations: 282 kB / 372.3 MB, free: 81.39 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000931/0.2759, allocations: 0.656 MB / 373 MB, free: 80.86 MB / 330.7 MB Notification: Performance of SimCode: time 7.52e-07/0.2759, allocations: 0 / 373 MB, free: 80.86 MB / 330.7 MB Notification: Performance of Templates: time 0.04459/0.3205, allocations: 43.1 MB / 416.1 MB, free: 39.43 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.05325148999691]