Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.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.001011/0.001011, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001431/0.001431, allocations: 161 kB / 24.56 MB, free: 20 kB / 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 1.042/1.042, allocations: 177.2 MB / 205 MB, free: 5.289 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.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_4.1.0_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_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 273 MB, free: 1.383 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.804e-05/2.915e-05, allocations: 8.984 kB / 273 MB, free: 1.375 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.009032/0.009061, allocations: 9.704 MB / 282.7 MB, free: 7.621 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005587/0.01465, allocations: 3.046 MB / 285.7 MB, free: 4.566 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001271/0.01592, allocations: 59.62 kB / 285.8 MB, free: 4.508 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001358/0.01728, allocations: 0.6247 MB / 286.4 MB, free: 3.879 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001961/0.01924, allocations: 0.8147 MB / 287.2 MB, free: 3.059 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006987/0.01994, allocations: 395.3 kB / 287.6 MB, free: 2.672 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002354/0.02229, allocations: 2.525 MB / 290.2 MB, free: 136 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1529/0.1752, allocations: 1.003 MB / 291.2 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003178/0.1784, allocations: 1.628 MB / 292.8 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002557/0.1809, allocations: 1.208 MB / 294 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009176/0.1819, allocations: 279 kB / 294.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001154/0.183, allocations: 380.1 kB / 294.6 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001088/0.1841, allocations: 0.8135 MB / 295.5 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001799/0.1859, allocations: 0.8866 MB / 296.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003178/0.1891, allocations: 2.04 MB / 298.4 MB, free: 15.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1891, allocations: 0.625 kB / 298.4 MB, free: 15.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1891, allocations: 1.406 kB / 298.4 MB, free: 15.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001157/0.1892, allocations: 1.094 kB / 298.4 MB, free: 15.16 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.005019/0.1942, allocations: 2.723 MB / 301.1 MB, free: 13.97 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.1943, allocations: 13.03 kB / 301.1 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009939/0.1953, allocations: 442.3 kB / 301.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001785/0.1971, allocations: 1.273 MB / 302.8 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/0.1972, allocations: 142.1 kB / 303 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002227/0.1974, allocations: 195.5 kB / 303.2 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002622/0.2, allocations: 1.554 MB / 304.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.669e-05/0.2001, allocations: 8.594 kB / 304.7 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001247/0.2002, allocations: 78 kB / 304.8 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-05/0.2003, allocations: 91.73 kB / 304.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00146/0.2017, allocations: 0.706 MB / 305.6 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007411/0.2091, allocations: 6.613 MB / 312.2 MB, free: 7.801 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008377/0.21, allocations: 0.6016 MB / 312.8 MB, free: 7.543 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008417/0.2108, allocations: 0.6018 MB / 313.4 MB, free: 7.242 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001861/0.211, allocations: 48.95 kB / 313.4 MB, free: 7.195 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.249e-05/0.211, allocations: 46.39 kB / 313.5 MB, free: 7.141 MB / 266.7 MB Notification: Performance of pre-optimization done (n=95): time 5.33e-06/0.211, allocations: 0 / 313.5 MB, free: 7.141 MB / 266.7 MB Notification: Performance of matching and sorting (n=111): time 0.005276/0.2163, allocations: 3.205 MB / 316.7 MB, free: 3.922 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.2164, allocations: 64.41 kB / 316.8 MB, free: 3.848 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/0.2174, allocations: 1.077 MB / 317.8 MB, free: 2.758 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.621e-05/0.2175, allocations: 45.7 kB / 317.9 MB, free: 2.707 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003711/0.2178, allocations: 1.021 MB / 318.9 MB, free: 1.68 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001933/0.218, allocations: 407.6 kB / 319.3 MB, free: 1.285 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002363/0.2183, allocations: 257.2 kB / 319.6 MB, free: 1.027 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.2184, allocations: 0.5394 MB / 320.1 MB, free: 492 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003475/0.2187, allocations: 227.8 kB / 320.3 MB, free: 264 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006372/0.2193, allocations: 0.732 MB / 321 MB, free: 15.32 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/0.2206, allocations: 1.054 MB / 322.1 MB, free: 14.11 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/0.2206, allocations: 0 / 322.1 MB, free: 14.11 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00205/0.2226, allocations: 1.32 MB / 323.4 MB, free: 12.84 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.117e-05/0.2227, allocations: 8 kB / 323.4 MB, free: 12.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-05/0.2227, allocations: 16.25 kB / 323.4 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007896/0.2235, allocations: 301.4 kB / 323.7 MB, free: 12.51 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006653/0.2241, allocations: 304.4 kB / 324 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004796/0.2289, allocations: 6.732 MB / 330.8 MB, free: 5.191 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009674/0.2299, allocations: 83.88 kB / 330.8 MB, free: 5.109 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.178e-05/0.23, allocations: 55.98 kB / 330.9 MB, free: 5.055 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.0007025/0.2307, allocations: 241.9 kB / 331.1 MB, free: 4.824 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002695/0.231, allocations: 175.1 kB / 331.3 MB, free: 4.652 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001679/0.2326, allocations: 1.079 MB / 332.4 MB, free: 3.551 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/0.2326, allocations: 8 kB / 332.4 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.2326, allocations: 4 kB / 332.4 MB, free: 3.539 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.2327, allocations: 11.97 kB / 332.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004208/0.2369, allocations: 2.739 MB / 335.2 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.2369, allocations: 8 kB / 335.2 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004676/0.2373, allocations: 185.7 kB / 335.3 MB, free: 0.582 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008497/0.2382, allocations: 367.1 kB / 335.7 MB, free: 216 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.465e-05/0.2383, allocations: 27.98 kB / 335.7 MB, free: 188 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005259/0.2435, allocations: 8.546 MB / 344.3 MB, free: 7.195 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.2435, allocations: 4 kB / 344.3 MB, free: 7.191 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002358/0.2459, allocations: 1.555 MB / 345.8 MB, free: 5.582 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005491/0.2464, allocations: 267 kB / 346.1 MB, free: 5.32 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.2465, allocations: 24 kB / 346.1 MB, free: 5.297 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000403/0.247, allocations: 63.92 kB / 346.2 MB, free: 5.234 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001842/0.2471, allocations: 92.77 kB / 346.3 MB, free: 5.145 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.741e-05/0.2472, allocations: 35.98 kB / 346.3 MB, free: 5.109 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007644/0.2479, allocations: 0.634 MB / 346.9 MB, free: 4.473 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.2479, allocations: 0 / 346.9 MB, free: 4.473 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001341/0.2493, allocations: 436 kB / 347.4 MB, free: 4.047 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.0003218/0.2496, allocations: 186.2 kB / 347.5 MB, free: 3.863 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001927/0.2515, allocations: 1.492 MB / 349 MB, free: 2.355 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.2515, allocations: 0 / 349 MB, free: 2.355 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001207/0.2527, allocations: 1.309 MB / 350.3 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.2538, allocations: 369.6 kB / 350.7 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005334/0.2591, allocations: 3.502 MB / 354.2 MB, free: 13.07 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004351/0.2596, allocations: 496 kB / 354.7 MB, free: 12.56 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006323/0.2602, allocations: 259.7 kB / 354.9 MB, free: 12.3 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002151/0.2604, allocations: 96.48 kB / 355 MB, free: 12.2 MB / 314.7 MB Notification: Performance of SimCode: time 2.184e-06/0.2604, allocations: 0 / 355 MB, free: 12.2 MB / 314.7 MB Notification: Performance of Templates: time 0.03182/0.2922, allocations: 22.96 MB / 378 MB, free: 5.645 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.8352893153205514]