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.00101/0.00101, allocations: 84.3 kB / 22.21 MB, free: 2.289 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.001033/0.001033, allocations: 169.6 kB / 25.6 MB, free: 8.598 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 1.031/1.031, allocations: 158.6 MB / 187.5 MB, free: 2.793 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.843e-06/1.843e-06, allocations: 0 / 251.5 MB, free: 7.102 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.688e-05/2.872e-05, allocations: 2.312 kB / 251.5 MB, free: 7.098 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.01011/0.01014, allocations: 11.34 MB / 262.8 MB, free: 11.7 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008001/0.01814, allocations: 3.748 MB / 266.6 MB, free: 7.941 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00243/0.02057, allocations: 79.44 kB / 266.7 MB, free: 7.863 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00261/0.02318, allocations: 0.8693 MB / 267.5 MB, free: 6.988 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004918/0.0281, allocations: 1.184 MB / 268.7 MB, free: 5.797 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001649/0.02975, allocations: 0.4992 MB / 269.2 MB, free: 5.297 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.005584/0.03533, allocations: 4.407 MB / 273.6 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003355/0.03869, allocations: 1.738 MB / 275.3 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006879/0.04557, allocations: 3.064 MB / 278.4 MB, free: 11.99 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004803/0.05037, allocations: 2.186 MB / 280.6 MB, free: 9.797 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001845/0.05221, allocations: 496 kB / 281.1 MB, free: 9.312 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002432/0.05465, allocations: 0.5701 MB / 281.7 MB, free: 8.742 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002295/0.05694, allocations: 1.418 MB / 283.1 MB, free: 7.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004384/0.06132, allocations: 1.516 MB / 284.6 MB, free: 5.801 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006487/0.06781, allocations: 3.551 MB / 288.1 MB, free: 2.238 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.338e-06/0.06782, allocations: 0 / 288.1 MB, free: 2.238 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.06782, allocations: 0 / 288.1 MB, free: 2.238 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000276/0.0681, allocations: 0 / 288.1 MB, free: 2.238 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.008857/0.07696, allocations: 4.334 MB / 292.5 MB, free: 13.84 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.847e-05/0.07702, allocations: 15.98 kB / 292.5 MB, free: 13.82 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001875/0.0789, allocations: 0.6975 MB / 293.2 MB, free: 13.12 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002689/0.08159, allocations: 1.896 MB / 295.1 MB, free: 11.19 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001322/0.08172, allocations: 230.5 kB / 295.3 MB, free: 10.96 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000316/0.08204, allocations: 316.1 kB / 295.6 MB, free: 10.65 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003157/0.08519, allocations: 2.466 MB / 298.1 MB, free: 8.023 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.393e-05/0.08525, allocations: 7.953 kB / 298.1 MB, free: 8.016 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001776/0.08543, allocations: 124 kB / 298.2 MB, free: 7.895 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001021/0.08553, allocations: 130 kB / 298.3 MB, free: 7.766 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001446/0.08697, allocations: 0.9113 MB / 299.2 MB, free: 6.832 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01552/0.1025, allocations: 10.77 MB / 310 MB, free: 11.7 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001517/0.104, allocations: 1.081 MB / 311.1 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00114/0.1052, allocations: 0.73 MB / 311.8 MB, free: 9.887 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001812/0.1053, allocations: 69.2 kB / 311.9 MB, free: 9.82 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/0.1054, allocations: 58.64 kB / 312 MB, free: 9.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=164): time 4.378e-06/0.1054, allocations: 4 kB / 312 MB, free: 9.746 MB / 298.7 MB Notification: Performance of matching and sorting (n=180): time 0.007551/0.1129, allocations: 3.582 MB / 315.5 MB, free: 6.105 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.113, allocations: 69.41 kB / 315.6 MB, free: 6.023 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002024/0.115, allocations: 1.765 MB / 317.4 MB, free: 4.211 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001261/0.1151, allocations: 57.7 kB / 317.4 MB, free: 4.148 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001084/0.1162, allocations: 1.629 MB / 319.1 MB, free: 2.504 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004561/0.1167, allocations: 0.6508 MB / 319.7 MB, free: 1.848 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004358/0.1171, allocations: 388.9 kB / 320.1 MB, free: 1.461 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.1172, allocations: 480.7 kB / 320.6 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000402/0.1176, allocations: 239.8 kB / 320.8 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001032/0.1187, allocations: 0.8843 MB / 321.7 MB, free: 15.63 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/0.1199, allocations: 1.278 MB / 323 MB, free: 14.12 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.3e-05/0.1199, allocations: 7.938 kB / 323 MB, free: 14.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.002589/0.1225, allocations: 1.673 MB / 324.6 MB, free: 12.4 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.036e-05/0.1225, allocations: 12 kB / 324.6 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.003e-05/0.1225, allocations: 12 kB / 324.7 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001301/0.1238, allocations: 0.49 MB / 325.1 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009252/0.1247, allocations: 419.3 kB / 325.6 MB, free: 11.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007071/0.1318, allocations: 10.04 MB / 335.6 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001713/0.1335, allocations: 67.98 kB / 335.7 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/0.1336, allocations: 59.98 kB / 335.7 MB, free: 0.7109 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.0008543/0.1345, allocations: 284.1 kB / 336 MB, free: 432 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003886/0.1349, allocations: 314.3 kB / 336.3 MB, free: 116 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001925/0.1368, allocations: 1.467 MB / 337.8 MB, free: 14.6 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.1368, allocations: 16 kB / 337.8 MB, free: 14.58 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.306e-05/0.1368, allocations: 8 kB / 337.8 MB, free: 14.57 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.748e-05/0.1368, allocations: 15.89 kB / 337.8 MB, free: 14.56 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005401/0.1422, allocations: 3.483 MB / 341.3 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/0.1423, allocations: 0 / 341.3 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007197/0.143, allocations: 259.7 kB / 341.6 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001403/0.1444, allocations: 0.5554 MB / 342.1 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001363/0.1445, allocations: 39.98 kB / 342.1 MB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1558/0.3003, allocations: 13.53 MB / 355.7 MB, free: 87.59 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.3003, allocations: 2.188 kB / 355.7 MB, free: 87.59 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003169/0.3035, allocations: 1.992 MB / 357.7 MB, free: 87.15 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007492/0.3043, allocations: 400.5 kB / 358.1 MB, free: 87.15 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001934/0.3045, allocations: 38.5 kB / 358.1 MB, free: 87.15 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005525/0.305, allocations: 76.91 kB / 358.2 MB, free: 87.15 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002779/0.3053, allocations: 151.8 kB / 358.3 MB, free: 87.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.645e-05/0.3054, allocations: 33.25 kB / 358.4 MB, free: 87.14 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009442/0.3063, allocations: 0.9428 MB / 359.3 MB, free: 86.96 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3063, allocations: 3.75 kB / 359.3 MB, free: 86.96 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001744/0.308, allocations: 0.6902 MB / 360 MB, free: 86.96 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.0003459/0.3084, allocations: 212.7 kB / 360.2 MB, free: 86.87 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002037/0.3104, allocations: 2.074 MB / 362.3 MB, free: 85.92 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.3104, allocations: 3.688 kB / 362.3 MB, free: 85.92 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001472/0.3119, allocations: 1.932 MB / 364.2 MB, free: 84.67 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002071/0.314, allocations: 0.6288 MB / 364.8 MB, free: 84.64 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00879/0.3228, allocations: 5.573 MB / 370.4 MB, free: 81.97 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009498/0.3237, allocations: 0.9067 MB / 371.3 MB, free: 81.46 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001287/0.325, allocations: 283.1 kB / 371.6 MB, free: 81.25 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001039/0.326, allocations: 0.6546 MB / 372.2 MB, free: 80.72 MB / 330.7 MB Notification: Performance of SimCode: time 2.625e-06/0.326, allocations: 0 / 372.2 MB, free: 80.72 MB / 330.7 MB Notification: Performance of Templates: time 0.05322/0.3793, allocations: 42.33 MB / 414.6 MB, free: 40.14 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.197892506141216]