Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001469/0.00147, allocations: 192.7 kB / 17.43 MB, free: 4.238 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.28/1.28, allocations: 229.5 MB / 247.7 MB, free: 6.336 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007454/0.0007454, allocations: 92.95 kB / 299.8 MB, free: 5.352 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002178/0.0002179, allocations: 4 kB / 360.7 MB, free: 8.461 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2136, allocations: 51.41 MB / 412.1 MB, free: 25.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01061/0.2242, allocations: 14.42 MB / 426.5 MB, free: 11.42 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008625/0.2329, allocations: 6.533 MB / 433 MB, free: 4.402 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002712/0.2357, allocations: 123.6 kB / 433.1 MB, free: 4.281 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002998/0.2387, allocations: 1.159 MB / 434.3 MB, free: 3.117 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005418/0.2441, allocations: 2.214 MB / 436.5 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00416/0.2483, allocations: 2.352 MB / 438.9 MB, free: 14.21 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01152/0.2598, allocations: 9.614 MB / 448.5 MB, free: 4.555 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03569/0.2956, allocations: 26.42 MB / 474.9 MB, free: 8.625 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006204/0.3018, allocations: 3.878 MB / 478.8 MB, free: 4.734 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007162/0.309, allocations: 4.548 MB / 483.3 MB, free: 172 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002216/0.3113, allocations: 0.5625 MB / 483.9 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003763/0.3151, allocations: 0.859 MB / 484.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003236/0.3183, allocations: 1.794 MB / 486.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007498/0.3259, allocations: 4.262 MB / 490.8 MB, free: 8.656 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01801/0.3439, allocations: 17.28 MB / 0.4962 GB, free: 7.32 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.344, allocations: 4 kB / 0.4962 GB, free: 7.316 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.344, allocations: 0 / 0.4962 GB, free: 7.316 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0005214/0.3445, allocations: 0 / 0.4962 GB, free: 7.316 MB / 378.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.384/0.7286, allocations: 10.28 MB / 0.5062 GB, free: 79.32 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.7286, allocations: 11.06 kB / 0.5062 GB, free: 79.32 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05395/0.7826, allocations: 6.245 MB / 0.5123 GB, free: 77.5 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01649/0.7991, allocations: 5.661 MB / 0.5179 GB, free: 73.83 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00112/0.8003, allocations: 0.6703 MB / 0.5185 GB, free: 73.53 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004771/0.8051, allocations: 0.8777 MB / 0.5194 GB, free: 73.15 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04819/0.8533, allocations: 14.68 MB / 0.5337 GB, free: 58.44 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003966/0.8537, allocations: 11.91 kB / 0.5337 GB, free: 58.43 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003/0.8568, allocations: 375.6 kB / 0.5341 GB, free: 58.07 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005639/0.8573, allocations: 499.3 kB / 0.5346 GB, free: 57.58 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03361/0.891, allocations: 13.49 MB / 0.5477 GB, free: 44.07 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06038/0.9514, allocations: 45.21 MB / 0.5919 GB, free: 13.96 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01224/0.9637, allocations: 11.68 MB / 0.6033 GB, free: 1.172 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004763/0.9685, allocations: 3.215 MB / 0.6064 GB, free: 13.96 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004115/0.9689, allocations: 267.7 kB / 0.6067 GB, free: 13.68 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.308e-05/0.969, allocations: 82.56 kB / 0.6068 GB, free: 13.59 MB / 410.8 MB Notification: Performance of pre-optimization done (n=421): time 6.593e-06/0.969, allocations: 0 / 0.6068 GB, free: 13.59 MB / 410.8 MB Notification: Performance of matching and sorting (n=421): time 0.01939/0.9884, allocations: 9.71 MB / 0.6162 GB, free: 3.828 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.139e-05/0.9885, allocations: 121.1 kB / 0.6164 GB, free: 3.691 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004475/0.993, allocations: 3.136 MB / 0.6194 GB, free: 0.5352 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006197/0.9936, allocations: 93.7 kB / 0.6195 GB, free: 448 kB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002441/0.9961, allocations: 3.678 MB / 0.6231 GB, free: 12.73 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001429/0.9975, allocations: 1.426 MB / 0.6245 GB, free: 11.32 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002823/0.9978, allocations: 116 kB / 0.6246 GB, free: 11.21 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0003259/0.9982, allocations: 0.5471 MB / 0.6251 GB, free: 10.65 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003914/1.002, allocations: 2.885 MB / 0.628 GB, free: 7.762 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00498/1.007, allocations: 4.955 MB / 0.6328 GB, free: 1.863 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009355/1.016, allocations: 8.369 MB / 0.641 GB, free: 8.535 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.994e-05/1.016, allocations: 20 kB / 0.641 GB, free: 8.516 MB / 442.8 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01353/1.03, allocations: 9.195 MB / 0.65 GB, free: 15.27 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.863e-05/1.03, allocations: 32.66 kB / 0.65 GB, free: 15.23 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-05/1.03, allocations: 72 kB / 0.6501 GB, free: 15.16 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00282/1.033, allocations: 1.117 MB / 0.6512 GB, free: 14.04 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004259/1.037, allocations: 1.283 MB / 0.6524 GB, free: 12.75 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0134/1.051, allocations: 9.935 MB / 0.6621 GB, free: 2.555 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005204/1.056, allocations: 0.7355 MB / 0.6628 GB, free: 1.812 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001414/1.057, allocations: 283.9 kB / 0.6631 GB, free: 1.535 MB / 458.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.008538/1.066, allocations: 3.426 MB / 0.6665 GB, free: 14.1 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001324/1.067, allocations: 351.6 kB / 0.6668 GB, free: 13.75 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01376/1.081, allocations: 7.007 MB / 0.6736 GB, free: 6.68 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00919/1.09, allocations: 5.843 MB / 0.6793 GB, free: 0.7891 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.684e-05/1.09, allocations: 8 kB / 0.6793 GB, free: 0.7812 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.753e-05/1.09, allocations: 31.8 kB / 0.6794 GB, free: 0.75 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2142/1.305, allocations: 15.52 MB / 0.6945 GB, free: 153.8 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.38e-05/1.305, allocations: 15.84 kB / 0.6945 GB, free: 153.8 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002969/1.308, allocations: 0.783 MB / 0.6953 GB, free: 153.7 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002796/1.31, allocations: 1.035 MB / 0.6963 GB, free: 153.5 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004774/1.311, allocations: 114.5 kB / 0.6964 GB, free: 153.4 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01104/1.322, allocations: 9.652 MB / 0.7059 GB, free: 148 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.161e-05/1.322, allocations: 23.34 kB / 0.7059 GB, free: 148 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01431/1.336, allocations: 10.88 MB / 0.7165 GB, free: 141.3 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002025/1.338, allocations: 1.008 MB / 0.7175 GB, free: 140.4 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000559/1.339, allocations: 95.56 kB / 0.7176 GB, free: 140.3 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002019/1.341, allocations: 287 kB / 0.7179 GB, free: 140.1 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006438/1.342, allocations: 339.4 kB / 0.7182 GB, free: 139.9 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002449/1.342, allocations: 147.2 kB / 0.7183 GB, free: 139.8 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.002663/1.345, allocations: 2.103 MB / 0.7204 GB, free: 137.9 MB / 474.8 MB Notification: Performance of sort global known variables: time 3.91e-07/1.345, allocations: 0 / 0.7204 GB, free: 137.9 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.005131/1.35, allocations: 2.219 MB / 0.7225 GB, free: 135.7 MB / 474.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.0007992/1.351, allocations: 314 kB / 0.7228 GB, free: 135.4 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.01127/1.362, allocations: 7.543 MB / 0.7302 GB, free: 127.8 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.735e-05/1.362, allocations: 0 / 0.7302 GB, free: 127.8 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005629/1.368, allocations: 3.722 MB / 0.7338 GB, free: 124.1 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008355/1.376, allocations: 0.7565 MB / 0.7346 GB, free: 123.3 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02239/1.398, allocations: 20 MB / 0.7541 GB, free: 103.1 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004817/1.403, allocations: 5.937 MB / 0.7599 GB, free: 97.15 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.005193/1.408, allocations: 2.158 MB / 0.762 GB, free: 94.98 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008961/1.409, allocations: 323.4 kB / 0.7623 GB, free: 94.67 MB / 474.8 MB Notification: Performance of SimCode: time 1.784e-06/1.409, allocations: 0 / 0.7623 GB, free: 94.67 MB / 474.8 MB Notification: Performance of Templates: time 0.08529/1.495, allocations: 58.42 MB / 0.8194 GB, free: 36.57 MB / 474.8 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches