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.001652/0.001652, allocations: 127.4 kB / 17.79 MB, free: 5.246 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.001673/0.001673, allocations: 208.3 kB / 20.75 MB, free: 2.297 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.53/1.53, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.001734/0.001734, allocations: 51.92 kB / 373.5 MB, free: 9.742 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1041, allocations: 53.32 MB / 426.8 MB, free: 4.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.2095/0.3136, allocations: 14.33 MB / 441.2 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01007/0.3236, allocations: 5.383 MB / 446.6 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002731/0.3264, allocations: 102.7 kB / 446.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003408/0.3298, allocations: 1.103 MB / 447.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005025/0.3348, allocations: 1.471 MB / 449.2 MB, free: 14.29 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002761/0.3376, allocations: 1.02 MB / 450.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006128/0.3437, allocations: 4.374 MB / 454.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003379/0.3471, allocations: 2.346 MB / 457 MB, free: 10.3 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003453/0.3505, allocations: 2.072 MB / 459 MB, free: 9.293 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0042/0.3547, allocations: 2.439 MB / 461.5 MB, free: 8.113 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009023/0.3556, allocations: 0.5357 MB / 462 MB, free: 8.113 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002175/0.3578, allocations: 0.9324 MB / 463 MB, free: 7.973 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001441/0.3592, allocations: 1.378 MB / 464.3 MB, free: 7.086 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002963/0.3622, allocations: 2.363 MB / 466.7 MB, free: 5.344 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009212/0.3714, allocations: 7.428 MB / 474.1 MB, free: 15.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3714, allocations: 0 / 474.1 MB, free: 15.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3714, allocations: 0 / 474.1 MB, free: 15.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001288/0.3716, allocations: 0 / 474.1 MB, free: 15.77 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.01323/0.3848, allocations: 5.139 MB / 479.3 MB, free: 12.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.3848, allocations: 12.03 kB / 479.3 MB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005217/0.39, allocations: 0.9155 MB / 480.2 MB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005879/0.3959, allocations: 2.832 MB / 483 MB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002165/0.3961, allocations: 246.7 kB / 483.3 MB, free: 8.012 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006026/0.3967, allocations: 343.9 kB / 483.6 MB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008924/0.4057, allocations: 4.543 MB / 488.1 MB, free: 3.082 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-05/0.4057, allocations: 11.89 kB / 488.1 MB, free: 3.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003635/0.4061, allocations: 140.7 kB / 488.3 MB, free: 2.934 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001934/0.4063, allocations: 154.7 kB / 488.4 MB, free: 2.781 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007711/0.414, allocations: 3.915 MB / 492.4 MB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02484/0.4388, allocations: 14.04 MB / 0.4945 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008878/0.4477, allocations: 6.83 MB / 0.5012 GB, free: 8.926 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003276/0.451, allocations: 1.579 MB / 0.5027 GB, free: 7.348 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008497/0.4595, allocations: 4.507 MB / 0.5071 GB, free: 2.699 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.051e-05/0.4595, allocations: 43.88 kB / 0.5072 GB, free: 2.648 MB / 414.1 MB Notification: Performance of pre-optimization done (n=165): time 3.647e-06/0.4595, allocations: 0 / 0.5072 GB, free: 2.648 MB / 414.1 MB Notification: Performance of matching and sorting (n=185): time 0.01936/0.4789, allocations: 7.821 MB / 0.5148 GB, free: 10.69 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.155e-05/0.479, allocations: 69.41 kB / 0.5149 GB, free: 10.61 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004378/0.4833, allocations: 2.665 MB / 0.5175 GB, free: 7.922 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001336/0.4835, allocations: 57.7 kB / 0.5175 GB, free: 7.859 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001445/0.4849, allocations: 1.67 MB / 0.5192 GB, free: 6.172 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000628/0.4855, allocations: 0.6507 MB / 0.5198 GB, free: 5.516 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006389/0.4862, allocations: 339.5 kB / 0.5201 GB, free: 5.18 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.4863, allocations: 317 kB / 0.5204 GB, free: 4.867 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001786/0.4881, allocations: 0.9058 MB / 0.5213 GB, free: 3.961 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002145/0.4903, allocations: 1.306 MB / 0.5226 GB, free: 2.504 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00411/0.4944, allocations: 2.355 MB / 0.5249 GB, free: 4 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.4944, allocations: 0 / 0.5249 GB, free: 4 kB / 430.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.00629/0.5007, allocations: 3.074 MB / 0.5279 GB, free: 12.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.5007, allocations: 8 kB / 0.5279 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.081e-05/0.5007, allocations: 12 kB / 0.5279 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001683/0.5024, allocations: 0.5518 MB / 0.5285 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001893/0.5043, allocations: 431.4 kB / 0.5289 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01122/0.5155, allocations: 7.611 MB / 0.5363 GB, free: 4.027 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001895/0.5174, allocations: 84.02 kB / 0.5364 GB, free: 3.945 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002637/0.5177, allocations: 88.03 kB / 0.5365 GB, free: 3.859 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.002275/0.5199, allocations: 1.165 MB / 0.5376 GB, free: 2.684 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007363/0.5207, allocations: 270.2 kB / 0.5379 GB, free: 2.418 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006349/0.527, allocations: 2.866 MB / 0.5407 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-05/0.5271, allocations: 20 kB / 0.5407 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.991e-05/0.5271, allocations: 11.98 kB / 0.5407 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.045e-05/0.5271, allocations: 7.969 kB / 0.5407 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01232/0.5394, allocations: 6.334 MB / 0.5469 GB, free: 9.062 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/0.5394, allocations: 4.062 kB / 0.5469 GB, free: 9.059 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001451/0.5409, allocations: 279.6 kB / 0.5472 GB, free: 8.785 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001835/0.5427, allocations: 0.6161 MB / 0.5478 GB, free: 8.156 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001525/0.5429, allocations: 48.03 kB / 0.5478 GB, free: 8.109 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01424/0.5571, allocations: 11.46 MB / 0.559 GB, free: 12.1 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.5571, allocations: 7.969 kB / 0.559 GB, free: 12.09 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008148/0.5653, allocations: 4.146 MB / 0.563 GB, free: 7.902 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001276/0.5665, allocations: 0.5577 MB / 0.5636 GB, free: 7.324 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004536/0.567, allocations: 40.06 kB / 0.5636 GB, free: 7.285 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001322/0.5683, allocations: 87.92 kB / 0.5637 GB, free: 7.199 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003333/0.5686, allocations: 133.7 kB / 0.5638 GB, free: 7.07 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001392/0.5688, allocations: 55.97 kB / 0.5639 GB, free: 7.016 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003136/0.5719, allocations: 1.871 MB / 0.5657 GB, free: 5.133 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5719, allocations: 0 / 0.5657 GB, free: 5.133 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002492/0.5744, allocations: 0.6874 MB / 0.5664 GB, free: 4.445 MB / 478.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.001637/0.5761, allocations: 464.2 kB / 0.5668 GB, free: 4.117 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005724/0.5818, allocations: 2.721 MB / 0.5695 GB, free: 1.367 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.5818, allocations: 4 kB / 0.5695 GB, free: 1.363 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00341/0.5852, allocations: 1.844 MB / 0.5713 GB, free: 15.47 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002734/0.5879, allocations: 0.5911 MB / 0.5719 GB, free: 14.89 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0135/0.6014, allocations: 7.174 MB / 0.5789 GB, free: 7.672 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003277/0.6047, allocations: 2.644 MB / 0.5815 GB, free: 5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001893/0.6066, allocations: 0.5047 MB / 0.582 GB, free: 4.488 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006635/0.6073, allocations: 171.4 kB / 0.5821 GB, free: 4.32 MB / 494.1 MB Notification: Performance of SimCode: time 1.042e-06/0.6073, allocations: 0 / 0.5821 GB, free: 4.32 MB / 494.1 MB Notification: Performance of Templates: time 0.07374/0.681, allocations: 36.55 MB / 0.6178 GB, free: 52 kB / 0.5137 GB " [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.960774511098862]