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.0009659/0.0009659, allocations: 76.06 kB / 21.69 MB, free: 2.855 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.0009463/0.0009463, allocations: 143.7 kB / 24.98 MB, free: 9.301 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.8983/0.8983, allocations: 173.4 MB / 201.5 MB, free: 9.312 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 1.804e-06/1.804e-06, allocations: 0 / 268.1 MB, free: 6.691 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.505e-05/1.685e-05, allocations: 6.25 kB / 268.1 MB, free: 6.684 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.0103/0.01032, allocations: 13.47 MB / 281.6 MB, free: 9.148 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005642/0.01596, allocations: 4.337 MB / 285.9 MB, free: 4.797 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009134/0.01688, allocations: 99.38 kB / 286 MB, free: 4.699 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001533/0.01841, allocations: 1.001 MB / 287 MB, free: 3.691 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001903/0.02031, allocations: 1.389 MB / 288.4 MB, free: 2.293 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.02133, allocations: 0.8833 MB / 289.3 MB, free: 1.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1104/0.1317, allocations: 4.258 MB / 293.5 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002525/0.1343, allocations: 1.741 MB / 295.3 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004376/0.1386, allocations: 2.866 MB / 298.1 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00338/0.142, allocations: 1.92 MB / 300.1 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001224/0.1432, allocations: 0.508 MB / 300.6 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001482/0.1447, allocations: 0.6983 MB / 301.3 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009329/0.1457, allocations: 1.159 MB / 302.4 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002016/0.1477, allocations: 1.46 MB / 303.9 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002757/0.1504, allocations: 3.451 MB / 307.3 MB, free: 11.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.1504, allocations: 0 / 307.3 MB, free: 11.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1504, allocations: 0 / 307.3 MB, free: 11.59 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.108e-05/0.1505, allocations: 2.719 kB / 307.3 MB, free: 11.59 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.004968/0.1555, allocations: 4.637 MB / 312 MB, free: 9.043 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.1555, allocations: 11.05 kB / 312 MB, free: 9.043 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002751/0.1582, allocations: 1.246 MB / 313.2 MB, free: 8.594 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002015/0.1603, allocations: 2.303 MB / 315.5 MB, free: 7.109 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.612e-05/0.1603, allocations: 242 kB / 315.8 MB, free: 6.875 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000271/0.1606, allocations: 336.3 kB / 316.1 MB, free: 6.547 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002923/0.1635, allocations: 2.591 MB / 318.7 MB, free: 3.867 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.749e-05/0.1636, allocations: 4 kB / 318.7 MB, free: 3.863 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001977/0.1638, allocations: 135.9 kB / 318.8 MB, free: 3.73 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.59e-05/0.1639, allocations: 146.5 kB / 319 MB, free: 3.586 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002187/0.1661, allocations: 1.224 MB / 320.2 MB, free: 2.359 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01044/0.1765, allocations: 11.09 MB / 331.3 MB, free: 7.227 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002539/0.1791, allocations: 1.974 MB / 333.3 MB, free: 5.391 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001033/0.1801, allocations: 0.7768 MB / 334 MB, free: 4.605 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002696/0.1828, allocations: 2.297 MB / 336.3 MB, free: 2.336 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.1828, allocations: 57.7 kB / 336.4 MB, free: 2.27 MB / 282.7 MB Notification: Performance of pre-optimization done (n=134): time 2.665e-06/0.1828, allocations: 0 / 336.4 MB, free: 2.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=137): time 0.005259/0.1881, allocations: 3.539 MB / 339.9 MB, free: 14.71 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.1881, allocations: 68.66 kB / 340 MB, free: 14.64 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001278/0.1894, allocations: 1.408 MB / 341.4 MB, free: 13.21 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.245e-05/0.1895, allocations: 49.7 kB / 341.5 MB, free: 13.15 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000715/0.1902, allocations: 1.577 MB / 343 MB, free: 11.57 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002677/0.1904, allocations: 0.5075 MB / 343.5 MB, free: 11.07 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000325/0.1908, allocations: 337.1 kB / 343.9 MB, free: 10.74 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.452e-05/0.1909, allocations: 484.7 kB / 344.3 MB, free: 10.26 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004295/0.1913, allocations: 251.8 kB / 344.6 MB, free: 10.02 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007539/0.192, allocations: 1.019 MB / 345.6 MB, free: 8.691 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001263/0.1933, allocations: 1.364 MB / 347 MB, free: 7.086 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/0.1933, allocations: 4 kB / 347 MB, free: 7.082 MB / 298.7 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.001931/0.1952, allocations: 1.592 MB / 348.6 MB, free: 5.578 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.1953, allocations: 16.69 kB / 348.6 MB, free: 5.562 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.812e-05/0.1953, allocations: 16 kB / 348.6 MB, free: 5.547 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000635/0.1959, allocations: 318.4 kB / 348.9 MB, free: 5.227 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007304/0.1966, allocations: 376.6 kB / 349.3 MB, free: 4.883 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004239/0.2009, allocations: 8.913 MB / 358.2 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004919/0.2014, allocations: 75.95 kB / 358.3 MB, free: 11.47 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-05/0.2015, allocations: 76 kB / 358.3 MB, free: 11.39 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.000415/0.2019, allocations: 269 kB / 358.6 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001994/0.2021, allocations: 230.8 kB / 358.8 MB, free: 10.92 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001731/0.2038, allocations: 1.338 MB / 360.2 MB, free: 9.562 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.2038, allocations: 12 kB / 360.2 MB, free: 9.551 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.2038, allocations: 8 kB / 360.2 MB, free: 9.543 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.2038, allocations: 7.969 kB / 360.2 MB, free: 9.535 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00386/0.2077, allocations: 3.502 MB / 363.7 MB, free: 6 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.2077, allocations: 192 / 363.7 MB, free: 6 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004163/0.2081, allocations: 179.2 kB / 363.9 MB, free: 5.832 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008951/0.209, allocations: 473.2 kB / 364.3 MB, free: 5.355 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-05/0.2091, allocations: 35.98 kB / 364.4 MB, free: 5.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006772/0.2158, allocations: 13.82 MB / 378.2 MB, free: 6.871 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2158, allocations: 2.906 kB / 378.2 MB, free: 6.871 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002201/0.218, allocations: 1.803 MB / 380 MB, free: 5.027 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003898/0.2184, allocations: 318.7 kB / 380.3 MB, free: 4.715 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/0.2186, allocations: 31.98 kB / 380.3 MB, free: 4.684 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004103/0.219, allocations: 63.95 kB / 380.4 MB, free: 4.621 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001912/0.2192, allocations: 120.2 kB / 380.5 MB, free: 4.508 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.941e-05/0.2192, allocations: 32 kB / 380.6 MB, free: 4.477 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007777/0.22, allocations: 0.8003 MB / 381.4 MB, free: 3.68 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.22, allocations: 0 / 381.4 MB, free: 3.68 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001284/0.2213, allocations: 0.5781 MB / 381.9 MB, free: 3.102 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.0002452/0.2215, allocations: 162.7 kB / 382.1 MB, free: 2.941 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001765/0.2233, allocations: 1.767 MB / 383.9 MB, free: 1.16 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2233, allocations: 4.25 kB / 383.9 MB, free: 1.156 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00129/0.2246, allocations: 1.757 MB / 385.6 MB, free: 15.31 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.2257, allocations: 458.2 kB / 386.1 MB, free: 14.87 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005621/0.2313, allocations: 5.098 MB / 391.2 MB, free: 9.707 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005771/0.2319, allocations: 0.782 MB / 391.9 MB, free: 8.91 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005969/0.2325, allocations: 323.3 kB / 392.3 MB, free: 8.59 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002017/0.2327, allocations: 120.5 kB / 392.4 MB, free: 8.473 MB / 346.7 MB Notification: Performance of SimCode: time 1.082e-06/0.2327, allocations: 0 / 392.4 MB, free: 8.473 MB / 346.7 MB Notification: Performance of Templates: time 0.03228/0.265, allocations: 27.45 MB / 419.8 MB, free: 13.48 MB / 378.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.5678790220990777]