Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 163.9 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9101/0.9101, allocations: 177.1 MB / 206.1 MB, free: 4.473 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 274.2 MB, free: 4.363 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.365e-05/2.506e-05, allocations: 2.312 kB / 274.2 MB, free: 4.359 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01252/0.01254, allocations: 13.65 MB / 287.9 MB, free: 6.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008961/0.0215, allocations: 5.241 MB / 293.1 MB, free: 1.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002465/0.02397, allocations: 99.44 kB / 293.2 MB, free: 1.312 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003129/0.0271, allocations: 1.067 MB / 294.3 MB, free: 244 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004503/0.0316, allocations: 1.506 MB / 295.8 MB, free: 14.72 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00222/0.03382, allocations: 1.009 MB / 296.8 MB, free: 13.71 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.005246/0.03907, allocations: 4.58 MB / 301.4 MB, free: 9.109 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002863/0.04193, allocations: 1.795 MB / 303.2 MB, free: 7.246 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005589/0.04752, allocations: 3.22 MB / 306.4 MB, free: 4.02 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003769/0.05129, allocations: 2.105 MB / 308.5 MB, free: 1.91 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001642/0.05293, allocations: 0.5273 MB / 309 MB, free: 1.383 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00253/0.05546, allocations: 0.9053 MB / 309.9 MB, free: 488 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001538/0.057, allocations: 1.398 MB / 311.3 MB, free: 15.07 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002858/0.05985, allocations: 1.567 MB / 312.9 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005861/0.06572, allocations: 3.921 MB / 316.8 MB, free: 9.57 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.06572, allocations: 4 kB / 316.8 MB, free: 9.566 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.06572, allocations: 0 / 316.8 MB, free: 9.566 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001501/0.06587, allocations: 3.938 kB / 316.8 MB, free: 9.562 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.008243/0.07411, allocations: 5.157 MB / 322 MB, free: 4.332 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.07415, allocations: 8.031 kB / 322 MB, free: 4.324 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003588/0.07774, allocations: 1.255 MB / 323.3 MB, free: 3.066 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003653/0.08139, allocations: 2.525 MB / 325.8 MB, free: 464 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001496/0.08154, allocations: 255.1 kB / 326 MB, free: 208 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005093/0.08205, allocations: 344 kB / 326.4 MB, free: 15.87 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004608/0.08666, allocations: 2.502 MB / 328.9 MB, free: 13.27 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.279e-05/0.08673, allocations: 7.953 kB / 328.9 MB, free: 13.27 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002804/0.08701, allocations: 136 kB / 329 MB, free: 13.13 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001437/0.08716, allocations: 154.7 kB / 329.2 MB, free: 12.98 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002132/0.08929, allocations: 0.9941 MB / 330.2 MB, free: 11.98 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01403/0.1033, allocations: 11.14 MB / 341.3 MB, free: 0.543 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002847/0.1062, allocations: 2.057 MB / 343.3 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001042/0.1072, allocations: 0.8166 MB / 344.2 MB, free: 13.8 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004232/0.1114, allocations: 2.626 MB / 346.8 MB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.936e-05/0.1115, allocations: 54.64 kB / 346.8 MB, free: 11.09 MB / 330.7 MB Notification: Performance of pre-optimization done (n=165): time 4.108e-06/0.1115, allocations: 4 kB / 346.8 MB, free: 11.08 MB / 330.7 MB Notification: Performance of matching and sorting (n=185): time 0.008053/0.1195, allocations: 4.163 MB / 351 MB, free: 6.867 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.1196, allocations: 77.39 kB / 351.1 MB, free: 6.777 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002132/0.1217, allocations: 1.884 MB / 353 MB, free: 4.855 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001306/0.1218, allocations: 57.69 kB / 353 MB, free: 4.793 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009892/0.1228, allocations: 1.803 MB / 354.8 MB, free: 2.969 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004444/0.1233, allocations: 0.6778 MB / 355.5 MB, free: 2.285 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000401/0.1237, allocations: 368.9 kB / 355.9 MB, free: 1.918 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.1238, allocations: 476.8 kB / 356.3 MB, free: 1.449 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000408/0.1242, allocations: 243.8 kB / 356.6 MB, free: 1.211 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006882/0.1249, allocations: 0.8299 MB / 357.4 MB, free: 176 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1466/0.2715, allocations: 1.217 MB / 358.6 MB, free: 62.28 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.527e-05/0.2715, allocations: 5.438 kB / 358.6 MB, free: 62.28 MB / 330.7 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.003087/0.2746, allocations: 1.675 MB / 360.3 MB, free: 62.16 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.121e-05/0.2746, allocations: 10.73 kB / 360.3 MB, free: 62.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.486e-05/0.2747, allocations: 10.41 kB / 360.3 MB, free: 62.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001252/0.2759, allocations: 475.8 kB / 360.8 MB, free: 62.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/0.2769, allocations: 398.4 kB / 361.2 MB, free: 62.12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004793/0.2817, allocations: 6.201 MB / 367.4 MB, free: 58.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/0.2829, allocations: 56.5 kB / 367.4 MB, free: 58.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/0.2831, allocations: 60.92 kB / 367.5 MB, free: 58.25 MB / 330.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.0008704/0.2839, allocations: 270.2 kB / 367.8 MB, free: 58.09 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004395/0.2844, allocations: 312.5 kB / 368.1 MB, free: 58.08 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002118/0.2865, allocations: 1.545 MB / 369.6 MB, free: 57.89 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.694e-05/0.2865, allocations: 20.97 kB / 369.6 MB, free: 57.89 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.8e-05/0.2866, allocations: 7.469 kB / 369.6 MB, free: 57.89 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.719e-05/0.2866, allocations: 10.89 kB / 369.6 MB, free: 57.89 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005105/0.2917, allocations: 3.563 MB / 373.2 MB, free: 57.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.2917, allocations: 3.531 kB / 373.2 MB, free: 57.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006617/0.2924, allocations: 254.3 kB / 373.5 MB, free: 57.42 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001097/0.2934, allocations: 0.5289 MB / 374 MB, free: 57.35 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001173/0.2936, allocations: 47.67 kB / 374 MB, free: 57.35 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005227/0.2988, allocations: 10.38 MB / 384.4 MB, free: 49.51 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.2988, allocations: 7.734 kB / 384.4 MB, free: 49.51 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002762/0.3016, allocations: 2.01 MB / 386.4 MB, free: 48.98 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006659/0.3022, allocations: 412.5 kB / 386.8 MB, free: 48.84 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002048/0.3024, allocations: 37.56 kB / 386.9 MB, free: 48.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005239/0.303, allocations: 62.91 kB / 386.9 MB, free: 48.84 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002769/0.3032, allocations: 145.6 kB / 387.1 MB, free: 48.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.669e-05/0.3033, allocations: 41.95 kB / 387.1 MB, free: 48.84 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008319/0.3041, allocations: 1.01 MB / 388.1 MB, free: 48.64 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3041, allocations: 0 / 388.1 MB, free: 48.64 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001666/0.3058, allocations: 0.6813 MB / 388.8 MB, free: 48.58 MB / 330.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.0009258/0.3067, allocations: 442.7 kB / 389.2 MB, free: 48.41 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002149/0.3089, allocations: 1.74 MB / 391 MB, free: 47.49 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.3089, allocations: 0 / 391 MB, free: 47.49 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001289/0.3102, allocations: 1.568 MB / 392.5 MB, free: 46.05 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00144/0.3116, allocations: 0.4967 MB / 393 MB, free: 45.62 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007466/0.3191, allocations: 5.918 MB / 399 MB, free: 40.18 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007755/0.3199, allocations: 0.9529 MB / 399.9 MB, free: 39.48 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009694/0.3208, allocations: 302.9 kB / 400.2 MB, free: 39.25 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007966/0.3216, allocations: 0.5448 MB / 400.7 MB, free: 38.79 MB / 330.7 MB Notification: Performance of SimCode: time 1.943e-06/0.3216, allocations: 2.078 kB / 400.8 MB, free: 38.79 MB / 330.7 MB Notification: Performance of Templates: time 0.05047/0.3721, allocations: 36.72 MB / 437.5 MB, free: 2.648 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.929336172062904]