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.001142/0.001142, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.0009561/0.0009561, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 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 1.014/1.014, allocations: 173.4 MB / 201.1 MB, free: 8.973 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 2.325e-06/2.325e-06, allocations: 0 / 268 MB, free: 6.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.003e-05/3.235e-05, allocations: 2.312 kB / 268 MB, free: 6.219 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01562/0.01565, allocations: 13.51 MB / 281.6 MB, free: 8.641 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00907/0.02472, allocations: 4.899 MB / 286.5 MB, free: 3.727 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002393/0.02711, allocations: 95.44 kB / 286.5 MB, free: 3.633 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002876/0.02999, allocations: 1.036 MB / 287.6 MB, free: 2.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003834/0.03382, allocations: 1.487 MB / 289.1 MB, free: 1.094 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001885/0.03571, allocations: 0.9767 MB / 290 MB, free: 120 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.137/0.1727, allocations: 4.479 MB / 294.5 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003127/0.1758, allocations: 1.793 MB / 296.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005179/0.181, allocations: 3.014 MB / 299.3 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0039/0.1849, allocations: 2.123 MB / 301.5 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001525/0.1864, allocations: 0.5316 MB / 302 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002128/0.1885, allocations: 0.8984 MB / 302.9 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008868/0.1894, allocations: 1.423 MB / 304.3 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002606/0.192, allocations: 1.582 MB / 305.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004676/0.1967, allocations: 3.921 MB / 309.8 MB, free: 10.88 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.1967, allocations: 4 kB / 309.8 MB, free: 10.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1967, allocations: 3.5 kB / 309.8 MB, free: 10.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001866/0.1969, allocations: 0 / 309.8 MB, free: 10.88 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: 877 * Number of variables: 877 Notification: Performance of Generate backend data structure: time 0.007919/0.2048, allocations: 5.245 MB / 315.1 MB, free: 7.484 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.2049, allocations: 8.922 kB / 315.1 MB, free: 7.477 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002818/0.2077, allocations: 1.335 MB / 316.4 MB, free: 6.145 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003232/0.2109, allocations: 2.57 MB / 319 MB, free: 3.629 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/0.211, allocations: 253.3 kB / 319.2 MB, free: 3.383 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003289/0.2113, allocations: 341.4 kB / 319.6 MB, free: 3.055 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003886/0.2152, allocations: 2.712 MB / 322.3 MB, free: 264 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.689e-05/0.2153, allocations: 7.5 kB / 322.3 MB, free: 260 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002006/0.2155, allocations: 143.2 kB / 322.4 MB, free: 120 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001663/0.2157, allocations: 158.7 kB / 322.6 MB, free: 15.96 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002832/0.2185, allocations: 1.28 MB / 323.9 MB, free: 14.68 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01402/0.2325, allocations: 11.24 MB / 335.1 MB, free: 3.465 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003312/0.2358, allocations: 2.208 MB / 337.3 MB, free: 1.41 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001374/0.2372, allocations: 0.934 MB / 338.2 MB, free: 496 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004149/0.2413, allocations: 2.695 MB / 340.9 MB, free: 13.82 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.588e-05/0.2414, allocations: 50.7 kB / 341 MB, free: 13.77 MB / 298.7 MB Notification: Performance of pre-optimization done (n=165): time 3.867e-06/0.2414, allocations: 0 / 341 MB, free: 13.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=185): time 0.008704/0.2501, allocations: 4.931 MB / 345.9 MB, free: 8.84 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.2501, allocations: 73.41 kB / 346 MB, free: 8.754 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002168/0.2523, allocations: 1.944 MB / 347.9 MB, free: 6.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.195e-05/0.2524, allocations: 61.61 kB / 348 MB, free: 6.707 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000978/0.2534, allocations: 1.771 MB / 349.8 MB, free: 4.918 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004189/0.2538, allocations: 0.6713 MB / 350.4 MB, free: 4.254 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004069/0.2542, allocations: 356.2 kB / 350.8 MB, free: 3.902 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.2543, allocations: 476.8 kB / 351.2 MB, free: 3.434 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006127/0.2549, allocations: 323.8 kB / 351.6 MB, free: 3.117 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008598/0.2558, allocations: 0.896 MB / 352.5 MB, free: 2.008 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00157/0.2574, allocations: 1.353 MB / 353.8 MB, free: 0.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-05/0.2574, allocations: 4 kB / 353.8 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.002984/0.2604, allocations: 1.846 MB / 355.7 MB, free: 14.72 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/0.2604, allocations: 8 kB / 355.7 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.043e-05/0.2604, allocations: 19.88 kB / 355.7 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001148/0.2616, allocations: 491.9 kB / 356.2 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009603/0.2625, allocations: 420.3 kB / 356.6 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005449/0.268, allocations: 6.381 MB / 363 MB, free: 7.238 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.269, allocations: 83.09 kB / 363 MB, free: 7.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/0.2691, allocations: 75.98 kB / 363.1 MB, free: 7.086 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.0008434/0.2699, allocations: 265 kB / 363.4 MB, free: 6.84 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003902/0.2703, allocations: 310.4 kB / 363.7 MB, free: 6.535 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002506/0.2728, allocations: 1.691 MB / 365.4 MB, free: 4.844 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.606e-05/0.2729, allocations: 20 kB / 365.4 MB, free: 4.824 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.388e-05/0.2729, allocations: 8 kB / 365.4 MB, free: 4.816 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/0.2729, allocations: 7.969 kB / 365.4 MB, free: 4.809 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006195/0.2791, allocations: 4.363 MB / 369.8 MB, free: 452 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.2791, allocations: 0 / 369.8 MB, free: 452 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006982/0.2798, allocations: 270.4 kB / 370 MB, free: 196 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00123/0.281, allocations: 0.5427 MB / 370.6 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001123/0.2811, allocations: 43.98 kB / 370.6 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006966/0.2881, allocations: 10.64 MB / 381.3 MB, free: 4.531 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.2881, allocations: 7.469 kB / 381.3 MB, free: 4.527 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003451/0.2915, allocations: 2.233 MB / 383.5 MB, free: 2.27 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007935/0.2923, allocations: 446.2 kB / 383.9 MB, free: 1.832 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001928/0.2925, allocations: 43.98 kB / 384 MB, free: 1.789 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005652/0.2931, allocations: 79.88 kB / 384.1 MB, free: 1.711 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002693/0.2934, allocations: 145.5 kB / 384.2 MB, free: 1.574 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.471e-05/0.2934, allocations: 51.98 kB / 384.3 MB, free: 1.523 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001467/0.2949, allocations: 1.139 MB / 385.4 MB, free: 376 kB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2949, allocations: 0 / 385.4 MB, free: 376 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.002052/0.297, allocations: 0.6952 MB / 386.1 MB, free: 15.67 MB / 346.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.001077/0.298, allocations: 426.3 kB / 386.5 MB, free: 15.39 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002833/0.3009, allocations: 1.862 MB / 388.4 MB, free: 13.54 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.3009, allocations: 0 / 388.4 MB, free: 13.54 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001713/0.3026, allocations: 1.649 MB / 390 MB, free: 11.84 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001481/0.3041, allocations: 0.5025 MB / 390.5 MB, free: 11.34 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00875/0.3128, allocations: 6.008 MB / 396.5 MB, free: 5.277 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008596/0.3137, allocations: 0.9462 MB / 397.5 MB, free: 4.309 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0009956/0.3147, allocations: 407 kB / 397.9 MB, free: 3.906 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003743/0.3151, allocations: 164.5 kB / 398 MB, free: 3.746 MB / 346.7 MB Notification: Performance of SimCode: time 2.615e-06/0.3151, allocations: 0 / 398 MB, free: 3.746 MB / 346.7 MB Notification: Performance of Templates: time 0.04642/0.3615, allocations: 35.22 MB / 433.2 MB, free: 0.9922 MB / 378.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 -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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.991831042803824]