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.006595/0.006595, allocations: 103.2 kB / 21.97 MB, free: 5.211 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.001536/0.001536, allocations: 224.6 kB / 25.3 MB, free: 3.211 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.498/1.498, allocations: 230.6 MB / 259 MB, free: 8.051 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.003146/0.003146, allocations: 67.89 kB / 379.9 MB, free: 2.609 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.3111, allocations: 53.36 MB / 433.2 MB, free: 6.965 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01874/0.3298, allocations: 14.41 MB / 447.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01395/0.3438, allocations: 5.401 MB / 453 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003133/0.3469, allocations: 99.44 kB / 453.1 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004701/0.3516, allocations: 1.099 MB / 454.2 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006483/0.3581, allocations: 1.492 MB / 455.7 MB, free: 384 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003761/0.3618, allocations: 1.048 MB / 456.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008613/0.3705, allocations: 4.365 MB / 461.1 MB, free: 10.95 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005229/0.3757, allocations: 1.861 MB / 463 MB, free: 9.016 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003636/0.3793, allocations: 2.083 MB / 465.1 MB, free: 6.926 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004398/0.3837, allocations: 2.437 MB / 467.5 MB, free: 4.48 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00137/0.3851, allocations: 0.539 MB / 468 MB, free: 3.941 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002874/0.388, allocations: 0.9798 MB / 469 MB, free: 2.961 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002164/0.3901, allocations: 1.387 MB / 470.4 MB, free: 1.57 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004495/0.3946, allocations: 2.36 MB / 472.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01076/0.4054, allocations: 7.42 MB / 480.2 MB, free: 7.754 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.4054, allocations: 0 / 480.2 MB, free: 7.754 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4054, allocations: 0 / 480.2 MB, free: 7.754 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000192/0.4056, allocations: 4 kB / 480.2 MB, free: 7.75 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.01364/0.4192, allocations: 5.068 MB / 485.3 MB, free: 2.617 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.4193, allocations: 8.031 kB / 485.3 MB, free: 2.609 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004992/0.4243, allocations: 0.9155 MB / 486.2 MB, free: 1.691 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00619/0.4305, allocations: 2.764 MB / 489 MB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002695/0.4307, allocations: 262.6 kB / 489.2 MB, free: 14.6 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008831/0.4316, allocations: 331.9 kB / 489.5 MB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009845/0.4414, allocations: 4.551 MB / 494.1 MB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.249e-05/0.4415, allocations: 7.953 kB / 494.1 MB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003316/0.4419, allocations: 136 kB / 494.2 MB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000186/0.442, allocations: 158.7 kB / 494.4 MB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008391/0.4504, allocations: 3.915 MB / 498.3 MB, free: 5.457 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02768/0.4781, allocations: 13.86 MB / 0.5002 GB, free: 7.289 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006467/0.4846, allocations: 2.993 MB / 0.5031 GB, free: 4.434 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003154/0.4877, allocations: 1.571 MB / 0.5046 GB, free: 2.867 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008255/0.496, allocations: 4.036 MB / 0.5085 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.022e-05/0.496, allocations: 51.88 kB / 0.5086 GB, free: 14.75 MB / 430.1 MB Notification: Performance of pre-optimization done (n=165): time 4.048e-06/0.496, allocations: 4 kB / 0.5086 GB, free: 14.74 MB / 430.1 MB Notification: Performance of matching and sorting (n=185): time 0.01822/0.5143, allocations: 7.434 MB / 0.5159 GB, free: 7.266 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.891e-05/0.5143, allocations: 69.41 kB / 0.5159 GB, free: 7.184 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004255/0.5186, allocations: 2.669 MB / 0.5185 GB, free: 4.492 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002627/0.5188, allocations: 57.64 kB / 0.5186 GB, free: 4.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001505/0.5203, allocations: 1.67 MB / 0.5202 GB, free: 2.742 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007329/0.5211, allocations: 0.6584 MB / 0.5209 GB, free: 2.078 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005944/0.5217, allocations: 335.5 kB / 0.5212 GB, free: 1.746 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.5218, allocations: 309.1 kB / 0.5215 GB, free: 1.441 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001776/0.5236, allocations: 0.9097 MB / 0.5224 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002102/0.5257, allocations: 1.306 MB / 0.5236 GB, free: 15.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004035/0.5297, allocations: 2.355 MB / 0.5259 GB, free: 12.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.557e-05/0.5297, allocations: 4 kB / 0.5259 GB, free: 12.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.006209/0.536, allocations: 3.074 MB / 0.5289 GB, free: 9.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.908e-05/0.536, allocations: 12 kB / 0.529 GB, free: 9.469 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.212e-05/0.536, allocations: 12.25 kB / 0.529 GB, free: 9.457 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001581/0.5376, allocations: 0.5477 MB / 0.5295 GB, free: 8.902 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001892/0.5395, allocations: 431.3 kB / 0.5299 GB, free: 8.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01076/0.5503, allocations: 7.398 MB / 0.5371 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001739/0.552, allocations: 92 kB / 0.5372 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002125/0.5522, allocations: 75.98 kB / 0.5373 GB, free: 0.6914 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.2043/0.7565, allocations: 1.162 MB / 0.5384 GB, free: 97.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007435/0.7573, allocations: 269.1 kB / 0.5387 GB, free: 97.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005715/0.763, allocations: 2.862 MB / 0.5415 GB, free: 97.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.679e-05/0.763, allocations: 19.75 kB / 0.5415 GB, free: 97.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.221e-05/0.7631, allocations: 13.91 kB / 0.5415 GB, free: 97.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-05/0.7631, allocations: 10.64 kB / 0.5415 GB, free: 97.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01043/0.7735, allocations: 6.316 MB / 0.5477 GB, free: 94.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/0.7735, allocations: 0 / 0.5477 GB, free: 94.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001231/0.7748, allocations: 282.6 kB / 0.548 GB, free: 94.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001483/0.7762, allocations: 0.6166 MB / 0.5486 GB, free: 94.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001363/0.7764, allocations: 48.77 kB / 0.5486 GB, free: 94.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009373/0.7858, allocations: 11.03 MB / 0.5594 GB, free: 86.15 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.7858, allocations: 3.938 kB / 0.5594 GB, free: 86.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006242/0.792, allocations: 4.147 MB / 0.5634 GB, free: 84.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001283/0.7933, allocations: 497.9 kB / 0.5639 GB, free: 84.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003943/0.7937, allocations: 40.62 kB / 0.564 GB, free: 84.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/0.7948, allocations: 86.25 kB / 0.564 GB, free: 84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003307/0.7951, allocations: 152.5 kB / 0.5642 GB, free: 83.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/0.7952, allocations: 51.98 kB / 0.5642 GB, free: 83.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002243/0.7975, allocations: 1.871 MB / 0.5661 GB, free: 81.92 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7975, allocations: 0 / 0.5661 GB, free: 81.92 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00238/0.7999, allocations: 0.6952 MB / 0.5667 GB, free: 81.23 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.001541/0.8014, allocations: 459.2 kB / 0.5672 GB, free: 80.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004408/0.8058, allocations: 2.729 MB / 0.5698 GB, free: 78.22 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.8058, allocations: 0 / 0.5698 GB, free: 78.22 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002531/0.8083, allocations: 1.853 MB / 0.5716 GB, free: 76.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002721/0.8111, allocations: 0.5919 MB / 0.5722 GB, free: 75.74 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01059/0.8217, allocations: 7.213 MB / 0.5793 GB, free: 68.51 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001708/0.8234, allocations: 2.586 MB / 0.5818 GB, free: 65.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007528/0.8241, allocations: 191.4 kB / 0.582 GB, free: 65.71 MB / 446.1 MB Notification: Performance of SimCode: time 9.12e-07/0.8241, allocations: 0 / 0.582 GB, free: 65.71 MB / 446.1 MB Notification: Performance of Templates: time 0.1034/0.9276, allocations: 102 MB / 0.6816 GB, free: 11.77 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/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-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: 16.32767414394766]