Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001412/0.001412, allocations: 178.3 kB / 17.36 MB, free: 4.32 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.279/1.279, allocations: 205.6 MB / 223.7 MB, free: 8.965 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007177/0.0007176, allocations: 88.14 kB / 272.1 MB, free: 8.148 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002535/0.0002536, allocations: 4 kB / 329 MB, free: 15.08 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.2014, allocations: 47.57 MB / 376.6 MB, free: 45.6 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.004995/0.2064, allocations: 6.275 MB / 382.9 MB, free: 40.7 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002977/0.2094, allocations: 2.964 MB / 385.8 MB, free: 37.93 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004347/0.2099, allocations: 45.66 kB / 385.9 MB, free: 37.91 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006161/0.2105, allocations: 374.2 kB / 386.3 MB, free: 37.64 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001492/0.212, allocations: 1.175 MB / 387.4 MB, free: 36.56 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006094/0.2126, allocations: 409.4 kB / 387.8 MB, free: 36.2 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002625/0.2153, allocations: 3.453 MB / 391.3 MB, free: 33.49 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001877/0.2172, allocations: 2.367 MB / 393.6 MB, free: 31.07 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001091/0.2183, allocations: 1.042 MB / 394.7 MB, free: 30.02 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00103/0.2193, allocations: 1.373 MB / 396.1 MB, free: 28.64 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002045/0.2195, allocations: 152 kB / 396.2 MB, free: 28.49 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005843/0.2201, allocations: 279.8 kB / 396.5 MB, free: 28.22 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000374/0.2205, allocations: 0.646 MB / 397.1 MB, free: 27.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008997/0.2214, allocations: 1.342 MB / 398.5 MB, free: 26.21 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002397/0.2238, allocations: 4.348 MB / 402.8 MB, free: 21.85 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.2238, allocations: 4 kB / 402.8 MB, free: 21.85 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2238, allocations: 0 / 402.8 MB, free: 21.85 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.223e-05/0.2239, allocations: 0 / 402.8 MB, free: 21.85 MB / 298.7 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.005297/0.2292, allocations: 3.11 MB / 405.9 MB, free: 18.68 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.2292, allocations: 12.03 kB / 405.9 MB, free: 18.66 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003038/0.2323, allocations: 0.696 MB / 406.6 MB, free: 17.96 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001994/0.2343, allocations: 1.667 MB / 408.3 MB, free: 16.24 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.484e-05/0.2344, allocations: 197.7 kB / 408.5 MB, free: 16.04 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002885/0.2347, allocations: 268 kB / 408.8 MB, free: 15.78 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004477/0.2392, allocations: 3.603 MB / 412.4 MB, free: 12.12 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.083e-05/0.2392, allocations: 0 / 412.4 MB, free: 12.12 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002/0.2394, allocations: 104 kB / 412.5 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-05/0.2395, allocations: 109.3 kB / 412.6 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003899/0.2434, allocations: 3.097 MB / 415.7 MB, free: 8.805 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01227/0.2557, allocations: 10.57 MB / 426.2 MB, free: 13.89 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004419/0.2601, allocations: 4.677 MB / 430.9 MB, free: 8.559 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001258/0.2614, allocations: 0.9525 MB / 431.9 MB, free: 7.605 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003373/0.2648, allocations: 2.468 MB / 434.3 MB, free: 5.047 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.2648, allocations: 51.42 kB / 434.4 MB, free: 4.988 MB / 314.7 MB Notification: Performance of pre-optimization done (n=104): time 2.806e-06/0.2649, allocations: 0 / 434.4 MB, free: 4.988 MB / 314.7 MB Notification: Performance of matching and sorting (n=104): time 0.005708/0.2706, allocations: 2.75 MB / 437.1 MB, free: 2.188 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.2706, allocations: 85.98 kB / 437.2 MB, free: 2.086 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001599/0.2722, allocations: 1.37 MB / 438.6 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.857e-05/0.2723, allocations: 49.64 kB / 438.6 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006759/0.273, allocations: 1.16 MB / 439.8 MB, free: 15.47 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002554/0.2732, allocations: 366.8 kB / 440.2 MB, free: 15.11 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.789e-05/0.2733, allocations: 24 kB / 440.2 MB, free: 15.09 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.2735, allocations: 357.9 kB / 440.5 MB, free: 14.73 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008584/0.2743, allocations: 0.5803 MB / 441.1 MB, free: 14.15 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/0.2754, allocations: 0.8687 MB / 442 MB, free: 13.16 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001974/0.2774, allocations: 1.504 MB / 443.5 MB, free: 11.55 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.2774, allocations: 4 kB / 443.5 MB, free: 11.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003101/0.2805, allocations: 2.011 MB / 445.5 MB, free: 9.512 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.2805, allocations: 12 kB / 445.5 MB, free: 9.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.2806, allocations: 8 kB / 445.5 MB, free: 9.492 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009422/0.2815, allocations: 407.8 kB / 445.9 MB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007964/0.2823, allocations: 231.6 kB / 446.1 MB, free: 8.863 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006464/0.2888, allocations: 6.083 MB / 452.2 MB, free: 2.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008358/0.2896, allocations: 150.8 kB / 452.4 MB, free: 2.371 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.342e-05/0.2897, allocations: 51.97 kB / 452.4 MB, free: 2.32 MB / 330.7 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 (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 {(2,19,100.0%), (2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001232/0.291, allocations: 0.8603 MB / 453.3 MB, free: 1.449 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001871/0.2912, allocations: 138.3 kB / 453.4 MB, free: 1.312 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002733/0.2939, allocations: 1.691 MB / 455.1 MB, free: 15.6 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.2939, allocations: 16 kB / 455.1 MB, free: 15.58 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.2939, allocations: 8 kB / 455.1 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/0.294, allocations: 3.984 kB / 455.1 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00561/0.2996, allocations: 4.011 MB / 459.2 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.2996, allocations: 4 kB / 459.2 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005519/0.3002, allocations: 139.8 kB / 459.3 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009009/0.3011, allocations: 396 kB / 459.7 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.37e-05/0.3012, allocations: 35.98 kB / 459.7 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006435/0.3076, allocations: 6.076 MB / 465.8 MB, free: 4.562 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.253e-06/0.3076, allocations: 11.91 kB / 465.8 MB, free: 4.551 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003678/0.3113, allocations: 2.532 MB / 468.3 MB, free: 1.977 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003518/0.3117, allocations: 247.2 kB / 468.6 MB, free: 1.715 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001597/0.3118, allocations: 32 kB / 468.6 MB, free: 1.684 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007498/0.3126, allocations: 99.89 kB / 468.7 MB, free: 1.586 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002243/0.3128, allocations: 100.6 kB / 468.8 MB, free: 1.488 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.744e-05/0.3129, allocations: 35.98 kB / 468.8 MB, free: 1.453 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001175/0.3141, allocations: 0.9513 MB / 469.8 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3141, allocations: 3.938 kB / 469.8 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001566/0.3157, allocations: 0.6768 MB / 470.5 MB, free: 15.81 MB / 362.7 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,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].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 (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 {(2,21,100.0%), (2,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002509/0.3159, allocations: 151.1 kB / 470.6 MB, free: 15.65 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002727/0.3187, allocations: 1.819 MB / 472.4 MB, free: 13.81 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.3187, allocations: 3.906 kB / 472.4 MB, free: 13.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001641/0.3203, allocations: 1.156 MB / 473.6 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001536/0.3219, allocations: 293 kB / 473.9 MB, free: 12.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006979/0.3289, allocations: 5.819 MB / 479.7 MB, free: 6.457 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001693/0.3306, allocations: 2.18 MB / 481.9 MB, free: 4.242 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001027/0.3316, allocations: 350.9 kB / 482.2 MB, free: 3.895 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002138/0.3319, allocations: 83.42 kB / 482.3 MB, free: 3.812 MB / 362.7 MB Notification: Performance of SimCode: time 4.7e-07/0.3319, allocations: 0 / 482.3 MB, free: 3.812 MB / 362.7 MB Notification: Performance of Templates: time 0.03282/0.3647, allocations: 19.58 MB / 0.4901 GB, free: 288 kB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches