Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_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.0009757/0.0009757, allocations: 80.8 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.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.001063/0.001063, allocations: 169.9 kB / 24.92 MB, free: 9.18 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9428/0.9428, allocations: 177.1 MB / 205.3 MB, free: 5.453 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.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.1.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.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 273.4 MB, free: 1.266 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/1.988e-05, allocations: 2.312 kB / 273.5 MB, free: 1.262 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.008822/0.008842, allocations: 11.45 MB / 284.9 MB, free: 5.762 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005917/0.01476, allocations: 3.902 MB / 288.8 MB, free: 1.848 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001225/0.01598, allocations: 91.38 kB / 288.9 MB, free: 1.758 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001528/0.01751, allocations: 0.8858 MB / 289.8 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1017/0.1192, allocations: 1.186 MB / 291 MB, free: 16.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001222/0.1204, allocations: 0.5072 MB / 291.5 MB, free: 16.16 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004139/0.1245, allocations: 4.389 MB / 295.9 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002251/0.1268, allocations: 1.836 MB / 297.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004178/0.131, allocations: 3.06 MB / 300.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003166/0.1341, allocations: 2.18 MB / 302.9 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001184/0.1353, allocations: 494.4 kB / 303.4 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000969/0.1363, allocations: 0.5755 MB / 304 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007602/0.1371, allocations: 1.415 MB / 305.4 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001638/0.1387, allocations: 1.52 MB / 306.9 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002628/0.1413, allocations: 3.57 MB / 310.5 MB, free: 9.938 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1413, allocations: 0 / 310.5 MB, free: 9.938 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1413, allocations: 0 / 310.5 MB, free: 9.938 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000171/0.1415, allocations: 7.031 kB / 310.5 MB, free: 9.938 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.004252/0.1457, allocations: 3.998 MB / 314.5 MB, free: 6.234 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.035e-05/0.1458, allocations: 8.031 kB / 314.5 MB, free: 6.227 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008691/0.1466, allocations: 0.5872 MB / 315.1 MB, free: 5.645 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001769/0.1484, allocations: 1.555 MB / 316.7 MB, free: 4.156 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.292e-05/0.1485, allocations: 230.3 kB / 316.9 MB, free: 3.934 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002437/0.1488, allocations: 315.7 kB / 317.2 MB, free: 3.629 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002166/0.1509, allocations: 2.494 MB / 319.7 MB, free: 1.121 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.684e-05/0.151, allocations: 15.53 kB / 319.7 MB, free: 1.113 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001738/0.1511, allocations: 124 kB / 319.8 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.449e-05/0.1512, allocations: 130 kB / 319.9 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001434/0.1527, allocations: 0.9287 MB / 320.9 MB, free: 15.92 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009015/0.1617, allocations: 8.481 MB / 329.4 MB, free: 7.762 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/0.1628, allocations: 1.087 MB / 330.4 MB, free: 6.715 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008646/0.1637, allocations: 0.6778 MB / 331.1 MB, free: 6.062 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001643/0.1639, allocations: 53.3 kB / 331.2 MB, free: 6.012 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.96e-05/0.1639, allocations: 54.62 kB / 331.2 MB, free: 5.949 MB / 282.7 MB Notification: Performance of pre-optimization done (n=164): time 4.087e-06/0.1639, allocations: 0 / 331.2 MB, free: 5.949 MB / 282.7 MB Notification: Performance of matching and sorting (n=180): time 0.005792/0.1697, allocations: 3.548 MB / 334.8 MB, free: 2.418 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.1697, allocations: 74.72 kB / 334.8 MB, free: 2.332 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.1708, allocations: 1.462 MB / 336.3 MB, free: 1.109 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.52e-05/0.1709, allocations: 57.7 kB / 336.4 MB, free: 1.047 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005331/0.1714, allocations: 1.211 MB / 337.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003282/0.1718, allocations: 0.6281 MB / 338.2 MB, free: 15.32 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003527/0.1721, allocations: 344.1 kB / 338.5 MB, free: 15.02 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.698e-05/0.1722, allocations: 305.1 kB / 338.8 MB, free: 14.72 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003653/0.1725, allocations: 242.7 kB / 339.1 MB, free: 14.48 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005175/0.1731, allocations: 0.655 MB / 339.7 MB, free: 13.7 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.1741, allocations: 1.131 MB / 340.9 MB, free: 12.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.934e-06/0.1741, allocations: 4 kB / 340.9 MB, free: 12.49 MB / 298.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.001705/0.1758, allocations: 1.361 MB / 342.2 MB, free: 11.2 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.1758, allocations: 12.06 kB / 342.2 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.1758, allocations: 16 kB / 342.3 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001041/0.1769, allocations: 493.6 kB / 342.7 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008232/0.1777, allocations: 407.2 kB / 343.1 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004069/0.1817, allocations: 7.248 MB / 350.4 MB, free: 2.695 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006535/0.1824, allocations: 67.97 kB / 350.4 MB, free: 2.629 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.842e-05/0.1825, allocations: 60 kB / 350.5 MB, free: 2.57 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.0005639/0.1831, allocations: 245.8 kB / 350.7 MB, free: 2.348 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002714/0.1833, allocations: 207.7 kB / 350.9 MB, free: 2.145 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00154/0.1849, allocations: 1.268 MB / 352.2 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.1849, allocations: 16 kB / 352.2 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.1849, allocations: 8 kB / 352.2 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.1849, allocations: 7.969 kB / 352.2 MB, free: 0.832 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003701/0.1886, allocations: 2.97 MB / 355.2 MB, free: 14.06 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.1886, allocations: 0 / 355.2 MB, free: 14.06 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005967/0.1892, allocations: 262 kB / 355.5 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001217/0.1904, allocations: 0.6377 MB / 356.1 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.769e-05/0.1905, allocations: 35.98 kB / 356.1 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004993/0.1955, allocations: 9.685 MB / 365.8 MB, free: 2.902 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.1955, allocations: 12.03 kB / 365.8 MB, free: 2.891 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002237/0.1977, allocations: 1.708 MB / 367.5 MB, free: 1.164 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005201/0.1983, allocations: 314.4 kB / 367.9 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001785/0.1984, allocations: 36 kB / 367.9 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000502/0.1989, allocations: 75.95 kB / 368 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002252/0.1992, allocations: 145.1 kB / 368.1 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-05/0.1992, allocations: 36 kB / 368.1 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007242/0.1999, allocations: 0.7534 MB / 368.9 MB, free: 15.88 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1999, allocations: 0 / 368.9 MB, free: 15.88 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001422/0.2014, allocations: 0.6836 MB / 369.6 MB, free: 15.2 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.0003038/0.2017, allocations: 188.7 kB / 369.8 MB, free: 15.02 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001623/0.2033, allocations: 1.681 MB / 371.4 MB, free: 13.35 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.982e-05/0.2033, allocations: 25.81 kB / 371.5 MB, free: 13.33 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001392/0.2047, allocations: 1.501 MB / 373 MB, free: 11.79 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/0.206, allocations: 0.6361 MB / 373.6 MB, free: 11.18 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005888/0.2119, allocations: 5.373 MB / 379 MB, free: 5.777 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000852/0.2128, allocations: 0.7665 MB / 379.7 MB, free: 4.984 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006766/0.2134, allocations: 283.3 kB / 380 MB, free: 4.703 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009954/0.2144, allocations: 0.581 MB / 380.6 MB, free: 4.117 MB / 330.7 MB Notification: Performance of SimCode: time 1.202e-06/0.2144, allocations: 4 kB / 380.6 MB, free: 4.113 MB / 330.7 MB Notification: Performance of Templates: time 0.05145/0.2659, allocations: 42.25 MB / 422.9 MB, free: 10.52 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.8434578930027783]