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.001021/0.001021, allocations: 79.73 kB / 21.97 MB, free: 2.602 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.0009607/0.0009607, allocations: 173.3 kB / 25.33 MB, free: 9.457 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.8509/0.8509, allocations: 158.6 MB / 187.2 MB, free: 2.535 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.403e-06/1.403e-06, allocations: 0 / 251.1 MB, free: 3.566 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.585e-05/1.725e-05, allocations: 6.25 kB / 251.1 MB, free: 3.559 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.009567/0.009584, allocations: 11.66 MB / 262.7 MB, free: 7.852 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006058/0.01564, allocations: 3.775 MB / 266.5 MB, free: 4.062 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001104/0.01675, allocations: 79.44 kB / 266.6 MB, free: 3.984 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001446/0.01819, allocations: 0.8693 MB / 267.5 MB, free: 3.109 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002085/0.02028, allocations: 1.18 MB / 268.6 MB, free: 1.922 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000755/0.02103, allocations: 0.507 MB / 269.1 MB, free: 1.414 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003756/0.02479, allocations: 4.4 MB / 273.5 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001684/0.02647, allocations: 1.738 MB / 275.3 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003183/0.02966, allocations: 3.053 MB / 278.3 MB, free: 8.117 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002088/0.03174, allocations: 2.186 MB / 280.5 MB, free: 5.926 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004357/0.03218, allocations: 492 kB / 281 MB, free: 5.445 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006459/0.03283, allocations: 0.5662 MB / 281.6 MB, free: 4.879 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007661/0.03359, allocations: 1.422 MB / 283 MB, free: 3.453 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001099/0.03469, allocations: 1.516 MB / 284.5 MB, free: 1.934 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003054/0.03774, allocations: 3.551 MB / 288.1 MB, free: 14.37 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.03775, allocations: 0 / 288.1 MB, free: 14.37 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.03775, allocations: 0 / 288.1 MB, free: 14.37 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.64e-05/0.03778, allocations: 0 / 288.1 MB, free: 14.37 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.004196/0.04198, allocations: 4.472 MB / 292.5 MB, free: 9.836 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.689e-05/0.04201, allocations: 11.98 kB / 292.5 MB, free: 9.824 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008419/0.04285, allocations: 0.7053 MB / 293.2 MB, free: 9.117 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00219/0.04504, allocations: 2.021 MB / 295.3 MB, free: 7.055 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/0.04515, allocations: 234.5 kB / 295.5 MB, free: 6.824 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002795/0.04543, allocations: 312.1 kB / 295.8 MB, free: 6.52 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00311/0.04854, allocations: 2.665 MB / 298.5 MB, free: 3.691 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.86e-05/0.04858, allocations: 11.89 kB / 298.5 MB, free: 3.68 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001761/0.04876, allocations: 128 kB / 298.6 MB, free: 3.555 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-05/0.04884, allocations: 138 kB / 298.7 MB, free: 3.418 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001998/0.05084, allocations: 1.155 MB / 299.9 MB, free: 2.25 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1273/0.1781, allocations: 10.93 MB / 310.8 MB, free: 36.76 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001495/0.1796, allocations: 1.198 MB / 312 MB, free: 36.66 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00107/0.1807, allocations: 0.8123 MB / 312.8 MB, free: 36.64 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000162/0.1808, allocations: 58.88 kB / 312.9 MB, free: 36.64 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.1809, allocations: 56.92 kB / 312.9 MB, free: 36.59 MB / 282.7 MB Notification: Performance of pre-optimization done (n=164): time 3.927e-06/0.1809, allocations: 1.344 kB / 312.9 MB, free: 36.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=180): time 0.006689/0.1876, allocations: 4.461 MB / 317.4 MB, free: 35.63 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/0.1876, allocations: 73.59 kB / 317.5 MB, free: 35.56 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00147/0.1891, allocations: 1.82 MB / 319.3 MB, free: 34.93 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.046e-05/0.1891, allocations: 56.83 kB / 319.3 MB, free: 34.87 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006249/0.1898, allocations: 1.615 MB / 321 MB, free: 33.82 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002774/0.19, allocations: 0.6469 MB / 321.6 MB, free: 33.39 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000344/0.1904, allocations: 378 kB / 322 MB, free: 33.19 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.71e-05/0.1904, allocations: 488.6 kB / 322.5 MB, free: 32.71 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004727/0.1909, allocations: 317.6 kB / 322.8 MB, free: 32.68 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006737/0.1916, allocations: 0.9431 MB / 323.7 MB, free: 31.89 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/0.1927, allocations: 1.412 MB / 325.1 MB, free: 30.92 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.1928, allocations: 3.375 kB / 325.1 MB, free: 30.92 MB / 282.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.002177/0.1949, allocations: 1.859 MB / 327 MB, free: 30.32 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.1949, allocations: 7.781 kB / 327 MB, free: 30.32 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.195, allocations: 23.42 kB / 327 MB, free: 30.32 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001084/0.196, allocations: 0.5078 MB / 327.5 MB, free: 30.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008627/0.1969, allocations: 445 kB / 328 MB, free: 30.14 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003678/0.2006, allocations: 10.28 MB / 338.2 MB, free: 19.69 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006679/0.2013, allocations: 114.4 kB / 338.4 MB, free: 19.58 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.289e-05/0.2013, allocations: 72 kB / 338.4 MB, free: 19.51 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.0005682/0.2019, allocations: 277 kB / 338.7 MB, free: 19.26 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003751/0.2023, allocations: 309 kB / 339 MB, free: 18.96 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00273/0.205, allocations: 1.621 MB / 340.6 MB, free: 17.31 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.205, allocations: 16 kB / 340.6 MB, free: 17.3 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.205, allocations: 8 kB / 340.6 MB, free: 17.29 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.188e-06/0.205, allocations: 10.05 kB / 340.6 MB, free: 17.28 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00465/0.2097, allocations: 4.273 MB / 344.9 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.2097, allocations: 0 / 344.9 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006237/0.2103, allocations: 286.6 kB / 345.2 MB, free: 12.72 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001138/0.2115, allocations: 0.5898 MB / 345.8 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.891e-05/0.2115, allocations: 39.98 kB / 345.8 MB, free: 12.06 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004747/0.2163, allocations: 13.81 MB / 359.6 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.2163, allocations: 11.92 kB / 359.7 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002675/0.219, allocations: 2.211 MB / 361.9 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005525/0.2195, allocations: 449.2 kB / 362.3 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001757/0.2197, allocations: 39.98 kB / 362.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005622/0.2202, allocations: 99.91 kB / 362.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002685/0.2205, allocations: 168.9 kB / 362.6 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.909e-05/0.2206, allocations: 48 kB / 362.7 MB, free: 10.41 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.00104/0.2216, allocations: 1.042 MB / 363.7 MB, free: 9.348 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2216, allocations: 0 / 363.7 MB, free: 9.348 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001392/0.223, allocations: 0.689 MB / 364.4 MB, free: 8.66 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%), (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.0002972/0.2233, allocations: 200.5 kB / 364.6 MB, free: 8.473 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002553/0.2259, allocations: 2.243 MB / 366.8 MB, free: 6.191 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.2259, allocations: 0 / 366.8 MB, free: 6.191 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001532/0.2274, allocations: 2.046 MB / 368.9 MB, free: 4.051 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/0.2288, allocations: 0.634 MB / 369.5 MB, free: 3.426 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006953/0.2358, allocations: 5.621 MB / 375.1 MB, free: 13.73 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007151/0.2365, allocations: 0.9027 MB / 376 MB, free: 12.81 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0008281/0.2373, allocations: 454.9 kB / 376.5 MB, free: 12.36 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003051/0.2376, allocations: 148.5 kB / 376.6 MB, free: 12.21 MB / 314.7 MB Notification: Performance of SimCode: time 8.42e-07/0.2376, allocations: 4 kB / 376.6 MB, free: 12.21 MB / 314.7 MB Notification: Performance of Templates: time 0.04588/0.2835, allocations: 41.59 MB / 418.2 MB, free: 2.645 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.053935784846544]