Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.0009876/0.0009876, 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.001008/0.001008, allocations: 169.9 kB / 24.91 MB, free: 9.184 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.932/0.932, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.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_4.1.0_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_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 273.5 MB, free: 1.266 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.187e-05/1.33e-05, allocations: 2.312 kB / 273.5 MB, free: 1.262 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01015/0.01017, allocations: 13.73 MB / 287.2 MB, free: 3.465 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1194/0.1295, allocations: 4.766 MB / 292 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001867/0.1314, allocations: 100.8 kB / 292.1 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001741/0.1331, allocations: 1.046 MB / 293.1 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002337/0.1355, allocations: 1.367 MB / 294.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001325/0.1368, allocations: 0.9256 MB / 295.4 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003113/0.1399, allocations: 4.351 MB / 299.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00184/0.1417, allocations: 1.787 MB / 301.6 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002819/0.1446, allocations: 2.987 MB / 304.6 MB, free: 11.44 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002067/0.1466, allocations: 1.91 MB / 306.5 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007123/0.1473, allocations: 0.5071 MB / 307 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008346/0.1482, allocations: 0.7236 MB / 307.7 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004784/0.1487, allocations: 1.152 MB / 308.9 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009619/0.1496, allocations: 1.451 MB / 310.3 MB, free: 9.262 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001946/0.1516, allocations: 3.465 MB / 313.8 MB, free: 7.004 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1516, allocations: 0 / 313.8 MB, free: 7.004 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1516, allocations: 0 / 313.8 MB, free: 7.004 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.331e-05/0.1516, allocations: 0 / 313.8 MB, free: 7.004 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.004008/0.1556, allocations: 4.29 MB / 318.1 MB, free: 2.895 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.626e-05/0.1556, allocations: 12.03 kB / 318.1 MB, free: 2.883 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002361/0.158, allocations: 1.109 MB / 319.2 MB, free: 1.793 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001491/0.1595, allocations: 1.488 MB / 320.7 MB, free: 364 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.963e-05/0.1596, allocations: 247.8 kB / 320.9 MB, free: 124 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002854/0.1598, allocations: 329.6 kB / 321.2 MB, free: 15.8 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002321/0.1622, allocations: 2.434 MB / 323.7 MB, free: 13.41 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.027e-05/0.1622, allocations: 4 kB / 323.7 MB, free: 13.41 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001813/0.1624, allocations: 137.1 kB / 323.8 MB, free: 13.28 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-05/0.1625, allocations: 150.4 kB / 324 MB, free: 13.13 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001362/0.1638, allocations: 0.9536 MB / 324.9 MB, free: 12.17 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00836/0.1722, allocations: 8.695 MB / 333.6 MB, free: 3.797 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002182/0.1744, allocations: 1.687 MB / 335.3 MB, free: 2.152 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000699/0.1751, allocations: 0.6241 MB / 335.9 MB, free: 1.547 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00225/0.1773, allocations: 1.829 MB / 337.7 MB, free: 15.78 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.1774, allocations: 51.88 kB / 337.8 MB, free: 15.72 MB / 298.7 MB Notification: Performance of pre-optimization done (n=134): time 2.475e-06/0.1774, allocations: 0 / 337.8 MB, free: 15.72 MB / 298.7 MB Notification: Performance of matching and sorting (n=137): time 0.003851/0.1812, allocations: 2.726 MB / 340.5 MB, free: 13.01 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.1813, allocations: 64.72 kB / 340.6 MB, free: 12.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.1823, allocations: 1.174 MB / 341.8 MB, free: 11.97 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.71e-05/0.1823, allocations: 53.7 kB / 341.8 MB, free: 11.91 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004648/0.1828, allocations: 1.278 MB / 343.1 MB, free: 10.7 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002243/0.183, allocations: 0.4901 MB / 343.6 MB, free: 10.23 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002662/0.1833, allocations: 308.7 kB / 343.9 MB, free: 9.965 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.677e-05/0.1833, allocations: 309.1 kB / 344.2 MB, free: 9.66 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002527/0.1836, allocations: 194.7 kB / 344.4 MB, free: 9.469 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004306/0.184, allocations: 0.7193 MB / 345.1 MB, free: 8.566 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007967/0.1848, allocations: 1.055 MB / 346.1 MB, free: 7.387 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.1848, allocations: 7.938 kB / 346.2 MB, free: 7.379 MB / 298.7 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.001242/0.1861, allocations: 1.176 MB / 347.3 MB, free: 6.184 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.1861, allocations: 12.34 kB / 347.3 MB, free: 6.172 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.1861, allocations: 20 kB / 347.4 MB, free: 6.152 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004961/0.1866, allocations: 282.8 kB / 347.6 MB, free: 5.867 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007841/0.1874, allocations: 416.2 kB / 348 MB, free: 5.461 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003463/0.1908, allocations: 6.421 MB / 354.5 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004466/0.1913, allocations: 64.05 kB / 354.5 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.291e-05/0.1913, allocations: 59.98 kB / 354.6 MB, free: 14.61 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.0003763/0.1917, allocations: 224 kB / 354.8 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001554/0.1919, allocations: 147.8 kB / 354.9 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001496/0.1934, allocations: 1.046 MB / 356 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.1934, allocations: 16 kB / 356 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.1934, allocations: 8 kB / 356 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.1934, allocations: 7.969 kB / 356 MB, free: 13.13 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00241/0.1958, allocations: 2.204 MB / 358.2 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.1958, allocations: 4 kB / 358.2 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004321/0.1962, allocations: 180.6 kB / 358.4 MB, free: 10.9 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007555/0.197, allocations: 420.3 kB / 358.8 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.832e-05/0.1971, allocations: 39.92 kB / 358.9 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006682/0.2038, allocations: 9.974 MB / 368.8 MB, free: 24 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2038, allocations: 0 / 368.8 MB, free: 24 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001916/0.2057, allocations: 1.38 MB / 370.2 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003393/0.2091, allocations: 198.7 kB / 370.4 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001632/0.2092, allocations: 32 kB / 370.4 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000709/0.2099, allocations: 51.97 kB / 370.5 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001937/0.2101, allocations: 116.9 kB / 370.6 MB, free: 14.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.358e-05/0.2102, allocations: 27.98 kB / 370.6 MB, free: 14.2 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005643/0.2108, allocations: 0.5779 MB / 371.2 MB, free: 13.69 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2108, allocations: 0 / 371.2 MB, free: 13.69 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.004531/0.2153, allocations: 0.5742 MB / 371.8 MB, free: 13.12 MB / 330.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.0002355/0.2155, allocations: 159 kB / 371.9 MB, free: 12.96 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001489/0.217, allocations: 1.362 MB / 373.3 MB, free: 11.57 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.06e-05/0.217, allocations: 21.81 kB / 373.3 MB, free: 11.55 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004217/0.2213, allocations: 1.31 MB / 374.6 MB, free: 10.18 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001263/0.2225, allocations: 478.8 kB / 375.1 MB, free: 9.734 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0123/0.2348, allocations: 4.786 MB / 379.9 MB, free: 4.898 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006356/0.2355, allocations: 0.6382 MB / 380.5 MB, free: 4.246 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.003675/0.2391, allocations: 243.8 kB / 380.8 MB, free: 4.004 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008514/0.24, allocations: 453.2 kB / 381.2 MB, free: 3.555 MB / 330.7 MB Notification: Performance of SimCode: time 8.42e-07/0.24, allocations: 0 / 381.2 MB, free: 3.555 MB / 330.7 MB Notification: Performance of Templates: time 0.05384/0.2938, allocations: 29.94 MB / 411.1 MB, free: 6.129 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.2996530663222075]