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.0009151/0.0009151, allocations: 85.05 kB / 21.5 MB, free: 2.992 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.0008912/0.0008912, allocations: 142 kB / 24.89 MB, free: 9.215 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.882/0.882, allocations: 173.3 MB / 201.5 MB, free: 9.18 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.213e-06/1.213e-06, allocations: 0 / 268.5 MB, free: 6.168 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.063e-05/1.184e-05, allocations: 2.312 kB / 268.5 MB, free: 6.164 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.008274/0.008286, allocations: 11.41 MB / 279.9 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005014/0.0133, allocations: 3.82 MB / 283.7 MB, free: 6.871 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007037/0.014, allocations: 91.38 kB / 283.8 MB, free: 6.781 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001203/0.01521, allocations: 0.8771 MB / 284.7 MB, free: 5.898 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001706/0.01691, allocations: 1.184 MB / 285.9 MB, free: 4.707 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000578/0.01749, allocations: 499.2 kB / 286.3 MB, free: 4.219 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1051/0.1226, allocations: 4.367 MB / 290.7 MB, free: 16.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002502/0.1251, allocations: 1.842 MB / 292.5 MB, free: 16.09 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003878/0.129, allocations: 3.047 MB / 295.6 MB, free: 16.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002512/0.1315, allocations: 2.172 MB / 297.8 MB, free: 16.09 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005609/0.132, allocations: 491.7 kB / 298.2 MB, free: 16.09 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008536/0.1329, allocations: 0.5717 MB / 298.8 MB, free: 16.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009673/0.1339, allocations: 1.409 MB / 300.2 MB, free: 16.09 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001333/0.1352, allocations: 1.523 MB / 301.7 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002698/0.1379, allocations: 3.552 MB / 305.3 MB, free: 14.31 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1379, allocations: 1.719 kB / 305.3 MB, free: 14.31 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1379, allocations: 0 / 305.3 MB, free: 14.31 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.926e-05/0.1379, allocations: 0 / 305.3 MB, free: 14.31 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.004215/0.1421, allocations: 3.977 MB / 309.3 MB, free: 12.18 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.1422, allocations: 12.7 kB / 309.3 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009111/0.1431, allocations: 0.5565 MB / 309.8 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001827/0.1449, allocations: 1.542 MB / 311.4 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.679e-05/0.145, allocations: 234.8 kB / 311.6 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002536/0.1452, allocations: 315.4 kB / 311.9 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001873/0.1471, allocations: 2.487 MB / 314.4 MB, free: 9.273 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.825e-05/0.1472, allocations: 10.19 kB / 314.4 MB, free: 9.27 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001693/0.1473, allocations: 128 kB / 314.6 MB, free: 9.145 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.446e-05/0.1474, allocations: 134 kB / 314.7 MB, free: 9.012 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00115/0.1485, allocations: 0.9392 MB / 315.6 MB, free: 8.066 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006477/0.155, allocations: 8.477 MB / 324.1 MB, free: 15.91 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/0.156, allocations: 1.079 MB / 325.2 MB, free: 14.86 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008019/0.1569, allocations: 0.6757 MB / 325.9 MB, free: 14.2 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000136/0.157, allocations: 55.88 kB / 325.9 MB, free: 14.15 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.157, allocations: 55.62 kB / 326 MB, free: 14.09 MB / 282.7 MB Notification: Performance of pre-optimization done (n=164): time 2.525e-06/0.157, allocations: 0 / 326 MB, free: 14.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=180): time 0.005383/0.1624, allocations: 3.54 MB / 329.5 MB, free: 10.56 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.1624, allocations: 77.39 kB / 329.6 MB, free: 10.47 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.1635, allocations: 1.445 MB / 331 MB, free: 9.258 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.879e-05/0.1636, allocations: 61.17 kB / 331.1 MB, free: 9.195 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000485/0.1641, allocations: 1.211 MB / 332.3 MB, free: 8.062 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003015/0.1644, allocations: 0.6234 MB / 332.9 MB, free: 7.477 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000359/0.1648, allocations: 342.8 kB / 333.3 MB, free: 7.18 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.226e-05/0.1648, allocations: 301.1 kB / 333.5 MB, free: 6.883 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000353/0.1652, allocations: 246.7 kB / 333.8 MB, free: 6.641 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005116/0.1657, allocations: 0.6548 MB / 334.4 MB, free: 5.859 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009769/0.1667, allocations: 1.125 MB / 335.6 MB, free: 4.656 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-06/0.1667, allocations: 4 kB / 335.6 MB, free: 4.652 MB / 282.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.001655/0.1683, allocations: 1.362 MB / 336.9 MB, free: 3.359 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.1683, allocations: 12 kB / 336.9 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.1684, allocations: 12 kB / 337 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009956/0.1694, allocations: 0.4919 MB / 337.4 MB, free: 2.832 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007932/0.1701, allocations: 409.8 kB / 337.8 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003805/0.174, allocations: 7.248 MB / 345.1 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005647/0.1745, allocations: 75.88 kB / 345.2 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.373e-05/0.1746, allocations: 59.98 kB / 345.2 MB, free: 10.72 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.0004102/0.175, allocations: 237.3 kB / 345.5 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002441/0.1753, allocations: 203.8 kB / 345.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001633/0.1769, allocations: 1.254 MB / 346.9 MB, free: 9.035 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.1769, allocations: 20 kB / 346.9 MB, free: 9.016 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.1769, allocations: 8 kB / 346.9 MB, free: 9.008 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.1769, allocations: 11.95 kB / 347 MB, free: 8.996 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003474/0.1804, allocations: 2.969 MB / 349.9 MB, free: 6.234 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.1804, allocations: 0 / 349.9 MB, free: 6.234 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005873/0.181, allocations: 258.6 kB / 350.2 MB, free: 5.992 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001184/0.1822, allocations: 0.6502 MB / 350.8 MB, free: 5.324 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.62e-05/0.1823, allocations: 35.98 kB / 350.9 MB, free: 5.289 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004629/0.1869, allocations: 9.681 MB / 360.5 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.1869, allocations: 4 kB / 360.5 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001911/0.1888, allocations: 1.705 MB / 362.2 MB, free: 9.34 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000446/0.1892, allocations: 305.5 kB / 362.5 MB, free: 9.043 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001769/0.1894, allocations: 43.94 kB / 362.6 MB, free: 9 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004979/0.1899, allocations: 75.95 kB / 362.7 MB, free: 8.926 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002051/0.1901, allocations: 144.9 kB / 362.8 MB, free: 8.785 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.236e-05/0.1902, allocations: 32 kB / 362.8 MB, free: 8.754 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005788/0.1908, allocations: 0.7339 MB / 363.6 MB, free: 8.078 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1908, allocations: 4 kB / 363.6 MB, free: 8.074 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001057/0.1918, allocations: 0.6875 MB / 364.3 MB, free: 7.387 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.0002505/0.1921, allocations: 192.4 kB / 364.4 MB, free: 7.207 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001513/0.1936, allocations: 1.683 MB / 366.1 MB, free: 5.535 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.95e-05/0.1936, allocations: 27.75 kB / 366.2 MB, free: 5.508 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001115/0.1947, allocations: 1.497 MB / 367.7 MB, free: 3.973 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001255/0.196, allocations: 0.6245 MB / 368.3 MB, free: 3.367 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005405/0.2014, allocations: 5.354 MB / 373.6 MB, free: 13.99 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006582/0.202, allocations: 0.77 MB / 374.4 MB, free: 13.2 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006079/0.2027, allocations: 283.2 kB / 374.7 MB, free: 12.91 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009558/0.2036, allocations: 0.5839 MB / 375.3 MB, free: 12.33 MB / 330.7 MB Notification: Performance of SimCode: time 7.12e-07/0.2036, allocations: 0 / 375.3 MB, free: 12.33 MB / 330.7 MB Notification: Performance of Templates: time 0.04761/0.2512, allocations: 41.99 MB / 417.3 MB, free: 2.969 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 -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.62946495693177]