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_withLosses.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.0009854/0.0009854, allocations: 85.05 kB / 21.5 MB, free: 2.984 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.001116/0.001116, allocations: 145.2 kB / 24.9 MB, free: 8.766 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.9064/0.9064, allocations: 173.4 MB / 201.5 MB, free: 8.27 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_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.core.Phi.im|aimc.stator.core.Phi.re|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.[0-9,]+.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.core.Phi.im|aimc.stator.core.Phi.re|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.[0-9,]+.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 268.6 MB, free: 9.688 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.226e-05/2.377e-05, allocations: 2.312 kB / 268.6 MB, free: 9.684 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01121/0.01124, allocations: 13.12 MB / 281.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008902/0.02014, allocations: 5.043 MB / 286.7 MB, free: 7.465 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002346/0.02248, allocations: 95.44 kB / 286.8 MB, free: 7.371 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002978/0.02546, allocations: 1.068 MB / 287.9 MB, free: 6.297 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004369/0.02983, allocations: 1.491 MB / 289.4 MB, free: 4.797 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002072/0.0319, allocations: 0.9642 MB / 290.3 MB, free: 3.832 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004645/0.03655, allocations: 4.493 MB / 294.8 MB, free: 15.32 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002388/0.03894, allocations: 1.849 MB / 296.7 MB, free: 13.37 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004652/0.04359, allocations: 3.205 MB / 299.9 MB, free: 10.16 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003104/0.04669, allocations: 2.093 MB / 302 MB, free: 8.062 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001113/0.04781, allocations: 0.5273 MB / 302.5 MB, free: 7.535 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001917/0.04972, allocations: 0.9053 MB / 303.4 MB, free: 6.629 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00118/0.0509, allocations: 1.402 MB / 304.8 MB, free: 5.223 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002311/0.05321, allocations: 1.555 MB / 306.4 MB, free: 3.664 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004853/0.05807, allocations: 3.894 MB / 310.3 MB, free: 15.76 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.05807, allocations: 3.984 kB / 310.3 MB, free: 15.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.05808, allocations: 4 kB / 310.3 MB, free: 15.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001424/0.05822, allocations: 0 / 310.3 MB, free: 15.75 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 877 * Number of variables: 877 Notification: Performance of Generate backend data structure: time 0.006925/0.06514, allocations: 4.808 MB / 315.1 MB, free: 10.88 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.06518, allocations: 12.03 kB / 315.1 MB, free: 10.87 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002857/0.06804, allocations: 1.159 MB / 316.3 MB, free: 9.711 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002721/0.07076, allocations: 1.706 MB / 318 MB, free: 7.93 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001389/0.0709, allocations: 251.1 kB / 318.2 MB, free: 7.684 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003807/0.07128, allocations: 336.3 kB / 318.5 MB, free: 7.355 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003202/0.07448, allocations: 2.559 MB / 321.1 MB, free: 4.711 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.536e-05/0.07454, allocations: 0 / 321.1 MB, free: 4.711 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002005/0.07474, allocations: 136 kB / 321.2 MB, free: 4.578 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001128/0.07485, allocations: 158.7 kB / 321.4 MB, free: 4.422 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001643/0.07649, allocations: 0.9921 MB / 322.4 MB, free: 3.418 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01038/0.08687, allocations: 8.665 MB / 331 MB, free: 10.47 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002345/0.08922, allocations: 1.829 MB / 332.9 MB, free: 8.637 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008768/0.09009, allocations: 0.7592 MB / 333.6 MB, free: 7.883 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003262/0.09336, allocations: 2.108 MB / 335.7 MB, free: 5.75 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.09339, allocations: 55.88 kB / 335.8 MB, free: 5.688 MB / 314.7 MB Notification: Performance of pre-optimization done (n=165): time 3.196e-06/0.09339, allocations: 0 / 335.8 MB, free: 5.688 MB / 314.7 MB Notification: Performance of matching and sorting (n=185): time 0.006674/0.1001, allocations: 3.959 MB / 339.7 MB, free: 1.691 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.1001, allocations: 73.41 kB / 339.8 MB, free: 1.605 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1185/0.2186, allocations: 1.688 MB / 341.5 MB, free: 56.16 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002959/0.2189, allocations: 58.44 kB / 341.6 MB, free: 56.12 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009216/0.2199, allocations: 1.315 MB / 342.9 MB, free: 55.87 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004482/0.2203, allocations: 0.6498 MB / 343.5 MB, free: 55.52 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004507/0.2208, allocations: 318.7 kB / 343.8 MB, free: 55.5 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.32e-05/0.2208, allocations: 310.3 kB / 344.1 MB, free: 55.2 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005184/0.2213, allocations: 236.8 kB / 344.4 MB, free: 55.2 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006249/0.2219, allocations: 0.6279 MB / 345 MB, free: 54.76 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001402/0.2233, allocations: 1.049 MB / 346.1 MB, free: 54.34 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.417e-05/0.2233, allocations: 3 kB / 346.1 MB, free: 54.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.002468/0.2258, allocations: 1.327 MB / 347.4 MB, free: 54.23 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/0.2258, allocations: 8.969 kB / 347.4 MB, free: 54.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.256e-05/0.2259, allocations: 13.77 kB / 347.4 MB, free: 54.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001073/0.2269, allocations: 460.6 kB / 347.9 MB, free: 54.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/0.2282, allocations: 467.7 kB / 348.3 MB, free: 54.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004186/0.2324, allocations: 4.744 MB / 353.1 MB, free: 51.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009868/0.2334, allocations: 65.25 kB / 353.1 MB, free: 51.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/0.2335, allocations: 58.2 kB / 353.2 MB, free: 51.45 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (198): * Single equations (assignments): 194 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (7,34,75.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007663/0.2342, allocations: 227.7 kB / 353.4 MB, free: 51.33 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003517/0.2346, allocations: 202.1 kB / 353.6 MB, free: 51.33 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001977/0.2366, allocations: 1.29 MB / 354.9 MB, free: 51.17 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.991e-05/0.2366, allocations: 25.52 kB / 354.9 MB, free: 51.17 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.379e-05/0.2366, allocations: 8.188 kB / 354.9 MB, free: 51.17 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.376e-05/0.2366, allocations: 8.234 kB / 354.9 MB, free: 51.17 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004704/0.2413, allocations: 2.725 MB / 357.7 MB, free: 50.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/0.2413, allocations: 0 / 357.7 MB, free: 50.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009687/0.2423, allocations: 296 kB / 357.9 MB, free: 50.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001129/0.2434, allocations: 0.4958 MB / 358.4 MB, free: 50.7 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001067/0.2436, allocations: 47.44 kB / 358.5 MB, free: 50.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005289/0.2488, allocations: 7.854 MB / 366.3 MB, free: 45.27 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.2488, allocations: 5.469 kB / 366.3 MB, free: 45.27 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002396/0.2512, allocations: 1.668 MB / 368 MB, free: 44.91 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005614/0.2518, allocations: 258.8 kB / 368.3 MB, free: 44.78 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002083/0.252, allocations: 36.34 kB / 368.3 MB, free: 44.78 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005793/0.2526, allocations: 59.69 kB / 368.4 MB, free: 44.78 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002759/0.2529, allocations: 150.4 kB / 368.5 MB, free: 44.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.019e-05/0.253, allocations: 40.48 kB / 368.5 MB, free: 44.77 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007834/0.2537, allocations: 0.7977 MB / 369.3 MB, free: 44.61 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2537, allocations: 0 / 369.3 MB, free: 44.61 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001854/0.2556, allocations: 0.675 MB / 370 MB, free: 44.01 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.stray.Phi.re,aimc.stator.stray.Phi.im,loadInertia.phi,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 120 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,12,100.0%), (2,25,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001247/0.2568, allocations: 0.5197 MB / 370.5 MB, free: 43.77 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00208/0.2589, allocations: 1.489 MB / 372 MB, free: 42.48 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.958e-05/0.2589, allocations: 24.5 kB / 372 MB, free: 42.46 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001313/0.2603, allocations: 1.303 MB / 373.4 MB, free: 41.28 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00132/0.2616, allocations: 0.4923 MB / 373.8 MB, free: 40.85 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007619/0.2692, allocations: 5.739 MB / 379.6 MB, free: 35.21 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007339/0.2699, allocations: 0.7816 MB / 380.4 MB, free: 34.41 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0009647/0.2709, allocations: 290 kB / 380.6 MB, free: 34.12 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009067/0.2718, allocations: 491.1 kB / 381.1 MB, free: 33.64 MB / 314.7 MB Notification: Performance of SimCode: time 1.603e-06/0.2718, allocations: 0 / 381.1 MB, free: 33.64 MB / 314.7 MB Notification: Performance of Templates: time 0.04276/0.3146, allocations: 35.8 MB / 416.9 MB, free: 14.41 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 4.682693765964359]