Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.0009464/0.0009464, 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.001008/0.001008, 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 1.004/1.004, allocations: 177 MB / 204.8 MB, free: 5.586 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.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.[0-9,]+.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.[0-9,]+.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 272.9 MB, free: 1.422 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.51e-05/1.633e-05, allocations: 2.312 kB / 272.9 MB, free: 1.418 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01083/0.01085, allocations: 14.17 MB / 287.1 MB, free: 3.176 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1303/0.1411, allocations: 4.607 MB / 291.7 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002103/0.1432, allocations: 104.5 kB / 291.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002041/0.1453, allocations: 1.016 MB / 292.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002635/0.1479, allocations: 1.373 MB / 294.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00145/0.1494, allocations: 0.9435 MB / 295.1 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003801/0.1532, allocations: 4.35 MB / 299.5 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002009/0.1552, allocations: 1.743 MB / 301.2 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002901/0.1581, allocations: 2.892 MB / 304.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002169/0.1602, allocations: 1.926 MB / 306.1 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007602/0.161, allocations: 0.5067 MB / 306.6 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001063/0.1621, allocations: 0.7179 MB / 307.3 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00059/0.1626, allocations: 1.165 MB / 308.4 MB, free: 9.926 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00115/0.1638, allocations: 1.468 MB / 309.9 MB, free: 9.121 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002575/0.1664, allocations: 3.483 MB / 313.4 MB, free: 7.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1664, allocations: 3 kB / 313.4 MB, free: 7.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1664, allocations: 0 / 313.4 MB, free: 7.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001/0.1665, allocations: 0 / 313.4 MB, free: 7.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: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.005444/0.1719, allocations: 4.673 MB / 318.1 MB, free: 2.582 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.172, allocations: 15.98 kB / 318.1 MB, free: 2.566 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002503/0.1745, allocations: 1.241 MB / 319.3 MB, free: 1.328 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002738/0.1772, allocations: 2.337 MB / 321.7 MB, free: 15.04 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/0.1773, allocations: 246.5 kB / 321.9 MB, free: 14.8 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003301/0.1777, allocations: 331.8 kB / 322.2 MB, free: 14.48 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003541/0.1812, allocations: 2.59 MB / 324.8 MB, free: 11.8 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.063e-05/0.1813, allocations: 7.375 kB / 324.8 MB, free: 11.8 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000204/0.1815, allocations: 138.7 kB / 325 MB, free: 11.66 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001048/0.1816, allocations: 145.3 kB / 325.1 MB, free: 11.52 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002299/0.1839, allocations: 1.235 MB / 326.3 MB, free: 10.29 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01154/0.1954, allocations: 11.1 MB / 337.4 MB, free: 15.14 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002763/0.1982, allocations: 2.002 MB / 339.4 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00114/0.1993, allocations: 0.7816 MB / 340.2 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003224/0.2025, allocations: 2.352 MB / 342.6 MB, free: 10.14 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.2026, allocations: 54.7 kB / 342.6 MB, free: 10.08 MB / 298.7 MB Notification: Performance of pre-optimization done (n=134): time 2.485e-06/0.2026, allocations: 0 / 342.6 MB, free: 10.08 MB / 298.7 MB Notification: Performance of matching and sorting (n=137): time 0.006052/0.2086, allocations: 3.565 MB / 346.2 MB, free: 6.469 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.2087, allocations: 68.7 kB / 346.3 MB, free: 6.387 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001403/0.2101, allocations: 1.426 MB / 347.7 MB, free: 4.941 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.975e-05/0.2101, allocations: 45.7 kB / 347.7 MB, free: 4.891 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007909/0.2109, allocations: 1.596 MB / 349.3 MB, free: 3.289 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002816/0.2112, allocations: 0.5067 MB / 349.8 MB, free: 2.789 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003584/0.2116, allocations: 341.1 kB / 350.2 MB, free: 2.449 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.2117, allocations: 484.6 kB / 350.6 MB, free: 1.973 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004359/0.2121, allocations: 247.8 kB / 350.9 MB, free: 1.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/0.2131, allocations: 1.014 MB / 351.9 MB, free: 408 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001334/0.2145, allocations: 1.368 MB / 353.3 MB, free: 14.73 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.03e-05/0.2145, allocations: 12 kB / 353.3 MB, free: 14.72 MB / 314.7 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.002116/0.2166, allocations: 1.608 MB / 354.9 MB, free: 13.08 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.843e-05/0.2166, allocations: 12 kB / 354.9 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.879e-05/0.2166, allocations: 16 kB / 354.9 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007135/0.2174, allocations: 309.9 kB / 355.2 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008062/0.2182, allocations: 379.4 kB / 355.6 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005062/0.2232, allocations: 8.909 MB / 364.5 MB, free: 2.984 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007328/0.224, allocations: 72.02 kB / 364.6 MB, free: 2.914 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.75e-05/0.224, allocations: 83.97 kB / 364.6 MB, free: 2.832 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (192): * Single equations (assignments): 187 * 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 {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006915/0.2247, allocations: 268 kB / 364.9 MB, free: 2.559 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003087/0.225, allocations: 226.8 kB / 365.1 MB, free: 2.336 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001902/0.2269, allocations: 1.333 MB / 366.5 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.227, allocations: 16 kB / 366.5 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.227, allocations: 12 kB / 366.5 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.227, allocations: 7.969 kB / 366.5 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004338/0.2313, allocations: 3.523 MB / 370 MB, free: 13.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.2313, allocations: 4 kB / 370 MB, free: 13.33 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000427/0.2317, allocations: 171.8 kB / 370.2 MB, free: 13.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001028/0.2328, allocations: 475.3 kB / 370.7 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.472e-05/0.2329, allocations: 43.92 kB / 370.7 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00706/0.2399, allocations: 13.81 MB / 384.5 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.2399, allocations: 4 kB / 384.5 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002318/0.2422, allocations: 1.81 MB / 386.3 MB, free: 12.24 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005785/0.2428, allocations: 322.7 kB / 386.6 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/0.2429, allocations: 31.98 kB / 386.7 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004132/0.2434, allocations: 59.95 kB / 386.7 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001815/0.2435, allocations: 117 kB / 386.8 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.291e-05/0.2436, allocations: 43.98 kB / 386.9 MB, free: 11.68 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008961/0.2445, allocations: 0.817 MB / 387.7 MB, free: 10.86 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2445, allocations: 0 / 387.7 MB, free: 10.86 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001599/0.2461, allocations: 0.5781 MB / 388.3 MB, free: 10.29 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,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): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002647/0.2464, allocations: 171.5 kB / 388.5 MB, free: 10.11 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001902/0.2483, allocations: 1.766 MB / 390.2 MB, free: 8.273 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.2483, allocations: 0 / 390.2 MB, free: 8.273 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001314/0.2496, allocations: 1.75 MB / 392 MB, free: 6.414 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.2507, allocations: 477 kB / 392.4 MB, free: 5.961 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006069/0.2568, allocations: 5.092 MB / 397.5 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006076/0.2574, allocations: 0.7867 MB / 398.3 MB, free: 16 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006344/0.258, allocations: 331.5 kB / 398.6 MB, free: 15.67 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002139/0.2582, allocations: 120.5 kB / 398.8 MB, free: 15.55 MB / 362.7 MB Notification: Performance of SimCode: time 8.62e-07/0.2583, allocations: 0 / 398.8 MB, free: 15.55 MB / 362.7 MB Notification: Performance of Templates: time 0.03439/0.2926, allocations: 27.93 MB / 426.7 MB, free: 4.062 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/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.907169060315937]