Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.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.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.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.0009221/0.0009221, allocations: 178 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.422/1.422, allocations: 205.6 MB / 223.7 MB, free: 8.945 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.0008036/0.0008034, allocations: 94.2 kB / 272.1 MB, free: 8.125 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000287/0.0002872, allocations: 8 kB / 329 MB, free: 15.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2751, allocations: 47.58 MB / 376.6 MB, free: 45.61 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01219/0.2873, allocations: 14.37 MB / 391 MB, free: 34.1 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00956/0.297, allocations: 6.117 MB / 397.1 MB, free: 27.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002803/0.2998, allocations: 103.7 kB / 397.2 MB, free: 27.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003047/0.3029, allocations: 1.155 MB / 398.4 MB, free: 26.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005642/0.3085, allocations: 2.069 MB / 400.4 MB, free: 24.16 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003734/0.3123, allocations: 2.556 MB / 403 MB, free: 21.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.009671/0.322, allocations: 9.506 MB / 412.5 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03383/0.3559, allocations: 26.42 MB / 438.9 MB, free: 15.88 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006063/0.362, allocations: 3.866 MB / 442.8 MB, free: 12 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007808/0.3698, allocations: 4.548 MB / 447.3 MB, free: 7.43 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002074/0.3719, allocations: 0.5625 MB / 447.9 MB, free: 6.867 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004663/0.3766, allocations: 0.8434 MB / 448.7 MB, free: 6.023 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002075/0.3787, allocations: 1.787 MB / 450.5 MB, free: 4.23 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007447/0.3862, allocations: 4.258 MB / 454.8 MB, free: 15.94 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01967/0.4059, allocations: 17.11 MB / 471.9 MB, free: 14.78 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.4059, allocations: 0 / 471.9 MB, free: 14.78 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.4059, allocations: 0 / 471.9 MB, free: 14.78 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0006123/0.4066, allocations: 0 / 471.9 MB, free: 14.78 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2497 * Number of variables: 2497 Notification: Performance of Generate backend data structure: time 0.02812/0.4347, allocations: 10.28 MB / 482.2 MB, free: 4.414 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.617e-05/0.4348, allocations: 16.02 kB / 482.2 MB, free: 4.398 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03164/0.4664, allocations: 6.209 MB / 488.4 MB, free: 14.17 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01154/0.478, allocations: 5.18 MB / 493.6 MB, free: 8.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005781/0.4786, allocations: 0.6743 MB / 494.2 MB, free: 8.254 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003152/0.4818, allocations: 0.8865 MB / 495.1 MB, free: 7.367 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3838/0.8656, allocations: 14.66 MB / 0.4978 GB, free: 91.82 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001947/0.8658, allocations: 10.61 kB / 0.4978 GB, free: 91.82 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009932/0.8668, allocations: 376.4 kB / 0.4982 GB, free: 91.54 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000567/0.8674, allocations: 496.4 kB / 0.4987 GB, free: 91.49 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02254/0.8899, allocations: 13.49 MB / 0.5118 GB, free: 85.34 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06167/0.9516, allocations: 44.73 MB / 0.5555 GB, free: 41.88 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009341/0.961, allocations: 11.68 MB / 0.5669 GB, free: 29.11 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003913/0.965, allocations: 3.21 MB / 0.5701 GB, free: 25.89 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003175/0.9653, allocations: 184.1 kB / 0.5702 GB, free: 25.71 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.118e-05/0.9654, allocations: 74.56 kB / 0.5703 GB, free: 25.63 MB / 378.8 MB Notification: Performance of pre-optimization done (n=421): time 6.833e-06/0.9654, allocations: 0 / 0.5703 GB, free: 25.63 MB / 378.8 MB Notification: Performance of matching and sorting (n=421): time 0.01815/0.9835, allocations: 9.726 MB / 0.5798 GB, free: 15.86 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/0.9836, allocations: 125.1 kB / 0.5799 GB, free: 15.72 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00398/0.9876, allocations: 3.128 MB / 0.583 GB, free: 12.57 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003201/0.988, allocations: 93.7 kB / 0.5831 GB, free: 12.47 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001526/0.9895, allocations: 3.675 MB / 0.5867 GB, free: 8.77 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00096/0.9905, allocations: 1.426 MB / 0.5881 GB, free: 7.355 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002521/0.9907, allocations: 120 kB / 0.5882 GB, free: 7.238 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 0.0002169/0.9909, allocations: 0.542 MB / 0.5887 GB, free: 6.688 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003399/0.9943, allocations: 2.897 MB / 0.5915 GB, free: 3.785 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004501/0.9989, allocations: 4.959 MB / 0.5964 GB, free: 13.88 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01031/1.009, allocations: 8.361 MB / 0.6045 GB, free: 4.562 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.156e-05/1.009, allocations: 24 kB / 0.6046 GB, free: 4.539 MB / 394.8 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01545/1.025, allocations: 9.192 MB / 0.6135 GB, free: 11.29 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.361e-05/1.025, allocations: 35.98 kB / 0.6136 GB, free: 11.25 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001211/1.025, allocations: 68 kB / 0.6136 GB, free: 11.19 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003142/1.028, allocations: 1.115 MB / 0.6147 GB, free: 10.07 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004897/1.033, allocations: 1.295 MB / 0.616 GB, free: 8.77 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01443/1.048, allocations: 9.913 MB / 0.6257 GB, free: 14.59 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005142/1.053, allocations: 0.7356 MB / 0.6264 GB, free: 13.84 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001182/1.054, allocations: 279.9 kB / 0.6267 GB, free: 13.57 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 303 * 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 (681): * Single equations (assignments): 671 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(6,24,100.0%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007227/1.061, allocations: 3.427 MB / 0.63 GB, free: 10.13 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001175/1.062, allocations: 351.6 kB / 0.6303 GB, free: 9.781 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01281/1.075, allocations: 7.015 MB / 0.6372 GB, free: 2.703 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009202/1.084, allocations: 5.847 MB / 0.6429 GB, free: 12.81 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.8e-05/1.085, allocations: 16 kB / 0.6429 GB, free: 12.79 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.443e-05/1.085, allocations: 19.92 kB / 0.6429 GB, free: 12.77 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2269/1.311, allocations: 15.52 MB / 0.6581 GB, free: 140.8 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.321e-05/1.312, allocations: 11.75 kB / 0.6581 GB, free: 140.8 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003073/1.315, allocations: 0.7907 MB / 0.6589 GB, free: 140.7 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00266/1.317, allocations: 1.029 MB / 0.6599 GB, free: 140.7 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005598/1.318, allocations: 107.7 kB / 0.66 GB, free: 140.7 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01184/1.33, allocations: 9.657 MB / 0.6694 GB, free: 136.1 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.82e-05/1.33, allocations: 21.91 kB / 0.6694 GB, free: 136.1 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01499/1.345, allocations: 10.88 MB / 0.6801 GB, free: 131.5 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001855/1.347, allocations: 1.01 MB / 0.681 GB, free: 131 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000479/1.347, allocations: 100.8 kB / 0.6811 GB, free: 130.9 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001839/1.349, allocations: 279.6 kB / 0.6814 GB, free: 130.8 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000657/1.35, allocations: 344.5 kB / 0.6817 GB, free: 130.8 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000225/1.35, allocations: 140.9 kB / 0.6819 GB, free: 130.7 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.002456/1.352, allocations: 2.105 MB / 0.6839 GB, free: 130 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.2e-07/1.352, allocations: 0 / 0.6839 GB, free: 130 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.005105/1.358, allocations: 2.223 MB / 0.6861 GB, free: 129.3 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * Number of states: 2 (sineVoltage_m.plug_p.reference.gamma,sineVoltage_e.plug_p.reference.gamma) * 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 (421): * Single equations (assignments): 411 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(6,24,100.0%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006418/1.358, allocations: 302.4 kB / 0.6864 GB, free: 129.1 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.01085/1.369, allocations: 7.549 MB / 0.6938 GB, free: 125.1 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.304e-05/1.369, allocations: 7.469 kB / 0.6938 GB, free: 125.1 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005598/1.375, allocations: 3.705 MB / 0.6974 GB, free: 121.9 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007978/1.383, allocations: 0.762 MB / 0.6981 GB, free: 121.3 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02568/1.408, allocations: 20 MB / 0.7177 GB, free: 102.3 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005654/1.414, allocations: 5.934 MB / 0.7235 GB, free: 96.29 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.005357/1.42, allocations: 2.154 MB / 0.7256 GB, free: 94.12 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008869/1.42, allocations: 323.4 kB / 0.7259 GB, free: 93.81 MB / 442.8 MB Notification: Performance of SimCode: time 1.603e-06/1.42, allocations: 0 / 0.7259 GB, free: 93.81 MB / 442.8 MB Notification: Performance of Templates: time 0.0907/1.511, allocations: 58.5 MB / 0.783 GB, free: 35.43 MB / 442.8 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.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/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches