Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001604/0.001604, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001825/0.001825, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.959/0.959, allocations: 177 MB / 204.8 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 272.9 MB, free: 1.414 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.797e-05/2.986e-05, allocations: 2.312 kB / 272.9 MB, free: 1.41 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01078/0.01081, allocations: 9.7 MB / 282.6 MB, free: 7.656 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006276/0.01709, allocations: 3.054 MB / 285.7 MB, free: 4.594 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001479/0.01856, allocations: 59.62 kB / 285.8 MB, free: 4.535 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001517/0.02008, allocations: 0.6208 MB / 286.4 MB, free: 3.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001946/0.02203, allocations: 0.8264 MB / 287.2 MB, free: 3.078 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007398/0.02277, allocations: 395.3 kB / 287.6 MB, free: 2.691 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00238/0.02515, allocations: 2.532 MB / 290.1 MB, free: 148 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.122/0.1471, allocations: 0.998 MB / 291.1 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002923/0.15, allocations: 1.632 MB / 292.7 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002379/0.1524, allocations: 1.206 MB / 294 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001004/0.1534, allocations: 278.9 kB / 294.2 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009787/0.1544, allocations: 379.3 kB / 294.6 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008022/0.1552, allocations: 0.8145 MB / 295.4 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001857/0.157, allocations: 0.8889 MB / 296.3 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003627/0.1607, allocations: 2.035 MB / 298.3 MB, free: 15.75 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.1607, allocations: 1.344 kB / 298.3 MB, free: 15.75 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1607, allocations: 1 kB / 298.3 MB, free: 15.75 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.032e-05/0.1608, allocations: 0 / 298.3 MB, free: 15.75 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.004309/0.1651, allocations: 2.736 MB / 301.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.1651, allocations: 13.58 kB / 301.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008936/0.166, allocations: 442.9 kB / 301.5 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001877/0.1679, allocations: 1.274 MB / 302.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.923e-05/0.168, allocations: 142.2 kB / 302.9 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002568/0.1682, allocations: 198.2 kB / 303.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002482/0.1707, allocations: 1.557 MB / 304.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.577e-05/0.1708, allocations: 15.61 kB / 304.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001406/0.1709, allocations: 75.75 kB / 304.8 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.29e-05/0.171, allocations: 87.78 kB / 304.9 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001538/0.1725, allocations: 0.7061 MB / 305.6 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007385/0.1799, allocations: 6.62 MB / 312.2 MB, free: 7.941 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008843/0.1808, allocations: 0.5945 MB / 312.8 MB, free: 7.684 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009684/0.1818, allocations: 0.5987 MB / 313.4 MB, free: 7.285 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001667/0.1819, allocations: 48.97 kB / 313.4 MB, free: 7.238 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.182, allocations: 51.14 kB / 313.5 MB, free: 7.18 MB / 266.7 MB Notification: Performance of pre-optimization done (n=95): time 3.917e-06/0.182, allocations: 0 / 313.5 MB, free: 7.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=111): time 0.00617/0.1881, allocations: 3.201 MB / 316.7 MB, free: 3.969 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.613e-05/0.1882, allocations: 64.41 kB / 316.7 MB, free: 3.895 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.1892, allocations: 1.082 MB / 317.8 MB, free: 2.801 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.59e-05/0.1893, allocations: 45.7 kB / 317.9 MB, free: 2.75 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000429/0.1897, allocations: 1.027 MB / 318.9 MB, free: 1.715 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002085/0.1899, allocations: 409.5 kB / 319.3 MB, free: 1.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002951/0.1902, allocations: 257.2 kB / 319.5 MB, free: 1.062 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.411e-05/0.1903, allocations: 0.5394 MB / 320.1 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004037/0.1907, allocations: 223.9 kB / 320.3 MB, free: 304 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006918/0.1914, allocations: 0.7271 MB / 321 MB, free: 15.37 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001295/0.1927, allocations: 1.06 MB / 322.1 MB, free: 14.15 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.167e-06/0.1927, allocations: 4 kB / 322.1 MB, free: 14.14 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.002362/0.1951, allocations: 1.314 MB / 323.4 MB, free: 12.88 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/0.1951, allocations: 11.12 kB / 323.4 MB, free: 12.88 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.976e-05/0.1951, allocations: 15.98 kB / 323.4 MB, free: 12.86 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000857/0.196, allocations: 298 kB / 323.7 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008063/0.1968, allocations: 309 kB / 324 MB, free: 12.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003792/0.2006, allocations: 6.733 MB / 330.8 MB, free: 5.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007006/0.2013, allocations: 87.91 kB / 330.8 MB, free: 5.145 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-05/0.2014, allocations: 56 kB / 330.9 MB, free: 5.09 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * 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): 3 systems {(2,12,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005488/0.2019, allocations: 242.4 kB / 331.1 MB, free: 4.859 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000212/0.2021, allocations: 175.1 kB / 331.3 MB, free: 4.688 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001501/0.2036, allocations: 1.073 MB / 332.4 MB, free: 3.598 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.385e-06/0.2036, allocations: 12 kB / 332.4 MB, free: 3.586 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.2036, allocations: 4 kB / 332.4 MB, free: 3.582 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.2036, allocations: 7.984 kB / 332.4 MB, free: 3.574 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003702/0.2073, allocations: 2.75 MB / 335.2 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.2074, allocations: 11.59 kB / 335.2 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004362/0.2078, allocations: 183.5 kB / 335.3 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007956/0.2086, allocations: 360.1 kB / 335.7 MB, free: 256 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.375e-05/0.2086, allocations: 31.98 kB / 335.7 MB, free: 224 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004681/0.2133, allocations: 8.557 MB / 344.3 MB, free: 7.223 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2133, allocations: 0 / 344.3 MB, free: 7.223 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002151/0.2155, allocations: 1.55 MB / 345.8 MB, free: 5.617 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004889/0.216, allocations: 259 kB / 346.1 MB, free: 5.363 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.2161, allocations: 28 kB / 346.1 MB, free: 5.336 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004024/0.2165, allocations: 67.92 kB / 346.2 MB, free: 5.27 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001734/0.2167, allocations: 92.61 kB / 346.3 MB, free: 5.184 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.824e-05/0.2167, allocations: 35.98 kB / 346.3 MB, free: 5.148 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007455/0.2175, allocations: 0.6347 MB / 346.9 MB, free: 4.508 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2175, allocations: 0 / 346.9 MB, free: 4.508 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00134/0.2188, allocations: 435.9 kB / 347.4 MB, free: 4.082 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,1,100.0%), (2,8,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.0003211/0.2191, allocations: 189.1 kB / 347.5 MB, free: 3.898 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001862/0.221, allocations: 1.484 MB / 349 MB, free: 2.395 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.221, allocations: 4 kB / 349 MB, free: 2.391 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001209/0.2222, allocations: 1.297 MB / 350.3 MB, free: 1.035 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.2233, allocations: 382.7 kB / 350.7 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005122/0.2284, allocations: 3.501 MB / 354.2 MB, free: 13.11 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004865/0.2289, allocations: 500 kB / 354.7 MB, free: 12.59 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005576/0.2295, allocations: 247.8 kB / 354.9 MB, free: 12.35 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001974/0.2297, allocations: 96.48 kB / 355 MB, free: 12.25 MB / 314.7 MB Notification: Performance of SimCode: time 1.743e-06/0.2297, allocations: 4 kB / 355 MB, free: 12.25 MB / 314.7 MB Notification: Performance of Templates: time 0.02903/0.2587, allocations: 22.96 MB / 378 MB, free: 5.691 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.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.7026525191031396]