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.0009448/0.0009448, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.001113/0.001113, allocations: 144.6 kB / 24.89 MB, free: 8.785 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 0.978/0.978, allocations: 173.3 MB / 201.5 MB, free: 9.195 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 7.71e-07/7.71e-07, allocations: 0 / 268.5 MB, free: 6.137 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.558e-06/1.033e-05, allocations: 10.25 kB / 268.5 MB, free: 6.125 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.008708/0.008719, allocations: 11.44 MB / 280 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005281/0.014, allocations: 3.816 MB / 283.8 MB, free: 6.797 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000732/0.01473, allocations: 91.38 kB / 283.9 MB, free: 6.707 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001127/0.01586, allocations: 0.8888 MB / 284.8 MB, free: 5.812 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001507/0.01737, allocations: 1.184 MB / 286 MB, free: 4.621 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005533/0.01792, allocations: 0.4952 MB / 286.4 MB, free: 4.125 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1178/0.1357, allocations: 4.359 MB / 290.8 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002872/0.1386, allocations: 1.842 MB / 292.6 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004762/0.1433, allocations: 3.052 MB / 295.7 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003517/0.1468, allocations: 2.169 MB / 297.9 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001215/0.148, allocations: 493.6 kB / 298.4 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001401/0.1495, allocations: 0.5708 MB / 298.9 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001109/0.1506, allocations: 1.412 MB / 300.3 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002564/0.1531, allocations: 1.519 MB / 301.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003279/0.1564, allocations: 3.549 MB / 305.4 MB, free: 14.03 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1564, allocations: 4.438 kB / 305.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1564, allocations: 4.875 kB / 305.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.469e-05/0.1565, allocations: 0 / 305.4 MB, free: 14.02 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.00428/0.1608, allocations: 3.98 MB / 309.4 MB, free: 11.89 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.1608, allocations: 11.14 kB / 309.4 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007932/0.1616, allocations: 0.5572 MB / 310 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001728/0.1633, allocations: 1.537 MB / 311.5 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.645e-05/0.1634, allocations: 234 kB / 311.7 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002662/0.1637, allocations: 314.8 kB / 312 MB, free: 10.83 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002267/0.1659, allocations: 2.493 MB / 314.5 MB, free: 8.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.593e-05/0.166, allocations: 11.08 kB / 314.5 MB, free: 8.973 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001745/0.1662, allocations: 128 kB / 314.7 MB, free: 8.848 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.339e-05/0.1662, allocations: 130 kB / 314.8 MB, free: 8.719 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001246/0.1675, allocations: 0.9363 MB / 315.7 MB, free: 7.777 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007958/0.1754, allocations: 8.482 MB / 324.2 MB, free: 15.62 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/0.1766, allocations: 1.073 MB / 325.3 MB, free: 14.58 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008642/0.1774, allocations: 0.6923 MB / 326 MB, free: 13.91 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001584/0.1776, allocations: 49.3 kB / 326 MB, free: 13.86 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/0.1776, allocations: 51.88 kB / 326.1 MB, free: 13.8 MB / 282.7 MB Notification: Performance of pre-optimization done (n=164): time 2.926e-06/0.1776, allocations: 0 / 326.1 MB, free: 13.8 MB / 282.7 MB Notification: Performance of matching and sorting (n=180): time 0.006366/0.184, allocations: 3.541 MB / 329.6 MB, free: 10.27 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.184, allocations: 69.41 kB / 329.7 MB, free: 10.19 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/0.1852, allocations: 1.451 MB / 331.1 MB, free: 8.977 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.48e-05/0.1853, allocations: 57.7 kB / 331.2 MB, free: 8.914 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005043/0.1858, allocations: 1.212 MB / 332.4 MB, free: 7.781 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003169/0.1861, allocations: 0.6258 MB / 333 MB, free: 7.191 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006078/0.1867, allocations: 343.7 kB / 333.4 MB, free: 6.895 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.367e-05/0.1867, allocations: 305.1 kB / 333.7 MB, free: 6.594 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003488/0.1871, allocations: 242.7 kB / 333.9 MB, free: 6.355 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004916/0.1876, allocations: 0.6564 MB / 334.5 MB, free: 5.574 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009731/0.1886, allocations: 1.117 MB / 335.7 MB, free: 4.375 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.286e-06/0.1886, allocations: 8 kB / 335.7 MB, free: 4.367 MB / 282.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.00173/0.1903, allocations: 1.368 MB / 337 MB, free: 3.07 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.1903, allocations: 10.97 kB / 337.1 MB, free: 3.062 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.1903, allocations: 16 kB / 337.1 MB, free: 3.047 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/0.1914, allocations: 495.5 kB / 337.6 MB, free: 2.551 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/0.1925, allocations: 0.565 MB / 338.1 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00445/0.197, allocations: 7.275 MB / 345.4 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008003/0.1978, allocations: 67.92 kB / 345.5 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.056e-05/0.1979, allocations: 60.03 kB / 345.5 MB, free: 10.26 MB / 298.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.0006348/0.1985, allocations: 243.3 kB / 345.8 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002763/0.1988, allocations: 203.8 kB / 346 MB, free: 9.836 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001601/0.2004, allocations: 1.256 MB / 347.2 MB, free: 8.562 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.2004, allocations: 16 kB / 347.2 MB, free: 8.547 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.968e-06/0.2004, allocations: 8 kB / 347.2 MB, free: 8.539 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.2004, allocations: 7.969 kB / 347.2 MB, free: 8.531 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004194/0.2046, allocations: 2.968 MB / 350.2 MB, free: 5.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.2046, allocations: 0 / 350.2 MB, free: 5.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009962/0.2056, allocations: 468.5 kB / 350.7 MB, free: 5.324 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001146/0.2068, allocations: 0.5535 MB / 351.2 MB, free: 4.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.846e-05/0.2068, allocations: 39.92 kB / 351.3 MB, free: 4.711 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005442/0.2123, allocations: 9.706 MB / 361 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.2123, allocations: 8.031 kB / 361 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00239/0.2147, allocations: 1.709 MB / 362.7 MB, free: 8.734 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005457/0.2152, allocations: 302.4 kB / 363 MB, free: 8.438 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001915/0.2154, allocations: 40 kB / 363 MB, free: 8.398 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005125/0.2159, allocations: 71.95 kB / 363.1 MB, free: 8.328 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002622/0.2162, allocations: 149.7 kB / 363.2 MB, free: 8.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.678e-05/0.2163, allocations: 35.98 kB / 363.3 MB, free: 8.145 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006651/0.2169, allocations: 0.7382 MB / 364 MB, free: 7.469 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2169, allocations: 0 / 364 MB, free: 7.469 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001489/0.2184, allocations: 0.6952 MB / 364.7 MB, free: 6.773 MB / 314.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.0002979/0.2187, allocations: 194.9 kB / 364.9 MB, free: 6.59 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001767/0.2205, allocations: 1.686 MB / 366.6 MB, free: 4.918 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-05/0.2205, allocations: 25.81 kB / 366.6 MB, free: 4.891 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001221/0.2217, allocations: 1.494 MB / 368.1 MB, free: 3.359 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/0.2231, allocations: 0.616 MB / 368.7 MB, free: 2.758 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006948/0.23, allocations: 5.37 MB / 374.1 MB, free: 13.37 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007651/0.2308, allocations: 0.7661 MB / 374.8 MB, free: 12.58 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008823/0.2317, allocations: 287.3 kB / 375.1 MB, free: 12.29 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001063/0.2327, allocations: 0.5732 MB / 375.7 MB, free: 11.71 MB / 330.7 MB Notification: Performance of SimCode: time 1.483e-06/0.2327, allocations: 0 / 375.7 MB, free: 11.71 MB / 330.7 MB Notification: Performance of Templates: time 0.05518/0.2879, allocations: 42.2 MB / 417.9 MB, free: 2.156 MB / 362.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 -s gbode -gbm=radauIIA3 -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: 3.656299497000873]