Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001658/0.001658, allocations: 117.9 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002191/0.002191, allocations: 202.8 kB / 24.46 MB, free: 3.902 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.378/1.378, allocations: 230.4 MB / 258.1 MB, free: 8.137 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 67.97 kB / 378.8 MB, free: 2.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2302, allocations: 53.32 MB / 432.1 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01646/0.2467, allocations: 14.39 MB / 446.5 MB, free: 8.902 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009927/0.2566, allocations: 5.401 MB / 451.9 MB, free: 3.484 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002083/0.2587, allocations: 83.69 kB / 452 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002918/0.2616, allocations: 1.107 MB / 453.1 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004022/0.2656, allocations: 1.476 MB / 454.6 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00229/0.2679, allocations: 1.019 MB / 455.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005101/0.273, allocations: 4.376 MB / 459.9 MB, free: 11.4 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002529/0.2755, allocations: 1.857 MB / 461.8 MB, free: 9.469 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002696/0.2782, allocations: 2.041 MB / 463.8 MB, free: 7.422 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003437/0.2817, allocations: 2.433 MB / 466.3 MB, free: 4.98 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000786/0.2825, allocations: 0.5352 MB / 466.8 MB, free: 4.445 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001782/0.2842, allocations: 0.9331 MB / 467.7 MB, free: 3.512 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001284/0.2855, allocations: 1.391 MB / 469.1 MB, free: 2.117 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002557/0.2881, allocations: 2.357 MB / 471.5 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007984/0.2961, allocations: 7.416 MB / 478.9 MB, free: 8.309 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2961, allocations: 0 / 478.9 MB, free: 8.309 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.2961, allocations: 0 / 478.9 MB, free: 8.309 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000121/0.2962, allocations: 0 / 478.9 MB, free: 8.309 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.01177/0.308, allocations: 5.143 MB / 484.1 MB, free: 3.082 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.308, allocations: 8.031 kB / 484.1 MB, free: 3.074 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004548/0.3125, allocations: 0.9155 MB / 485 MB, free: 2.156 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005263/0.3178, allocations: 2.84 MB / 487.8 MB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001977/0.318, allocations: 242.7 kB / 488.1 MB, free: 15 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005589/0.3186, allocations: 343.8 kB / 488.4 MB, free: 14.67 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008106/0.3267, allocations: 4.551 MB / 492.9 MB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.04e-05/0.3267, allocations: 3.953 kB / 492.9 MB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003532/0.3271, allocations: 140 kB / 493.1 MB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001817/0.3273, allocations: 150.7 kB / 493.2 MB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008064/0.3353, allocations: 3.922 MB / 497.1 MB, free: 5.852 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02594/0.3613, allocations: 14.04 MB / 0.4992 GB, free: 7.512 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008725/0.37, allocations: 6.834 MB / 0.5059 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003344/0.3733, allocations: 1.583 MB / 0.5074 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008595/0.3819, allocations: 4.502 MB / 0.5118 GB, free: 9.645 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.708e-05/0.382, allocations: 51.88 kB / 0.5119 GB, free: 9.586 MB / 430.1 MB Notification: Performance of pre-optimization done (n=165): time 3.447e-06/0.382, allocations: 0 / 0.5119 GB, free: 9.586 MB / 430.1 MB Notification: Performance of matching and sorting (n=185): time 0.01785/0.3998, allocations: 7.806 MB / 0.5195 GB, free: 1.648 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.943e-05/0.3999, allocations: 73.41 kB / 0.5196 GB, free: 1.562 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004367/0.4043, allocations: 2.665 MB / 0.5222 GB, free: 14.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002052/0.4045, allocations: 57.7 kB / 0.5222 GB, free: 14.81 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001417/0.4059, allocations: 1.674 MB / 0.5239 GB, free: 13.12 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006589/0.4066, allocations: 0.6507 MB / 0.5245 GB, free: 12.46 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006401/0.4072, allocations: 339.4 kB / 0.5248 GB, free: 12.13 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.4073, allocations: 309 kB / 0.5251 GB, free: 11.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001711/0.409, allocations: 0.9058 MB / 0.526 GB, free: 10.92 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002026/0.4111, allocations: 1.31 MB / 0.5273 GB, free: 9.457 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003889/0.415, allocations: 2.355 MB / 0.5296 GB, free: 6.957 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.5e-05/0.415, allocations: 11.94 kB / 0.5296 GB, free: 6.945 MB / 446.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.006022/0.421, allocations: 3.074 MB / 0.5326 GB, free: 3.855 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.421, allocations: 8 kB / 0.5326 GB, free: 3.848 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.261e-05/0.421, allocations: 12 kB / 0.5326 GB, free: 3.836 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001566/0.4226, allocations: 0.5439 MB / 0.5331 GB, free: 3.285 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001866/0.4245, allocations: 435.3 kB / 0.5336 GB, free: 2.859 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2023/0.6268, allocations: 7.597 MB / 0.541 GB, free: 95.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00169/0.6285, allocations: 87.61 kB / 0.5411 GB, free: 95.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001574/0.6286, allocations: 73.78 kB / 0.5411 GB, free: 95.29 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.001794/0.6304, allocations: 1.178 MB / 0.5423 GB, free: 94.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004806/0.6309, allocations: 272.3 kB / 0.5425 GB, free: 94.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00479/0.6357, allocations: 2.864 MB / 0.5453 GB, free: 93.49 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.13e-05/0.6357, allocations: 24.41 kB / 0.5454 GB, free: 93.49 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.429e-05/0.6358, allocations: 11.59 kB / 0.5454 GB, free: 93.49 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.03e-05/0.6358, allocations: 8.484 kB / 0.5454 GB, free: 93.49 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008637/0.6444, allocations: 6.342 MB / 0.5516 GB, free: 90.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.6444, allocations: 0 / 0.5516 GB, free: 90.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001183/0.6456, allocations: 279.7 kB / 0.5518 GB, free: 90.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001345/0.6469, allocations: 0.6155 MB / 0.5524 GB, free: 90.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001085/0.6471, allocations: 51.41 kB / 0.5525 GB, free: 90.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008631/0.6557, allocations: 11.45 MB / 0.5637 GB, free: 81.71 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.175e-06/0.6557, allocations: 4.906 kB / 0.5637 GB, free: 81.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005654/0.6613, allocations: 4.158 MB / 0.5677 GB, free: 78.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001068/0.6624, allocations: 0.5557 MB / 0.5683 GB, free: 78.08 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003047/0.6627, allocations: 32 kB / 0.5683 GB, free: 78.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/0.6638, allocations: 86.92 kB / 0.5684 GB, free: 77.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002686/0.6641, allocations: 144.6 kB / 0.5685 GB, free: 77.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-05/0.6642, allocations: 55.97 kB / 0.5686 GB, free: 77.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0019/0.6661, allocations: 1.859 MB / 0.5704 GB, free: 75.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6661, allocations: 0 / 0.5704 GB, free: 75.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001917/0.668, allocations: 0.7026 MB / 0.5711 GB, free: 75.21 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.001398/0.6694, allocations: 449.1 kB / 0.5715 GB, free: 74.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003964/0.6734, allocations: 2.739 MB / 0.5742 GB, free: 72.17 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.6734, allocations: 0 / 0.5742 GB, free: 72.17 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002264/0.6756, allocations: 1.852 MB / 0.576 GB, free: 70.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002286/0.6779, allocations: 0.5918 MB / 0.5766 GB, free: 69.69 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008822/0.6868, allocations: 7.21 MB / 0.5836 GB, free: 62.47 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001507/0.6883, allocations: 2.587 MB / 0.5861 GB, free: 59.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006256/0.6889, allocations: 191.4 kB / 0.5863 GB, free: 59.67 MB / 446.1 MB Notification: Performance of SimCode: time 1.132e-06/0.6889, allocations: 0 / 0.5863 GB, free: 59.67 MB / 446.1 MB Notification: Performance of Templates: time 0.1033/0.7922, allocations: 102 MB / 0.686 GB, free: 5.727 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.584045265801251]