Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001579/0.00262, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006551/0.0006551, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000969/0.001624, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8308/0.8308, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1584/0.9891, allocations: 52.48 MB / 238.5 MB, free: 7.617 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|//aims.i_0_r|aims.ir.[0-9,]+.|aims.idq_rr.[0-9,]+.|aims.is.[0-9,]+.|aims.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|//aims.i_0_r|aims.ir.[0-9,]+.|aims.idq_rr.[0-9,]+.|aims.is.[0-9,]+.|aims.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 239.8 MB, free: 6.332 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.126e-05/2.262e-05, allocations: 7.188 kB / 239.8 MB, free: 6.328 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01278/0.01281, allocations: 11.5 MB / 251.3 MB, free: 10.79 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006293/0.0191, allocations: 3.855 MB / 255.1 MB, free: 6.957 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001512/0.02061, allocations: 91.38 kB / 255.2 MB, free: 6.867 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001498/0.02211, allocations: 0.8849 MB / 256.1 MB, free: 5.977 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002296/0.02441, allocations: 1.188 MB / 257.3 MB, free: 4.781 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007427/0.02515, allocations: 491.2 kB / 257.7 MB, free: 4.301 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003433/0.02858, allocations: 4.392 MB / 262.1 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00187/0.03045, allocations: 1.837 MB / 264 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003994/0.03444, allocations: 3.31 MB / 267.3 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002401/0.03685, allocations: 2.171 MB / 269.5 MB, free: 8.445 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000632/0.03748, allocations: 492 kB / 269.9 MB, free: 7.965 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009579/0.03844, allocations: 0.5662 MB / 270.5 MB, free: 7.398 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007856/0.03922, allocations: 1.161 MB / 271.7 MB, free: 6.234 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001267/0.04049, allocations: 1.252 MB / 272.9 MB, free: 4.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002836/0.04332, allocations: 3.333 MB / 276.3 MB, free: 1.637 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.161e-05/0.04334, allocations: 4 kB / 276.3 MB, free: 1.633 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.04334, allocations: 0 / 276.3 MB, free: 1.633 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.627e-05/0.04341, allocations: 0 / 276.3 MB, free: 1.633 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.004696/0.04811, allocations: 4.752 MB / 281 MB, free: 12.83 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.04814, allocations: 8.031 kB / 281 MB, free: 12.82 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008689/0.04901, allocations: 0.6265 MB / 281.6 MB, free: 12.18 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001933/0.05095, allocations: 1.542 MB / 283.2 MB, free: 10.59 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001137/0.05106, allocations: 230.5 kB / 283.4 MB, free: 10.36 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000279/0.05134, allocations: 320.1 kB / 283.7 MB, free: 10.05 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002476/0.05382, allocations: 2.491 MB / 286.2 MB, free: 7.414 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.159e-05/0.05387, allocations: 7.953 kB / 286.2 MB, free: 7.406 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001735/0.05404, allocations: 128 kB / 286.3 MB, free: 7.281 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.547e-05/0.05413, allocations: 126 kB / 286.5 MB, free: 7.156 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001281/0.05541, allocations: 0.9315 MB / 287.4 MB, free: 6.199 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008781/0.06419, allocations: 8.516 MB / 295.9 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.06525, allocations: 1.084 MB / 297 MB, free: 12.24 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000894/0.06614, allocations: 0.6805 MB / 297.7 MB, free: 11.56 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001946/0.06634, allocations: 53.3 kB / 297.7 MB, free: 11.51 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/0.06638, allocations: 51.88 kB / 297.8 MB, free: 11.45 MB / 298.7 MB Notification: Performance of pre-optimization done (n=164): time 4.789e-06/0.06638, allocations: 0 / 297.8 MB, free: 11.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=180): time 0.00597/0.07235, allocations: 3.592 MB / 301.4 MB, free: 7.801 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.07238, allocations: 69.41 kB / 301.4 MB, free: 7.723 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/0.07349, allocations: 1.448 MB / 302.9 MB, free: 6.234 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.72e-05/0.07356, allocations: 57.7 kB / 302.9 MB, free: 6.172 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004802/0.07404, allocations: 1.214 MB / 304.2 MB, free: 4.945 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000306/0.07435, allocations: 0.6273 MB / 304.8 MB, free: 4.312 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003366/0.07469, allocations: 343.2 kB / 305.1 MB, free: 3.969 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.571e-05/0.07475, allocations: 309.1 kB / 305.4 MB, free: 3.664 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003237/0.07507, allocations: 242.7 kB / 305.7 MB, free: 3.426 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004829/0.07556, allocations: 0.6568 MB / 306.3 MB, free: 2.602 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009942/0.07655, allocations: 1.173 MB / 307.5 MB, free: 1.254 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.07656, allocations: 4 kB / 307.5 MB, free: 1.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.001692/0.07825, allocations: 1.354 MB / 308.9 MB, free: 15.86 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.07828, allocations: 12 kB / 308.9 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/0.07829, allocations: 12 kB / 308.9 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001064/0.07936, allocations: 0.4947 MB / 309.4 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/0.08055, allocations: 0.6036 MB / 310 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004365/0.08492, allocations: 7.269 MB / 317.2 MB, free: 6.969 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/0.08594, allocations: 79.91 kB / 317.3 MB, free: 6.891 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/0.08604, allocations: 59.98 kB / 317.4 MB, free: 6.832 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.0007016/0.08674, allocations: 232.4 kB / 317.6 MB, free: 6.594 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003366/0.08708, allocations: 211.7 kB / 317.8 MB, free: 6.387 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001625/0.0887, allocations: 1.253 MB / 319.1 MB, free: 5.086 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.08871, allocations: 16 kB / 319.1 MB, free: 5.07 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.08872, allocations: 11.98 kB / 319.1 MB, free: 5.059 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.52e-05/0.08874, allocations: 7.969 kB / 319.1 MB, free: 5.051 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004041/0.09278, allocations: 2.97 MB / 322.1 MB, free: 1.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.09278, allocations: 0 / 322.1 MB, free: 1.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000986/0.09377, allocations: 483.2 kB / 322.5 MB, free: 1.508 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005345/0.0943, allocations: 306.3 kB / 322.8 MB, free: 1.207 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001132/0.09543, allocations: 0.5514 MB / 323.4 MB, free: 0.625 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.39e-05/0.09551, allocations: 43.97 kB / 323.4 MB, free: 0.582 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005032/0.1005, allocations: 9.716 MB / 333.2 MB, free: 6.207 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.1005, allocations: 0 / 333.2 MB, free: 6.207 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002228/0.1028, allocations: 1.713 MB / 334.9 MB, free: 4.41 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002888/0.1031, allocations: 39.98 kB / 334.9 MB, free: 4.371 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005986/0.1037, allocations: 79.95 kB / 335 MB, free: 4.293 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002575/0.1039, allocations: 149.6 kB / 335.1 MB, free: 4.148 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.801e-05/0.104, allocations: 35.98 kB / 335.2 MB, free: 4.113 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007609/0.1047, allocations: 0.7401 MB / 335.9 MB, free: 3.348 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1047, allocations: 0 / 335.9 MB, free: 3.348 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001582/0.1063, allocations: 0.6914 MB / 336.6 MB, free: 2.656 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.0003195/0.1066, allocations: 190.3 kB / 336.8 MB, free: 2.461 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001864/0.1085, allocations: 1.715 MB / 338.5 MB, free: 0.668 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.466e-05/0.1086, allocations: 45.69 kB / 338.5 MB, free: 0.625 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0978/0.2064, allocations: 1.56 MB / 340.1 MB, free: 80.59 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003637/0.21, allocations: 6.377 MB / 346.5 MB, free: 74.05 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02118/0.2312, allocations: 5.567 MB / 352 MB, free: 71.82 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007789/0.232, allocations: 0.7822 MB / 352.8 MB, free: 71.69 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001386/0.2333, allocations: 287.4 kB / 353.1 MB, free: 71.64 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009595/0.2343, allocations: 0.5871 MB / 353.7 MB, free: 71.57 MB / 330.7 MB Notification: Performance of SimCode: time 1.723e-06/0.2343, allocations: 0 / 353.7 MB, free: 71.57 MB / 330.7 MB Notification: Performance of Templates: time 0.04499/0.2793, allocations: 44.23 MB / 397.9 MB, free: 35.28 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMS_Start/IMS_Start.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4489028016105294]