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.0009833/0.0009833, allocations: 82.28 kB / 22.21 MB, free: 2.293 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.0009925/0.0009925, allocations: 141.2 kB / 25.59 MB, free: 8.906 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.8768/0.8768, allocations: 173.4 MB / 202.3 MB, free: 8.254 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.162e-06/1.162e-06, allocations: 0 / 269.2 MB, free: 9.723 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.845e-05/1.961e-05, allocations: 3 kB / 269.2 MB, free: 9.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01004/0.01005, allocations: 13.08 MB / 282.3 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005889/0.01594, allocations: 4.316 MB / 286.6 MB, free: 8.273 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00102/0.01696, allocations: 103.4 kB / 286.7 MB, free: 8.172 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001635/0.0186, allocations: 1.001 MB / 287.7 MB, free: 7.164 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001981/0.02058, allocations: 1.386 MB / 289.1 MB, free: 5.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001119/0.0217, allocations: 0.8748 MB / 290 MB, free: 4.895 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002976/0.02467, allocations: 4.264 MB / 294.3 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001559/0.02623, allocations: 1.738 MB / 296 MB, free: 14.8 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002537/0.02877, allocations: 2.971 MB / 299 MB, free: 11.82 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001532/0.0303, allocations: 1.902 MB / 300.9 MB, free: 9.918 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004428/0.03075, allocations: 0.5039 MB / 301.4 MB, free: 9.414 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007582/0.0315, allocations: 0.691 MB / 302.1 MB, free: 8.723 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006212/0.03212, allocations: 1.145 MB / 303.2 MB, free: 7.574 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001176/0.0333, allocations: 1.45 MB / 304.7 MB, free: 6.121 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002539/0.03584, allocations: 3.431 MB / 308.1 MB, free: 2.68 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.03584, allocations: 0 / 308.1 MB, free: 2.68 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.03584, allocations: 0 / 308.1 MB, free: 2.68 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.782e-05/0.03587, allocations: 4 kB / 308.1 MB, free: 2.676 MB / 282.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.006434/0.04231, allocations: 4.503 MB / 312.6 MB, free: 14.11 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.04234, allocations: 12.03 kB / 312.6 MB, free: 14.1 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00345/0.04579, allocations: 1.173 MB / 313.8 MB, free: 12.92 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002742/0.04853, allocations: 2.215 MB / 316 MB, free: 10.65 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001645/0.0487, allocations: 242.8 kB / 316.2 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004011/0.0491, allocations: 328.3 kB / 316.6 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003527/0.05263, allocations: 2.381 MB / 318.9 MB, free: 7.613 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.226e-05/0.0527, allocations: 15.88 kB / 318.9 MB, free: 7.598 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002554/0.05295, allocations: 132 kB / 319.1 MB, free: 7.469 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001279/0.05308, allocations: 142.4 kB / 319.2 MB, free: 7.328 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001926/0.05501, allocations: 0.9495 MB / 320.2 MB, free: 6.367 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01618/0.07119, allocations: 10.99 MB / 331.2 MB, free: 11.01 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006869/0.07806, allocations: 1.827 MB / 333 MB, free: 9.305 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001303/0.07936, allocations: 0.6859 MB / 333.7 MB, free: 8.613 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006371/0.08573, allocations: 2.233 MB / 335.9 MB, free: 6.355 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/0.08577, allocations: 54.7 kB / 336 MB, free: 6.289 MB / 314.7 MB Notification: Performance of pre-optimization done (n=134): time 3.346e-06/0.08577, allocations: 0 / 336 MB, free: 6.289 MB / 314.7 MB Notification: Performance of matching and sorting (n=137): time 0.01085/0.09662, allocations: 2.938 MB / 338.9 MB, free: 3.297 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.09666, allocations: 64.72 kB / 339 MB, free: 3.223 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00452/0.1012, allocations: 1.372 MB / 340.3 MB, free: 1.828 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.959e-05/0.1013, allocations: 53.7 kB / 340.4 MB, free: 1.77 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001032/0.1023, allocations: 1.589 MB / 342 MB, free: 172 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.11/0.2123, allocations: 0.5036 MB / 342.5 MB, free: 56.78 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004678/0.2128, allocations: 344.3 kB / 342.8 MB, free: 56.75 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.762e-05/0.2128, allocations: 483.6 kB / 343.3 MB, free: 56.29 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003511/0.2132, allocations: 190.4 kB / 343.5 MB, free: 56.28 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005224/0.2137, allocations: 0.9624 MB / 344.4 MB, free: 55.37 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009727/0.2147, allocations: 1.271 MB / 345.7 MB, free: 54.51 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.017e-05/0.2147, allocations: 4.344 kB / 345.7 MB, free: 54.51 MB / 314.7 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.002/0.2167, allocations: 1.463 MB / 347.2 MB, free: 54.38 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.2167, allocations: 11.8 kB / 347.2 MB, free: 54.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/0.2167, allocations: 16.34 kB / 347.2 MB, free: 54.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005924/0.2173, allocations: 299.2 kB / 347.5 MB, free: 54.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007315/0.218, allocations: 361.2 kB / 347.8 MB, free: 54.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002837/0.2209, allocations: 8.738 MB / 356.6 MB, free: 46.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006419/0.2215, allocations: 62.81 kB / 356.6 MB, free: 46.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.044e-05/0.2216, allocations: 59.28 kB / 356.7 MB, free: 46.84 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.0005338/0.2221, allocations: 269.2 kB / 357 MB, free: 46.68 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000172/0.2223, allocations: 229.9 kB / 357.2 MB, free: 46.57 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00133/0.2236, allocations: 1.231 MB / 358.4 MB, free: 46.38 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.2236, allocations: 11.25 kB / 358.4 MB, free: 46.38 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.2236, allocations: 10.31 kB / 358.4 MB, free: 46.38 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.2236, allocations: 3.891 kB / 358.4 MB, free: 46.38 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002913/0.2265, allocations: 2.872 MB / 361.3 MB, free: 45.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.2265, allocations: 3.344 kB / 361.3 MB, free: 45.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003712/0.2269, allocations: 163.9 kB / 361.5 MB, free: 45.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007427/0.2277, allocations: 456.8 kB / 361.9 MB, free: 45.79 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.674e-05/0.2277, allocations: 42.73 kB / 362 MB, free: 45.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004313/0.232, allocations: 13.51 MB / 375.5 MB, free: 34.36 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.232, allocations: 9.281 kB / 375.5 MB, free: 34.36 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001505/0.2335, allocations: 1.647 MB / 377.1 MB, free: 33.84 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003053/0.2338, allocations: 307.4 kB / 377.4 MB, free: 33.75 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/0.234, allocations: 37.36 kB / 377.5 MB, free: 33.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003738/0.2343, allocations: 52.19 kB / 377.5 MB, free: 33.74 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/0.2345, allocations: 113.4 kB / 377.6 MB, free: 33.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-05/0.2345, allocations: 32.23 kB / 377.7 MB, free: 33.74 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000515/0.2351, allocations: 0.7256 MB / 378.4 MB, free: 33.58 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2351, allocations: 0 / 378.4 MB, free: 33.58 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00119/0.2362, allocations: 0.5767 MB / 379 MB, free: 33.58 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.0002109/0.2365, allocations: 159.3 kB / 379.1 MB, free: 33.49 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001217/0.2377, allocations: 1.67 MB / 380.8 MB, free: 32.71 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2377, allocations: 0 / 380.8 MB, free: 32.71 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008901/0.2386, allocations: 1.704 MB / 382.5 MB, free: 31.18 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009903/0.2396, allocations: 465.7 kB / 383 MB, free: 30.81 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004564/0.2441, allocations: 5.019 MB / 388 MB, free: 26.17 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004862/0.2446, allocations: 0.7839 MB / 388.8 MB, free: 25.59 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004893/0.2451, allocations: 245.3 kB / 389 MB, free: 25.4 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005848/0.2457, allocations: 495.6 kB / 389.5 MB, free: 24.99 MB / 314.7 MB Notification: Performance of SimCode: time 8.72e-07/0.2457, allocations: 0 / 389.5 MB, free: 24.99 MB / 314.7 MB Notification: Performance of Templates: time 0.03295/0.2786, allocations: 29.58 MB / 419.1 MB, free: 12.24 MB / 330.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.6620671711862087]