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.001004/0.001004, 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.001073/0.001073, allocations: 146.2 kB / 24.89 MB, free: 8.742 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.9749/0.9749, allocations: 173.3 MB / 201.5 MB, free: 9.207 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.433e-06/1.433e-06, allocations: 0 / 268.5 MB, free: 6.125 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.038e-05/2.181e-05, allocations: 6.25 kB / 268.5 MB, free: 6.117 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01175/0.01177, allocations: 13.13 MB / 281.7 MB, free: 8.918 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008515/0.02028, allocations: 4.503 MB / 286.2 MB, free: 4.398 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001306/0.02159, allocations: 95.44 kB / 286.3 MB, free: 4.305 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001823/0.02341, allocations: 1.029 MB / 287.3 MB, free: 3.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00265/0.02606, allocations: 1.401 MB / 288.7 MB, free: 1.859 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001323/0.02739, allocations: 0.8715 MB / 289.6 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1087/0.1361, allocations: 4.262 MB / 293.8 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002824/0.1389, allocations: 1.794 MB / 295.6 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004485/0.1434, allocations: 2.96 MB / 298.6 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002563/0.1459, allocations: 1.917 MB / 300.5 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007685/0.1467, allocations: 0.5019 MB / 301 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001005/0.1477, allocations: 0.7067 MB / 301.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000571/0.1483, allocations: 1.146 MB / 302.9 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001171/0.1495, allocations: 1.445 MB / 304.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00233/0.1518, allocations: 3.433 MB / 307.7 MB, free: 11.94 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1518, allocations: 0 / 307.7 MB, free: 11.94 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1518, allocations: 0 / 307.7 MB, free: 11.94 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.718e-05/0.1519, allocations: 4.938 kB / 307.7 MB, free: 11.94 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.004538/0.1564, allocations: 4.252 MB / 312 MB, free: 9.789 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.941e-05/0.1564, allocations: 11.39 kB / 312 MB, free: 9.789 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002274/0.1587, allocations: 1.118 MB / 313.1 MB, free: 9.527 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001622/0.1603, allocations: 1.47 MB / 314.6 MB, free: 8.23 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.272e-05/0.1604, allocations: 242.8 kB / 314.8 MB, free: 7.992 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002447/0.1606, allocations: 323.8 kB / 315.1 MB, free: 7.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0022/0.1628, allocations: 2.436 MB / 317.6 MB, free: 5.32 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.744e-05/0.1629, allocations: 7.953 kB / 317.6 MB, free: 5.312 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001868/0.1631, allocations: 138 kB / 317.7 MB, free: 5.184 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.229e-05/0.1632, allocations: 146.4 kB / 317.9 MB, free: 5.039 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001537/0.1647, allocations: 0.951 MB / 318.8 MB, free: 4.082 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009702/0.1744, allocations: 8.676 MB / 327.5 MB, free: 11.73 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002233/0.1766, allocations: 1.665 MB / 329.2 MB, free: 10.13 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008156/0.1775, allocations: 0.6238 MB / 329.8 MB, free: 9.527 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002715/0.1802, allocations: 1.795 MB / 331.6 MB, free: 7.789 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002373/0.1804, allocations: 45.75 kB / 331.6 MB, free: 7.734 MB / 282.7 MB Notification: Performance of pre-optimization done (n=134): time 2.385e-06/0.1804, allocations: 0 / 331.6 MB, free: 7.734 MB / 282.7 MB Notification: Performance of matching and sorting (n=137): time 0.004463/0.1849, allocations: 2.71 MB / 334.3 MB, free: 5.043 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.1849, allocations: 70.69 kB / 334.4 MB, free: 4.965 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009244/0.1858, allocations: 1.149 MB / 335.5 MB, free: 4.023 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.441e-05/0.1859, allocations: 49.7 kB / 335.6 MB, free: 3.969 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006048/0.1865, allocations: 1.282 MB / 336.9 MB, free: 2.746 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003022/0.1868, allocations: 0.4922 MB / 337.4 MB, free: 2.285 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003579/0.1872, allocations: 306.3 kB / 337.7 MB, free: 2.016 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.031e-05/0.1872, allocations: 305.1 kB / 338 MB, free: 1.715 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002779/0.1875, allocations: 190.8 kB / 338.2 MB, free: 1.527 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005648/0.1881, allocations: 0.7174 MB / 338.9 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/0.1892, allocations: 1.066 MB / 339.9 MB, free: 15.45 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-06/0.1892, allocations: 7.984 kB / 339.9 MB, free: 15.44 MB / 298.7 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.001282/0.1905, allocations: 1.172 MB / 341.1 MB, free: 14.36 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.1905, allocations: 12.62 kB / 341.1 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/0.1905, allocations: 19.66 kB / 341.1 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005114/0.191, allocations: 277.9 kB / 341.4 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007969/0.1918, allocations: 416.3 kB / 341.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00351/0.1953, allocations: 6.425 MB / 348.3 MB, free: 6.996 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004678/0.1958, allocations: 59.94 kB / 348.3 MB, free: 6.938 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.062e-05/0.1959, allocations: 63.84 kB / 348.4 MB, free: 6.879 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.0004059/0.1963, allocations: 220.9 kB / 348.6 MB, free: 6.676 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/0.1964, allocations: 147.8 kB / 348.7 MB, free: 6.531 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001249/0.1977, allocations: 1.05 MB / 349.8 MB, free: 5.48 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.1977, allocations: 12 kB / 349.8 MB, free: 5.469 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/0.1977, allocations: 8 kB / 349.8 MB, free: 5.461 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/0.1977, allocations: 7.969 kB / 349.8 MB, free: 5.453 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002487/0.2002, allocations: 2.205 MB / 352 MB, free: 3.441 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.2002, allocations: 0 / 352 MB, free: 3.441 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004425/0.2006, allocations: 179.2 kB / 352.2 MB, free: 3.273 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007334/0.2014, allocations: 425.4 kB / 352.6 MB, free: 2.859 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.967e-05/0.2014, allocations: 35.98 kB / 352.6 MB, free: 2.824 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005675/0.2071, allocations: 9.968 MB / 362.6 MB, free: 8.457 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.2071, allocations: 5.125 kB / 362.6 MB, free: 8.453 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001499/0.2086, allocations: 1.378 MB / 364 MB, free: 7.082 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002883/0.2089, allocations: 197.8 kB / 364.2 MB, free: 6.891 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/0.209, allocations: 35.98 kB / 364.2 MB, free: 6.855 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003371/0.2093, allocations: 43.98 kB / 364.3 MB, free: 6.812 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001762/0.2095, allocations: 122.4 kB / 364.4 MB, free: 6.699 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.75e-05/0.2096, allocations: 31.98 kB / 364.4 MB, free: 6.668 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004226/0.21, allocations: 0.5573 MB / 365 MB, free: 6.176 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.21, allocations: 0 / 365 MB, free: 6.176 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001188/0.2112, allocations: 0.5781 MB / 365.5 MB, free: 5.598 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.000231/0.2114, allocations: 147.2 kB / 365.7 MB, free: 5.457 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001269/0.2127, allocations: 1.358 MB / 367 MB, free: 4.129 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-05/0.2127, allocations: 21.81 kB / 367.1 MB, free: 4.105 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.2137, allocations: 1.328 MB / 368.4 MB, free: 2.742 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/0.215, allocations: 454.1 kB / 368.8 MB, free: 2.305 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005204/0.2202, allocations: 4.811 MB / 373.7 MB, free: 13.46 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005592/0.2207, allocations: 0.6376 MB / 374.3 MB, free: 12.81 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005223/0.2213, allocations: 235.7 kB / 374.5 MB, free: 12.58 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006685/0.2219, allocations: 447.1 kB / 375 MB, free: 12.13 MB / 330.7 MB Notification: Performance of SimCode: time 9.61e-07/0.2219, allocations: 4 kB / 375 MB, free: 12.13 MB / 330.7 MB Notification: Performance of Templates: time 0.03527/0.2572, allocations: 29.42 MB / 404.4 MB, free: 15.25 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 -s gbode -gbm=radauIIA3 -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.488897408824414]