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.0008935/0.0008935, 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.0009567/0.0009567, allocations: 166.4 kB / 25.7 MB, free: 8.406 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.8316/0.8316, allocations: 158.6 MB / 187.6 MB, free: 2.777 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.583e-06/1.583e-06, allocations: 0 / 251.5 MB, free: 7.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.489e-05/2.647e-05, allocations: 6.25 kB / 251.5 MB, free: 7.262 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.01248/0.01251, allocations: 11.35 MB / 262.9 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007733/0.02024, allocations: 3.894 MB / 266.8 MB, free: 7.945 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001907/0.02215, allocations: 75.44 kB / 266.9 MB, free: 7.871 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002102/0.02425, allocations: 0.8732 MB / 267.7 MB, free: 6.992 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002416/0.02666, allocations: 1.192 MB / 268.9 MB, free: 5.793 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007102/0.02737, allocations: 0.4992 MB / 269.4 MB, free: 5.293 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002721/0.0301, allocations: 4.415 MB / 273.8 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001414/0.03151, allocations: 1.789 MB / 275.6 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002324/0.03383, allocations: 3.041 MB / 278.7 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001805/0.03564, allocations: 2.171 MB / 280.8 MB, free: 9.754 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004519/0.03609, allocations: 496 kB / 281.3 MB, free: 9.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005844/0.03668, allocations: 0.5663 MB / 281.9 MB, free: 8.703 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000778/0.03745, allocations: 1.422 MB / 283.3 MB, free: 7.277 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001096/0.03855, allocations: 1.512 MB / 284.8 MB, free: 5.762 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002452/0.041, allocations: 3.551 MB / 288.4 MB, free: 2.199 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.04101, allocations: 0 / 288.4 MB, free: 2.199 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.04101, allocations: 0 / 288.4 MB, free: 2.199 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.163e-05/0.04105, allocations: 4 kB / 288.4 MB, free: 2.195 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.003936/0.04498, allocations: 3.963 MB / 292.3 MB, free: 14.18 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.04502, allocations: 11.98 kB / 292.4 MB, free: 14.17 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008204/0.04584, allocations: 0.5629 MB / 292.9 MB, free: 13.61 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00164/0.04748, allocations: 1.421 MB / 294.3 MB, free: 12.14 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/0.04759, allocations: 230.5 kB / 294.6 MB, free: 11.91 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002855/0.04788, allocations: 312.1 kB / 294.9 MB, free: 11.61 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002386/0.05026, allocations: 2.491 MB / 297.4 MB, free: 8.973 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.971e-05/0.05031, allocations: 7.891 kB / 297.4 MB, free: 8.965 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001922/0.0505, allocations: 128 kB / 297.5 MB, free: 8.84 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.539e-05/0.05059, allocations: 134 kB / 297.6 MB, free: 8.707 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001352/0.05194, allocations: 0.9316 MB / 298.6 MB, free: 7.75 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008025/0.05997, allocations: 8.497 MB / 307.1 MB, free: 14.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/0.06099, allocations: 1.075 MB / 308.1 MB, free: 13.82 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008045/0.0618, allocations: 0.6805 MB / 308.8 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001387/0.06194, allocations: 53.3 kB / 308.9 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.06197, allocations: 51.88 kB / 308.9 MB, free: 13.03 MB / 298.7 MB Notification: Performance of pre-optimization done (n=164): time 2.806e-06/0.06197, allocations: 3.938 kB / 308.9 MB, free: 13.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=180): time 0.005417/0.06739, allocations: 3.529 MB / 312.4 MB, free: 9.438 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.06742, allocations: 73.34 kB / 312.5 MB, free: 9.352 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.06848, allocations: 1.448 MB / 314 MB, free: 7.863 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.626e-05/0.06857, allocations: 57.7 kB / 314 MB, free: 7.801 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005612/0.06913, allocations: 1.21 MB / 315.2 MB, free: 6.578 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003396/0.06947, allocations: 0.6312 MB / 315.9 MB, free: 5.941 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003609/0.06983, allocations: 343.2 kB / 316.2 MB, free: 5.602 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.946e-05/0.06991, allocations: 305.1 kB / 316.5 MB, free: 5.301 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000354/0.07027, allocations: 242.7 kB / 316.7 MB, free: 5.062 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005234/0.07079, allocations: 0.6529 MB / 317.4 MB, free: 4.238 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009848/0.07177, allocations: 1.114 MB / 318.5 MB, free: 2.949 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.07178, allocations: 8 kB / 318.5 MB, free: 2.941 MB / 298.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.001674/0.07345, allocations: 1.354 MB / 319.9 MB, free: 1.551 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.07347, allocations: 12 kB / 319.9 MB, free: 1.539 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.07349, allocations: 12 kB / 319.9 MB, free: 1.527 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001026/0.07451, allocations: 0.4945 MB / 320.4 MB, free: 1.004 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008749/0.07539, allocations: 415.3 kB / 320.8 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003942/0.07933, allocations: 7.247 MB / 328 MB, free: 8.883 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006091/0.07994, allocations: 75.92 kB / 328.1 MB, free: 8.809 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.865e-05/0.08003, allocations: 64.02 kB / 328.2 MB, free: 8.746 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.0004756/0.0805, allocations: 236.2 kB / 328.4 MB, free: 8.504 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00026/0.08076, allocations: 203.7 kB / 328.6 MB, free: 8.305 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001534/0.0823, allocations: 1.257 MB / 329.9 MB, free: 7 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.0823, allocations: 20 kB / 329.9 MB, free: 6.98 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.08231, allocations: 4 kB / 329.9 MB, free: 6.977 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.08232, allocations: 7.969 kB / 329.9 MB, free: 6.969 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003582/0.0859, allocations: 2.974 MB / 332.9 MB, free: 3.895 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.08591, allocations: 4 kB / 332.9 MB, free: 3.891 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005981/0.0865, allocations: 263.8 kB / 333.1 MB, free: 3.633 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00117/0.08768, allocations: 0.6289 MB / 333.7 MB, free: 2.969 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.503e-05/0.08775, allocations: 39.98 kB / 333.8 MB, free: 2.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004758/0.09251, allocations: 9.69 MB / 343.5 MB, free: 8.574 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.09251, allocations: 4 kB / 343.5 MB, free: 8.57 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001941/0.09445, allocations: 1.702 MB / 345.2 MB, free: 6.785 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004426/0.0949, allocations: 314.4 kB / 345.5 MB, free: 6.477 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001714/0.09507, allocations: 32 kB / 345.5 MB, free: 6.445 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004922/0.09556, allocations: 79.95 kB / 345.6 MB, free: 6.367 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001943/0.09575, allocations: 145.7 kB / 345.7 MB, free: 6.223 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.263e-05/0.09582, allocations: 32 kB / 345.8 MB, free: 6.191 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005873/0.0964, allocations: 0.7401 MB / 346.5 MB, free: 5.426 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0964, allocations: 0 / 346.5 MB, free: 5.426 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001207/0.09761, allocations: 0.6875 MB / 347.2 MB, free: 4.738 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.0002669/0.09788, allocations: 184 kB / 347.4 MB, free: 4.551 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001555/0.09943, allocations: 1.693 MB / 349.1 MB, free: 2.789 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.779e-05/0.09946, allocations: 29.81 kB / 349.1 MB, free: 2.762 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001387/0.1008, allocations: 1.491 MB / 350.6 MB, free: 1.172 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001724/0.1026, allocations: 0.6245 MB / 351.2 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09596/0.1985, allocations: 5.349 MB / 356.6 MB, free: 92.81 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005408/0.1991, allocations: 0.7696 MB / 357.3 MB, free: 92.68 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006981/0.1998, allocations: 289.9 kB / 357.6 MB, free: 92.66 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009321/0.2007, allocations: 0.5735 MB / 358.2 MB, free: 92.59 MB / 330.7 MB Notification: Performance of SimCode: time 9.52e-07/0.2007, allocations: 0 / 358.2 MB, free: 92.59 MB / 330.7 MB Notification: Performance of Templates: time 0.03634/0.237, allocations: 42.08 MB / 400.3 MB, free: 56.39 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: 3.5133219910785556]