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.001808/0.001808, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001915/0.001915, allocations: 203.9 kB / 23.73 MB, free: 4.379 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.444/1.444, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.001616/0.001616, allocations: 55.91 kB / 378.3 MB, free: 2.395 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2507, allocations: 53.36 MB / 431.6 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01714/0.2678, allocations: 12.5 MB / 444.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01021/0.278, allocations: 5.09 MB / 449.2 MB, free: 5.016 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002094/0.2801, allocations: 103.4 kB / 449.3 MB, free: 4.914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003146/0.2833, allocations: 1.048 MB / 450.4 MB, free: 3.863 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004567/0.2878, allocations: 1.465 MB / 451.8 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002713/0.2905, allocations: 1.009 MB / 452.8 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005978/0.2965, allocations: 4.38 MB / 457.2 MB, free: 12.99 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0028/0.2993, allocations: 1.861 MB / 459.1 MB, free: 11.06 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003004/0.3023, allocations: 2.08 MB / 461.2 MB, free: 8.973 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00383/0.3061, allocations: 2.437 MB / 463.6 MB, free: 6.527 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008831/0.307, allocations: 0.5312 MB / 464.1 MB, free: 5.996 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001835/0.3089, allocations: 0.9213 MB / 465 MB, free: 5.074 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001399/0.3103, allocations: 1.375 MB / 466.4 MB, free: 3.695 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002433/0.3127, allocations: 1.867 MB / 468.3 MB, free: 1.82 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008426/0.3211, allocations: 7.439 MB / 475.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3211, allocations: 0 / 475.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3211, allocations: 0 / 475.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001329/0.3213, allocations: 7.984 kB / 475.7 MB, free: 10.35 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.01286/0.3341, allocations: 5.049 MB / 480.8 MB, free: 5.234 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.3342, allocations: 8.031 kB / 480.8 MB, free: 5.227 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00503/0.3392, allocations: 0.9155 MB / 481.7 MB, free: 4.309 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006314/0.3455, allocations: 2.752 MB / 484.5 MB, free: 1.488 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002735/0.3458, allocations: 254.7 kB / 484.7 MB, free: 1.238 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009039/0.3467, allocations: 332 kB / 485 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009156/0.3558, allocations: 4.709 MB / 489.7 MB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.122e-05/0.3559, allocations: 3.953 kB / 489.7 MB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003344/0.3563, allocations: 132 kB / 489.9 MB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001924/0.3565, allocations: 154.7 kB / 490 MB, free: 11.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007386/0.3638, allocations: 3.915 MB / 493.9 MB, free: 7.914 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02269/0.3865, allocations: 12.12 MB / 0.4942 GB, free: 11.51 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006554/0.3931, allocations: 2.971 MB / 0.4971 GB, free: 8.676 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003048/0.3961, allocations: 1.567 MB / 0.4986 GB, free: 7.113 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007679/0.4038, allocations: 3.598 MB / 0.5021 GB, free: 3.477 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.71e-05/0.4039, allocations: 51.88 kB / 0.5022 GB, free: 3.418 MB / 414.1 MB Notification: Performance of pre-optimization done (n=165): time 4.108e-06/0.4039, allocations: 3.938 kB / 0.5022 GB, free: 3.414 MB / 414.1 MB Notification: Performance of matching and sorting (n=185): time 0.01788/0.4217, allocations: 7.426 MB / 0.5095 GB, free: 11.95 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.832e-05/0.4218, allocations: 69.41 kB / 0.5095 GB, free: 11.86 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003631/0.4254, allocations: 2.46 MB / 0.5119 GB, free: 9.371 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002214/0.4257, allocations: 57.7 kB / 0.512 GB, free: 9.309 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001427/0.4271, allocations: 1.684 MB / 0.5136 GB, free: 7.605 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006767/0.4278, allocations: 0.6545 MB / 0.5143 GB, free: 6.945 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005982/0.4284, allocations: 339.4 kB / 0.5146 GB, free: 6.609 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.4285, allocations: 309 kB / 0.5149 GB, free: 6.305 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00168/0.4302, allocations: 0.9135 MB / 0.5158 GB, free: 5.391 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002101/0.4323, allocations: 1.331 MB / 0.5171 GB, free: 3.902 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004067/0.4363, allocations: 2.352 MB / 0.5194 GB, free: 1.406 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/0.4363, allocations: 4 kB / 0.5194 GB, free: 1.402 MB / 430.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.006238/0.4426, allocations: 3.054 MB / 0.5224 GB, free: 14.33 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.4426, allocations: 12 kB / 0.5224 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.392e-05/0.4426, allocations: 12 kB / 0.5224 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001667/0.4443, allocations: 0.5441 MB / 0.5229 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001919/0.4462, allocations: 431.3 kB / 0.5233 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01053/0.4567, allocations: 7.227 MB / 0.5304 GB, free: 5.906 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001634/0.4584, allocations: 87.83 kB / 0.5305 GB, free: 5.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002514/0.4586, allocations: 83.97 kB / 0.5305 GB, free: 5.738 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.002165/0.4608, allocations: 1.157 MB / 0.5317 GB, free: 4.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006391/0.4614, allocations: 258.3 kB / 0.5319 GB, free: 4.316 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006139/0.4676, allocations: 2.861 MB / 0.5347 GB, free: 1.426 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.308e-05/0.4676, allocations: 20 kB / 0.5347 GB, free: 1.406 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.32e-05/0.4676, allocations: 12 kB / 0.5347 GB, free: 1.395 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-05/0.4677, allocations: 7.969 kB / 0.5347 GB, free: 1.387 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2079/0.6755, allocations: 5.482 MB / 0.5401 GB, free: 98.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/0.6755, allocations: 3.531 kB / 0.5401 GB, free: 98.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001366/0.6769, allocations: 279.1 kB / 0.5404 GB, free: 98.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001628/0.6785, allocations: 0.6081 MB / 0.541 GB, free: 98.58 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001332/0.6787, allocations: 56.92 kB / 0.541 GB, free: 98.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008905/0.6876, allocations: 10.78 MB / 0.5515 GB, free: 90.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.6876, allocations: 4.688 kB / 0.5516 GB, free: 90.49 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005751/0.6933, allocations: 4.129 MB / 0.5556 GB, free: 88.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001085/0.6944, allocations: 487.2 kB / 0.5561 GB, free: 88.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002965/0.6947, allocations: 35.94 kB / 0.5561 GB, free: 88.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/0.6958, allocations: 81.25 kB / 0.5562 GB, free: 88.56 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002934/0.6961, allocations: 152.4 kB / 0.5563 GB, free: 88.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001095/0.6962, allocations: 58.45 kB / 0.5564 GB, free: 88.53 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001856/0.698, allocations: 1.708 MB / 0.558 GB, free: 87.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.698, allocations: 0 / 0.558 GB, free: 87.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002137/0.7002, allocations: 0.6918 MB / 0.5587 GB, free: 86.62 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.001625/0.7018, allocations: 470.3 kB / 0.5592 GB, free: 86.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004078/0.7059, allocations: 2.734 MB / 0.5618 GB, free: 83.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.7059, allocations: 0 / 0.5618 GB, free: 83.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002389/0.7083, allocations: 1.842 MB / 0.5636 GB, free: 82.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002144/0.7104, allocations: 0.498 MB / 0.5641 GB, free: 81.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009567/0.72, allocations: 7.165 MB / 0.5711 GB, free: 74.81 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001737/0.7217, allocations: 2.084 MB / 0.5731 GB, free: 72.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001453/0.7232, allocations: 483.2 kB / 0.5736 GB, free: 72.22 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004208/0.7236, allocations: 167.4 kB / 0.5738 GB, free: 72.05 MB / 446.1 MB Notification: Performance of SimCode: time 1.252e-06/0.7236, allocations: 0 / 0.5738 GB, free: 72.05 MB / 446.1 MB Notification: Performance of Templates: time 0.0559/0.7795, allocations: 40.58 MB / 0.6134 GB, free: 31.95 MB / 446.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/jenkins/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/jenkins/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: 7.5847296616993845]