Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001271/0.001271, allocations: 111.9 kB / 19.18 MB, free: 3.762 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.001392/0.001392, allocations: 208.9 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 230.2 MB / 255.2 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 59.91 kB / 374.6 MB, free: 9.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09411/0.09599, allocations: 53.32 MB / 427.9 MB, free: 4.449 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.1916/0.2876, allocations: 14.33 MB / 442.2 MB, free: 3.523 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009483/0.297, allocations: 5.383 MB / 447.6 MB, free: 84 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002803/0.2998, allocations: 82.81 kB / 447.7 MB, free: 64 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00357/0.3034, allocations: 1.097 MB / 448.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005256/0.3087, allocations: 1.473 MB / 450.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002978/0.3116, allocations: 1.026 MB / 451.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006354/0.318, allocations: 4.358 MB / 455.6 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003515/0.3215, allocations: 2.352 MB / 458 MB, free: 10.55 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003448/0.325, allocations: 2.031 MB / 460 MB, free: 9.543 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004264/0.3292, allocations: 2.439 MB / 462.5 MB, free: 8.363 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009991/0.3302, allocations: 0.535 MB / 463 MB, free: 8.363 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002291/0.3325, allocations: 0.9379 MB / 463.9 MB, free: 8.215 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001413/0.3339, allocations: 1.377 MB / 465.3 MB, free: 7.383 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00344/0.3374, allocations: 2.366 MB / 467.7 MB, free: 5.637 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009731/0.3471, allocations: 7.412 MB / 475.1 MB, free: 84 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3471, allocations: 4 kB / 475.1 MB, free: 80 kB / 366.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3471, allocations: 6.531 kB / 475.1 MB, free: 76 kB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001785/0.3473, allocations: 0 / 475.1 MB, free: 76 kB / 366.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.01425/0.3615, allocations: 5.136 MB / 480.2 MB, free: 12.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.3616, allocations: 12.03 kB / 480.2 MB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005109/0.3667, allocations: 0.9116 MB / 481.2 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005813/0.3725, allocations: 2.835 MB / 484 MB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002103/0.3727, allocations: 247.1 kB / 484.2 MB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006939/0.3734, allocations: 339.9 kB / 484.6 MB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009127/0.3825, allocations: 4.559 MB / 489.1 MB, free: 3.426 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.361e-05/0.3826, allocations: 3.953 kB / 489.1 MB, free: 3.422 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003597/0.383, allocations: 136 kB / 489.3 MB, free: 3.289 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001845/0.3832, allocations: 154.7 kB / 489.4 MB, free: 3.137 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008303/0.3915, allocations: 3.922 MB / 493.3 MB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02516/0.4166, allocations: 14.04 MB / 0.4955 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008768/0.4254, allocations: 6.823 MB / 0.5021 GB, free: 9.293 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003444/0.4288, allocations: 1.587 MB / 0.5037 GB, free: 7.703 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008488/0.4373, allocations: 4.499 MB / 0.5081 GB, free: 3.062 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.783e-05/0.4374, allocations: 51.88 kB / 0.5081 GB, free: 3.004 MB / 414.1 MB Notification: Performance of pre-optimization done (n=165): time 3.868e-06/0.4374, allocations: 0 / 0.5081 GB, free: 3.004 MB / 414.1 MB Notification: Performance of matching and sorting (n=185): time 0.01883/0.4562, allocations: 7.814 MB / 0.5158 GB, free: 11.06 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.796e-05/0.4563, allocations: 69.41 kB / 0.5158 GB, free: 10.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004178/0.4604, allocations: 2.669 MB / 0.5184 GB, free: 8.285 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002461/0.4607, allocations: 57.69 kB / 0.5185 GB, free: 8.223 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001404/0.4621, allocations: 1.67 MB / 0.5201 GB, free: 6.535 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006768/0.4628, allocations: 0.6545 MB / 0.5208 GB, free: 5.875 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006275/0.4634, allocations: 339.4 kB / 0.5211 GB, free: 5.539 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.4635, allocations: 305.1 kB / 0.5214 GB, free: 5.238 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001758/0.4653, allocations: 0.9184 MB / 0.5223 GB, free: 4.32 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002063/0.4673, allocations: 1.306 MB / 0.5236 GB, free: 2.863 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003983/0.4713, allocations: 2.352 MB / 0.5258 GB, free: 376 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/0.4713, allocations: 7.938 kB / 0.5259 GB, free: 368 kB / 430.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.006214/0.4776, allocations: 3.07 MB / 0.5289 GB, free: 13.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.876e-05/0.4776, allocations: 12 kB / 0.5289 GB, free: 13.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.217e-05/0.4776, allocations: 8 kB / 0.5289 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001669/0.4793, allocations: 0.5519 MB / 0.5294 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001896/0.4812, allocations: 431.3 kB / 0.5298 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01067/0.4918, allocations: 7.612 MB / 0.5373 GB, free: 4.387 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002016/0.4939, allocations: 88 kB / 0.5373 GB, free: 4.301 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000237/0.4941, allocations: 79.97 kB / 0.5374 GB, free: 4.223 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.002355/0.4964, allocations: 1.161 MB / 0.5386 GB, free: 3.051 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006617/0.4971, allocations: 278.2 kB / 0.5388 GB, free: 2.777 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006043/0.5031, allocations: 2.866 MB / 0.5416 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.478e-05/0.5032, allocations: 16 kB / 0.5416 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-05/0.5032, allocations: 12 kB / 0.5416 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.231e-05/0.5032, allocations: 11.95 kB / 0.5417 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0121/0.5153, allocations: 6.33 MB / 0.5478 GB, free: 9.426 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.375e-06/0.5153, allocations: 64 / 0.5478 GB, free: 9.426 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00144/0.5168, allocations: 283.7 kB / 0.5481 GB, free: 9.148 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001843/0.5186, allocations: 0.6233 MB / 0.5487 GB, free: 8.516 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001538/0.5188, allocations: 47.97 kB / 0.5488 GB, free: 8.469 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01369/0.5325, allocations: 11.46 MB / 0.5599 GB, free: 12.46 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.5325, allocations: 4.062 kB / 0.56 GB, free: 12.46 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008298/0.5408, allocations: 4.153 MB / 0.564 GB, free: 8.258 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001559/0.5423, allocations: 0.5577 MB / 0.5646 GB, free: 7.68 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003634/0.5427, allocations: 43.94 kB / 0.5646 GB, free: 7.637 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00121/0.5439, allocations: 83.92 kB / 0.5647 GB, free: 7.555 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004512/0.5443, allocations: 133.8 kB / 0.5648 GB, free: 7.426 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001441/0.5445, allocations: 59.95 kB / 0.5649 GB, free: 7.367 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003217/0.5477, allocations: 1.863 MB / 0.5667 GB, free: 5.492 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5477, allocations: 3.938 kB / 0.5667 GB, free: 5.488 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002759/0.5505, allocations: 0.6952 MB / 0.5674 GB, free: 4.793 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.00159/0.5521, allocations: 448.7 kB / 0.5678 GB, free: 4.477 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005469/0.5575, allocations: 2.728 MB / 0.5705 GB, free: 1.719 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.5575, allocations: 0.75 kB / 0.5705 GB, free: 1.719 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003317/0.5608, allocations: 1.848 MB / 0.5723 GB, free: 15.82 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002975/0.5638, allocations: 0.59 MB / 0.5728 GB, free: 15.24 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01289/0.5767, allocations: 7.18 MB / 0.5798 GB, free: 8.012 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002627/0.5793, allocations: 2.583 MB / 0.5824 GB, free: 5.398 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008528/0.5802, allocations: 187.4 kB / 0.5825 GB, free: 5.215 MB / 494.1 MB Notification: Performance of SimCode: time 1.392e-06/0.5802, allocations: 0 / 0.5825 GB, free: 5.215 MB / 494.1 MB Notification: Performance of Templates: time 0.2916/0.8718, allocations: 102 MB / 0.6822 GB, free: 123.4 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 16.620328224031255]