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.001361/0.001361, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.001591/0.001591, allocations: 210 kB / 24.48 MB, free: 3.938 MB / 14.72 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 1.47/1.47, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..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.1.|aimc.is.2.|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.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..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.1.|aimc.is.2.|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 0.001613/0.001613, allocations: 47.92 kB / 379 MB, free: 2.426 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2458, allocations: 53.37 MB / 432.4 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01686/0.2627, allocations: 12.5 MB / 444.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01052/0.2732, allocations: 5.09 MB / 450 MB, free: 5.027 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002245/0.2754, allocations: 99.44 kB / 450.1 MB, free: 4.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003241/0.2787, allocations: 1.044 MB / 451.1 MB, free: 3.879 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004726/0.2834, allocations: 1.472 MB / 452.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002693/0.2861, allocations: 0.9967 MB / 453.6 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005962/0.292, allocations: 4.377 MB / 458 MB, free: 13.01 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002751/0.2948, allocations: 1.786 MB / 459.7 MB, free: 11.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003081/0.2979, allocations: 2.076 MB / 461.8 MB, free: 9.074 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003959/0.3018, allocations: 2.312 MB / 464.1 MB, free: 6.754 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009228/0.3028, allocations: 0.5312 MB / 464.7 MB, free: 6.223 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001952/0.3047, allocations: 0.8979 MB / 465.6 MB, free: 5.324 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001362/0.3061, allocations: 1.371 MB / 466.9 MB, free: 3.949 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002499/0.3086, allocations: 1.863 MB / 468.8 MB, free: 2.078 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008796/0.3174, allocations: 7.44 MB / 476.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3174, allocations: 0 / 476.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3174, allocations: 3.938 kB / 476.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001617/0.3175, allocations: 3.984 kB / 476.2 MB, free: 10.6 MB / 382.1 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.01361/0.3311, allocations: 5.056 MB / 481.3 MB, free: 5.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.3312, allocations: 8.031 kB / 481.3 MB, free: 5.473 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004853/0.336, allocations: 0.9233 MB / 482.2 MB, free: 4.547 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006833/0.3429, allocations: 2.749 MB / 485 MB, free: 1.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003089/0.3432, allocations: 250.7 kB / 485.2 MB, free: 1.484 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001079/0.3443, allocations: 332 kB / 485.6 MB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0107/0.355, allocations: 4.709 MB / 490.3 MB, free: 12.36 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001042/0.3551, allocations: 3.953 kB / 490.3 MB, free: 12.36 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005994/0.3557, allocations: 139.9 kB / 490.4 MB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001898/0.3559, allocations: 150.7 kB / 490.5 MB, free: 12.08 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008701/0.3646, allocations: 3.907 MB / 494.5 MB, free: 8.164 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02517/0.3897, allocations: 12.12 MB / 0.4947 GB, free: 11.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006675/0.3964, allocations: 2.96 MB / 0.4976 GB, free: 8.934 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003159/0.3996, allocations: 1.571 MB / 0.4991 GB, free: 7.367 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00806/0.4076, allocations: 3.595 MB / 0.5026 GB, free: 3.746 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.99e-05/0.4077, allocations: 55.88 kB / 0.5027 GB, free: 3.684 MB / 414.1 MB Notification: Performance of pre-optimization done (n=165): time 4.498e-06/0.4077, allocations: 0 / 0.5027 GB, free: 3.684 MB / 414.1 MB Notification: Performance of matching and sorting (n=185): time 0.0177/0.4254, allocations: 7.433 MB / 0.51 GB, free: 12.21 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.061e-05/0.4254, allocations: 69.41 kB / 0.51 GB, free: 12.13 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00421/0.4296, allocations: 2.468 MB / 0.5124 GB, free: 9.629 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001583/0.4298, allocations: 57.7 kB / 0.5125 GB, free: 9.566 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001505/0.4313, allocations: 1.681 MB / 0.5141 GB, free: 7.867 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006708/0.432, allocations: 0.6507 MB / 0.5148 GB, free: 7.211 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006173/0.4326, allocations: 339.4 kB / 0.5151 GB, free: 6.875 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.4327, allocations: 309.1 kB / 0.5154 GB, free: 6.57 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001792/0.4345, allocations: 0.9097 MB / 0.5163 GB, free: 5.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002116/0.4367, allocations: 1.327 MB / 0.5176 GB, free: 4.176 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003999/0.4407, allocations: 2.355 MB / 0.5199 GB, free: 1.676 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-05/0.4407, allocations: 7.984 kB / 0.5199 GB, free: 1.668 MB / 430.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.006264/0.4469, allocations: 3.054 MB / 0.5229 GB, free: 14.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/0.447, allocations: 15.94 kB / 0.5229 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.558e-05/0.447, allocations: 8 kB / 0.5229 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001618/0.4486, allocations: 0.5519 MB / 0.5234 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001825/0.4504, allocations: 431.3 kB / 0.5238 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01079/0.4612, allocations: 7.216 MB / 0.5309 GB, free: 6.176 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001774/0.463, allocations: 87.95 kB / 0.531 GB, free: 6.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003184/0.4633, allocations: 83.97 kB / 0.531 GB, free: 6.008 MB / 446.1 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.002434/0.4657, allocations: 1.169 MB / 0.5322 GB, free: 4.828 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007248/0.4665, allocations: 254.3 kB / 0.5324 GB, free: 4.578 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006093/0.4726, allocations: 2.853 MB / 0.5352 GB, free: 1.695 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.644e-05/0.4726, allocations: 20 kB / 0.5352 GB, free: 1.676 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.216e-05/0.4726, allocations: 8 kB / 0.5352 GB, free: 1.668 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.129e-05/0.4726, allocations: 11.97 kB / 0.5352 GB, free: 1.656 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2081/0.6808, allocations: 5.487 MB / 0.5406 GB, free: 99.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.6808, allocations: 2.016 kB / 0.5406 GB, free: 99.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001339/0.6821, allocations: 279.1 kB / 0.5409 GB, free: 99.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001646/0.6837, allocations: 0.6058 MB / 0.5415 GB, free: 98.83 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001568/0.6839, allocations: 47.75 kB / 0.5415 GB, free: 98.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009307/0.6932, allocations: 10.8 MB / 0.5521 GB, free: 90.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.6932, allocations: 2.281 kB / 0.5521 GB, free: 90.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006274/0.6995, allocations: 4.13 MB / 0.5561 GB, free: 89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001322/0.7008, allocations: 471.7 kB / 0.5565 GB, free: 88.86 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000509/0.7013, allocations: 43.22 kB / 0.5566 GB, free: 88.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001315/0.7026, allocations: 82.47 kB / 0.5567 GB, free: 88.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003271/0.703, allocations: 146.5 kB / 0.5568 GB, free: 88.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001283/0.7031, allocations: 60.86 kB / 0.5569 GB, free: 88.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00258/0.7057, allocations: 1.714 MB / 0.5585 GB, free: 87.37 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7057, allocations: 0 / 0.5585 GB, free: 87.37 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002479/0.7081, allocations: 0.6908 MB / 0.5592 GB, free: 86.69 MB / 446.1 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.001722/0.7099, allocations: 483.8 kB / 0.5597 GB, free: 86.44 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004517/0.7144, allocations: 2.729 MB / 0.5623 GB, free: 84.03 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.7144, allocations: 0 / 0.5623 GB, free: 84.03 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002615/0.717, allocations: 1.843 MB / 0.5641 GB, free: 82.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002785/0.7198, allocations: 0.4921 MB / 0.5646 GB, free: 81.95 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01173/0.7315, allocations: 7.18 MB / 0.5716 GB, free: 74.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002317/0.7338, allocations: 2.022 MB / 0.5736 GB, free: 72.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007786/0.7346, allocations: 179.4 kB / 0.5738 GB, free: 72.71 MB / 446.1 MB Notification: Performance of SimCode: time 1.232e-06/0.7346, allocations: 0 / 0.5738 GB, free: 72.71 MB / 446.1 MB Notification: Performance of Templates: time 0.1034/0.838, allocations: 101.7 MB / 0.6731 GB, free: 3.109 MB / 478.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 15.088133526034653]