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.001043/0.001043, allocations: 72.08 kB / 21.69 MB, free: 2.863 MB / 18.57 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.001786/0.001786, allocations: 139.1 kB / 24.97 MB, free: 8.359 MB / 18.57 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 1.048/1.048, allocations: 173.4 MB / 201.5 MB, free: 9.332 MB / 186.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.934e-06/1.934e-06, allocations: 0 / 268.1 MB, free: 6.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.785e-05/2.979e-05, allocations: 10.19 kB / 268.1 MB, free: 6.707 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.009794/0.009824, allocations: 11.66 MB / 279.8 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006544/0.01637, allocations: 3.696 MB / 283.5 MB, free: 7.277 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001483/0.01785, allocations: 95.38 kB / 283.5 MB, free: 7.184 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00163/0.01948, allocations: 0.8654 MB / 284.4 MB, free: 6.312 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002363/0.02184, allocations: 1.172 MB / 285.6 MB, free: 5.133 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007679/0.02261, allocations: 499.2 kB / 286.1 MB, free: 4.645 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003772/0.02638, allocations: 4.361 MB / 290.4 MB, free: 272 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1192/0.1456, allocations: 1.788 MB / 292.2 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005852/0.1514, allocations: 2.848 MB / 295.1 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00436/0.1558, allocations: 2.252 MB / 297.3 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001644/0.1574, allocations: 0.4962 MB / 297.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001683/0.1591, allocations: 0.5833 MB / 298.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001369/0.1605, allocations: 1.478 MB / 299.9 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002656/0.1631, allocations: 1.543 MB / 301.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003926/0.1671, allocations: 3.616 MB / 305 MB, free: 14.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1671, allocations: 2.875 kB / 305 MB, free: 14.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1671, allocations: 0.6562 kB / 305 MB, free: 14.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001553/0.1672, allocations: 0 / 305 MB, free: 14.09 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.006001/0.1732, allocations: 4.555 MB / 309.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.1733, allocations: 11.05 kB / 309.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001076/0.1743, allocations: 0.6958 MB / 310.3 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003018/0.1774, allocations: 2.217 MB / 312.5 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.1775, allocations: 231.4 kB / 312.7 MB, free: 9.988 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002933/0.1778, allocations: 307.9 kB / 313 MB, free: 9.887 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003288/0.1811, allocations: 2.672 MB / 315.7 MB, free: 7.633 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.125e-05/0.1811, allocations: 7.953 kB / 315.7 MB, free: 7.625 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001931/0.1813, allocations: 124 kB / 315.8 MB, free: 7.504 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.575e-05/0.1814, allocations: 134 kB / 316 MB, free: 7.371 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002174/0.1836, allocations: 1.173 MB / 317.1 MB, free: 6.199 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01169/0.1953, allocations: 11.05 MB / 328.2 MB, free: 11.09 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001553/0.1968, allocations: 1.176 MB / 329.4 MB, free: 9.93 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001227/0.198, allocations: 0.8157 MB / 330.2 MB, free: 9.117 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001905/0.1982, allocations: 57.28 kB / 330.3 MB, free: 9.062 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.013e-05/0.1983, allocations: 59.44 kB / 330.3 MB, free: 8.996 MB / 282.7 MB Notification: Performance of pre-optimization done (n=164): time 4.378e-06/0.1983, allocations: 0 / 330.3 MB, free: 8.996 MB / 282.7 MB Notification: Performance of matching and sorting (n=180): time 0.008182/0.2065, allocations: 4.488 MB / 334.8 MB, free: 4.488 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.2065, allocations: 73.39 kB / 334.9 MB, free: 4.402 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001999/0.2085, allocations: 1.821 MB / 336.7 MB, free: 2.535 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001071/0.2086, allocations: 57.7 kB / 336.7 MB, free: 2.473 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008423/0.2095, allocations: 1.614 MB / 338.4 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003927/0.2099, allocations: 0.6509 MB / 339 MB, free: 216 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000426/0.2103, allocations: 381.1 kB / 339.4 MB, free: 15.83 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.971e-05/0.2104, allocations: 480.8 kB / 339.9 MB, free: 15.36 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005867/0.211, allocations: 327.8 kB / 340.2 MB, free: 15.04 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008595/0.2118, allocations: 0.9429 MB / 341.1 MB, free: 13.87 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001516/0.2133, allocations: 1.422 MB / 342.5 MB, free: 12.26 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.195e-06/0.2134, allocations: 4 kB / 342.5 MB, free: 12.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.002837/0.2162, allocations: 1.863 MB / 344.4 MB, free: 10.45 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.2162, allocations: 16.03 kB / 344.4 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/0.2162, allocations: 12 kB / 344.4 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001279/0.2175, allocations: 0.5024 MB / 344.9 MB, free: 9.895 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009606/0.2185, allocations: 460.3 kB / 345.4 MB, free: 9.473 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005899/0.2244, allocations: 10.3 MB / 355.7 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001526/0.2259, allocations: 119.9 kB / 355.8 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/0.226, allocations: 76 kB / 355.9 MB, free: 14.42 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.0009856/0.227, allocations: 274.4 kB / 356.1 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004461/0.2274, allocations: 314.3 kB / 356.5 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00247/0.2299, allocations: 1.623 MB / 358.1 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.456e-05/0.2299, allocations: 20 kB / 358.1 MB, free: 12.19 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.637e-06/0.2299, allocations: 4 kB / 358.1 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.2299, allocations: 7.969 kB / 358.1 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006193/0.2361, allocations: 4.319 MB / 362.4 MB, free: 7.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.2361, allocations: 0 / 362.4 MB, free: 7.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007233/0.2369, allocations: 301.2 kB / 362.7 MB, free: 7.539 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001427/0.2383, allocations: 0.6106 MB / 363.3 MB, free: 6.906 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.395e-05/0.2384, allocations: 43.92 kB / 363.4 MB, free: 6.863 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007628/0.246, allocations: 13.98 MB / 377.4 MB, free: 8.094 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.246, allocations: 0 / 377.4 MB, free: 8.094 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003939/0.25, allocations: 2.229 MB / 379.6 MB, free: 5.805 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001097/0.2511, allocations: 458.3 kB / 380 MB, free: 5.355 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002217/0.2513, allocations: 39.98 kB / 380.1 MB, free: 5.316 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007516/0.252, allocations: 119.9 kB / 380.2 MB, free: 5.199 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004078/0.2524, allocations: 165.4 kB / 380.3 MB, free: 5.039 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.826e-05/0.2525, allocations: 47.98 kB / 380.4 MB, free: 4.992 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001399/0.2539, allocations: 1.042 MB / 381.4 MB, free: 3.93 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2539, allocations: 0 / 381.4 MB, free: 3.93 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001941/0.2559, allocations: 0.7069 MB / 382.1 MB, free: 3.223 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%), (2,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003858/0.2562, allocations: 203.8 kB / 382.3 MB, free: 3.031 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002951/0.2592, allocations: 2.258 MB / 384.6 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.2592, allocations: 8.062 kB / 384.6 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002105/0.2613, allocations: 2.094 MB / 386.7 MB, free: 14.52 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001834/0.2631, allocations: 0.6227 MB / 387.3 MB, free: 13.91 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007729/0.2709, allocations: 5.634 MB / 393 MB, free: 8.219 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000746/0.2716, allocations: 0.8988 MB / 393.9 MB, free: 7.293 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001405/0.273, allocations: 450.9 kB / 394.3 MB, free: 6.848 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004401/0.2735, allocations: 148.5 kB / 394.4 MB, free: 6.703 MB / 346.7 MB Notification: Performance of SimCode: time 1.663e-06/0.2735, allocations: 0 / 394.4 MB, free: 6.703 MB / 346.7 MB Notification: Performance of Templates: time 0.1695/0.443, allocations: 40.87 MB / 435.3 MB, free: 128 MB / 378.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.118089453084394]