Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|converter_e.singlePhaseElectroMagneticConverter.1..Phi.re|converter_e.singlePhaseElectroMagneticConverter.2..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|converter_e.singlePhaseElectroMagneticConverter.1..Phi.re|converter_e.singlePhaseElectroMagneticConverter.2..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0006992/0.0006992, allocations: 92.89 kB / 17 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008679/0.0008678, allocations: 202.3 kB / 17.91 MB, free: 5.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 227.7 MB / 246.4 MB, free: 9.738 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003006/0.0003008, allocations: 4 kB / 307.1 MB, free: 0.9492 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1126, allocations: 51.51 MB / 358.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.007031/0.1197, allocations: 6.797 MB / 365.4 MB, free: 6.605 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004133/0.1238, allocations: 2.305 MB / 367.7 MB, free: 4.293 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000977/0.1248, allocations: 47.81 kB / 367.8 MB, free: 4.246 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009353/0.1258, allocations: 325.9 kB / 368.1 MB, free: 3.926 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002061/0.1279, allocations: 0.7232 MB / 368.8 MB, free: 3.199 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008651/0.1287, allocations: 283.2 kB / 369.1 MB, free: 2.926 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1703/0.2991, allocations: 3.253 MB / 372.3 MB, free: 9.047 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002597/0.3017, allocations: 2.002 MB / 374.4 MB, free: 8.711 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001412/0.3031, allocations: 1.015 MB / 375.4 MB, free: 8.711 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001459/0.3046, allocations: 1.334 MB / 376.7 MB, free: 8.707 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002407/0.3048, allocations: 153.5 kB / 376.8 MB, free: 8.707 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006563/0.3055, allocations: 276.1 kB / 377.1 MB, free: 8.707 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005311/0.306, allocations: 0.6447 MB / 377.8 MB, free: 8.707 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004364/0.3065, allocations: 0.5507 MB / 378.3 MB, free: 8.676 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003434/0.3099, allocations: 3.751 MB / 382.1 MB, free: 8.453 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3099, allocations: 0 / 382.1 MB, free: 8.453 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.31, allocations: 1.25 kB / 382.1 MB, free: 8.453 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.685e-05/0.31, allocations: 4 kB / 382.1 MB, free: 8.449 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.006359/0.3164, allocations: 3.174 MB / 385.2 MB, free: 7.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.3164, allocations: 8.75 kB / 385.3 MB, free: 7.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003839/0.3203, allocations: 0.7681 MB / 386 MB, free: 6.707 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002703/0.323, allocations: 1.725 MB / 387.7 MB, free: 6.047 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001495/0.3232, allocations: 209.4 kB / 388 MB, free: 6.031 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003761/0.3235, allocations: 260.2 kB / 388.2 MB, free: 6.027 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006237/0.3298, allocations: 3.614 MB / 391.8 MB, free: 5.117 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.434e-05/0.3298, allocations: 1.375 kB / 391.8 MB, free: 5.117 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002538/0.3301, allocations: 109.4 kB / 391.9 MB, free: 5.078 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.824e-05/0.3302, allocations: 107.1 kB / 392 MB, free: 5.062 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004652/0.3349, allocations: 3.103 MB / 395.1 MB, free: 3.457 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01403/0.3489, allocations: 10.4 MB / 405.5 MB, free: 10.9 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004691/0.3536, allocations: 4.575 MB / 410.1 MB, free: 5.68 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001437/0.3551, allocations: 0.9466 MB / 411.1 MB, free: 4.73 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004064/0.3592, allocations: 2.651 MB / 413.7 MB, free: 1.973 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.3592, allocations: 43.44 kB / 413.8 MB, free: 1.918 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 2.695e-06/0.3592, allocations: 0 / 413.8 MB, free: 1.918 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.006015/0.3652, allocations: 2.778 MB / 416.5 MB, free: 15.11 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.3653, allocations: 85.98 kB / 416.6 MB, free: 15.01 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00173/0.367, allocations: 1.391 MB / 418 MB, free: 13.61 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.859e-05/0.3671, allocations: 44.22 kB / 418 MB, free: 13.56 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007189/0.3678, allocations: 1.171 MB / 419.2 MB, free: 12.38 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002492/0.3681, allocations: 367.8 kB / 419.6 MB, free: 12.02 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.544e-05/0.3682, allocations: 24 kB / 419.6 MB, free: 12 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.3683, allocations: 357.9 kB / 419.9 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000873/0.3692, allocations: 0.5725 MB / 420.5 MB, free: 11.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00103/0.3702, allocations: 0.8562 MB / 421.4 MB, free: 10.11 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.3712, allocations: 0.7132 MB / 422.1 MB, free: 9.402 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.3713, allocations: 0 / 422.1 MB, free: 9.402 MB / 334.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.00302/0.3743, allocations: 1.98 MB / 424.1 MB, free: 7.441 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.3743, allocations: 8 kB / 424.1 MB, free: 7.434 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.3743, allocations: 8 kB / 424.1 MB, free: 7.426 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008608/0.3752, allocations: 407.9 kB / 424.5 MB, free: 7.027 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007987/0.376, allocations: 219.7 kB / 424.7 MB, free: 6.812 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006469/0.3825, allocations: 5.979 MB / 430.7 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008497/0.3834, allocations: 154.8 kB / 430.8 MB, free: 428 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.05e-05/0.3835, allocations: 44 kB / 430.9 MB, free: 384 kB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (110): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 19,(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001477/0.3849, allocations: 0.8681 MB / 431.7 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002028/0.3851, allocations: 138.3 kB / 431.9 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002797/0.388, allocations: 1.672 MB / 433.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.388, allocations: 12 kB / 433.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.388, allocations: 4 kB / 433.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/0.388, allocations: 11.92 kB / 433.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005916/0.3939, allocations: 3.943 MB / 437.5 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/0.394, allocations: 4 kB / 437.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005473/0.3945, allocations: 140 kB / 437.7 MB, free: 9.496 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008681/0.3954, allocations: 404.7 kB / 438.1 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.905e-05/0.3955, allocations: 27.98 kB / 438.1 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006358/0.4018, allocations: 5.955 MB / 444 MB, free: 2.848 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.4019, allocations: 4.031 kB / 444 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003617/0.4055, allocations: 2.502 MB / 446.5 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003494/0.4058, allocations: 243.2 kB / 446.8 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001682/0.406, allocations: 28 kB / 446.8 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007204/0.4067, allocations: 103.9 kB / 446.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000172/0.4069, allocations: 100.7 kB / 447 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.373e-05/0.407, allocations: 27.98 kB / 447 MB, free: 15.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001338/0.4083, allocations: 0.9756 MB / 448 MB, free: 14.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4083, allocations: 0 / 448 MB, free: 14.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001785/0.4101, allocations: 0.6726 MB / 448.7 MB, free: 14.13 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (converter_e.singlePhaseElectroMagneticConverter[3].Phi.re,converter_e.singlePhaseElectroMagneticConverter[3].Phi.im,loss_m.Phi.re,loss_m.Phi.im) * 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 (64): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 21,(2,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002647/0.4104, allocations: 159.7 kB / 448.8 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002712/0.4131, allocations: 1.804 MB / 450.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.4132, allocations: 4 kB / 450.6 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001657/0.4148, allocations: 1.141 MB / 451.8 MB, free: 10.97 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00136/0.4162, allocations: 288.5 kB / 452.1 MB, free: 10.69 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007112/0.4233, allocations: 5.569 MB / 457.6 MB, free: 5.066 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001717/0.425, allocations: 2.196 MB / 459.8 MB, free: 2.836 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0009216/0.426, allocations: 343 kB / 460.2 MB, free: 2.496 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002253/0.4262, allocations: 87.42 kB / 460.3 MB, free: 2.41 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4262, allocations: 0 / 460.3 MB, free: 2.41 MB / 366.1 MB Notification: Performance of Templates: time 0.03079/0.457, allocations: 19 MB / 479.3 MB, free: 15.64 MB / 398.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches