Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009314/0.0009314, allocations: 85.17 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000934/0.000934, allocations: 147.1 kB / 24.9 MB, free: 8.727 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9586/0.9586, allocations: 173.4 MB / 201.5 MB, free: 8.727 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.337e-06/3.337e-06, allocations: 4 kB / 268.5 MB, free: 5.984 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.371e-05/2.704e-05, allocations: 6.25 kB / 268.5 MB, free: 5.977 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01591/0.01594, allocations: 13.1 MB / 281.6 MB, free: 8.812 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006829/0.02277, allocations: 4.499 MB / 286.1 MB, free: 4.297 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008494/0.02361, allocations: 95.44 kB / 286.2 MB, free: 4.203 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001618/0.02523, allocations: 1.021 MB / 287.2 MB, free: 3.176 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001945/0.02718, allocations: 1.397 MB / 288.6 MB, free: 1.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.02818, allocations: 0.8882 MB / 289.5 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1163/0.1445, allocations: 4.262 MB / 293.8 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002039/0.1466, allocations: 1.788 MB / 295.5 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003145/0.1497, allocations: 2.966 MB / 298.5 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002315/0.152, allocations: 1.906 MB / 300.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006312/0.1527, allocations: 0.5038 MB / 300.9 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009817/0.1536, allocations: 0.6928 MB / 301.6 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005527/0.1542, allocations: 1.142 MB / 302.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001001/0.1552, allocations: 1.455 MB / 304.2 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002178/0.1574, allocations: 3.429 MB / 307.6 MB, free: 12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1574, allocations: 6.156 kB / 307.6 MB, free: 11.99 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1574, allocations: 0 / 307.6 MB, free: 11.99 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.063e-05/0.1574, allocations: 3.594 kB / 307.7 MB, free: 11.99 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.00418/0.1616, allocations: 4.248 MB / 311.9 MB, free: 9.848 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.731e-05/0.1616, allocations: 7.641 kB / 311.9 MB, free: 9.848 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002151/0.1638, allocations: 1.119 MB / 313 MB, free: 9.562 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001584/0.1653, allocations: 1.475 MB / 314.5 MB, free: 8.262 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.74e-05/0.1654, allocations: 234.8 kB / 314.7 MB, free: 8.031 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002518/0.1657, allocations: 331.4 kB / 315.1 MB, free: 7.711 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001937/0.1676, allocations: 2.432 MB / 317.5 MB, free: 5.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.218e-05/0.1677, allocations: 11 kB / 317.5 MB, free: 5.332 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001726/0.1678, allocations: 131.2 kB / 317.6 MB, free: 5.207 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.387e-05/0.1679, allocations: 154.1 kB / 317.8 MB, free: 5.059 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00123/0.1691, allocations: 0.9427 MB / 318.7 MB, free: 4.105 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007594/0.1767, allocations: 8.677 MB / 327.4 MB, free: 11.76 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001914/0.1786, allocations: 1.668 MB / 329.1 MB, free: 10.15 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007153/0.1794, allocations: 0.6275 MB / 329.7 MB, free: 9.547 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002432/0.1818, allocations: 1.793 MB / 331.5 MB, free: 7.812 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.1818, allocations: 51.88 kB / 331.5 MB, free: 7.75 MB / 282.7 MB Notification: Performance of pre-optimization done (n=134): time 3.156e-06/0.1818, allocations: 0 / 331.5 MB, free: 7.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=137): time 0.004159/0.186, allocations: 2.701 MB / 334.2 MB, free: 5.066 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.186, allocations: 71.12 kB / 334.3 MB, free: 4.988 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008325/0.1869, allocations: 1.15 MB / 335.5 MB, free: 4.047 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.047e-05/0.1869, allocations: 45.7 kB / 335.5 MB, free: 3.996 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005177/0.1874, allocations: 1.29 MB / 336.8 MB, free: 2.766 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002321/0.1877, allocations: 499.6 kB / 337.3 MB, free: 2.309 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002723/0.1879, allocations: 312.1 kB / 337.6 MB, free: 2.035 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.537e-05/0.188, allocations: 305.1 kB / 337.9 MB, free: 1.734 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002587/0.1883, allocations: 194.7 kB / 338.1 MB, free: 1.543 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004648/0.1887, allocations: 0.7159 MB / 338.8 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008372/0.1896, allocations: 1.065 MB / 339.9 MB, free: 15.46 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/0.1896, allocations: 4 kB / 339.9 MB, free: 15.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.001269/0.1908, allocations: 1.169 MB / 341 MB, free: 14.38 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.1909, allocations: 12.62 kB / 341 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/0.1909, allocations: 19.75 kB / 341.1 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005115/0.1914, allocations: 283.8 kB / 341.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006571/0.1921, allocations: 366.1 kB / 341.7 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003276/0.1953, allocations: 6.403 MB / 348.1 MB, free: 7.082 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004597/0.1958, allocations: 63.94 kB / 348.2 MB, free: 7.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.22e-05/0.1959, allocations: 64.03 kB / 348.2 MB, free: 6.957 MB / 298.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.0004074/0.1963, allocations: 218 kB / 348.4 MB, free: 6.758 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/0.1964, allocations: 147.8 kB / 348.6 MB, free: 6.613 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001218/0.1976, allocations: 1.042 MB / 349.6 MB, free: 5.57 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.1977, allocations: 12 kB / 349.6 MB, free: 5.559 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.1977, allocations: 11.94 kB / 349.6 MB, free: 5.547 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.1977, allocations: 11.91 kB / 349.7 MB, free: 5.535 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002484/0.2002, allocations: 2.21 MB / 351.9 MB, free: 3.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.2002, allocations: 7.938 kB / 351.9 MB, free: 3.512 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000374/0.2005, allocations: 155.3 kB / 352 MB, free: 3.367 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007451/0.2013, allocations: 421.5 kB / 352.4 MB, free: 2.953 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.657e-05/0.2013, allocations: 39.98 kB / 352.5 MB, free: 2.914 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00539/0.2067, allocations: 9.94 MB / 362.4 MB, free: 8.586 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.2067, allocations: 3.938 kB / 362.4 MB, free: 8.582 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001492/0.2082, allocations: 1.377 MB / 363.8 MB, free: 7.211 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003171/0.2085, allocations: 197.4 kB / 364 MB, free: 7.02 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001306/0.2087, allocations: 43.92 kB / 364 MB, free: 6.977 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003407/0.209, allocations: 46.14 kB / 364.1 MB, free: 6.934 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001707/0.2092, allocations: 112.5 kB / 364.2 MB, free: 6.828 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.484e-05/0.2092, allocations: 27.98 kB / 364.2 MB, free: 6.801 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004351/0.2097, allocations: 0.5606 MB / 364.8 MB, free: 6.309 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2097, allocations: 0 / 364.8 MB, free: 6.309 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001241/0.2109, allocations: 0.582 MB / 365.4 MB, free: 5.727 MB / 314.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.0002428/0.2112, allocations: 143.1 kB / 365.5 MB, free: 5.586 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001246/0.2124, allocations: 1.358 MB / 366.9 MB, free: 4.258 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-05/0.2124, allocations: 25.75 kB / 366.9 MB, free: 4.23 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001282/0.2137, allocations: 1.319 MB / 368.2 MB, free: 2.875 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000976/0.2147, allocations: 468 kB / 368.7 MB, free: 2.426 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005602/0.2203, allocations: 4.802 MB / 373.5 MB, free: 13.6 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005525/0.2208, allocations: 0.6376 MB / 374.1 MB, free: 12.95 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005268/0.2214, allocations: 235.5 kB / 374.3 MB, free: 12.71 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007403/0.2221, allocations: 439.1 kB / 374.8 MB, free: 12.27 MB / 330.7 MB Notification: Performance of SimCode: time 8.61e-07/0.2221, allocations: 4 kB / 374.8 MB, free: 12.27 MB / 330.7 MB Notification: Performance of Templates: time 0.0367/0.2588, allocations: 29.08 MB / 403.8 MB, free: 15.73 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.477963250130415]