Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 109.2 kB / 17.74 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001725/0.001725, allocations: 188.3 kB / 18.68 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009523/0.0009523, allocations: 43.92 kB / 352 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2115, allocations: 49.43 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01659/0.2282, allocations: 16.6 MB / 418 MB, free: 8.188 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008205/0.2364, allocations: 4.634 MB / 422.7 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002103/0.2385, allocations: 139.6 kB / 422.8 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01465/0.2532, allocations: 7.186 MB / 430 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005056/0.2582, allocations: 1.997 MB / 432 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003264/0.2615, allocations: 1.519 MB / 433.5 MB, free: 8.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0091/0.2706, allocations: 9.411 MB / 442.9 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02501/0.2956, allocations: 20.84 MB / 463.7 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00588/0.3015, allocations: 5.249 MB / 469 MB, free: 4.992 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007653/0.3092, allocations: 5.868 MB / 474.9 MB, free: 15.11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00261/0.3118, allocations: 1.359 MB / 476.2 MB, free: 13.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003056/0.3149, allocations: 1.644 MB / 477.9 MB, free: 12.1 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002172/0.3171, allocations: 2.802 MB / 480.7 MB, free: 9.293 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005067/0.3222, allocations: 5.354 MB / 486 MB, free: 3.918 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01424/0.3364, allocations: 18.35 MB / 0.4925 GB, free: 1.52 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3364, allocations: 3.984 kB / 0.4925 GB, free: 1.516 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3364, allocations: 0 / 0.4925 GB, free: 1.516 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002316/0.3367, allocations: 0 / 0.4925 GB, free: 1.516 MB / 414.1 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.02753/0.3642, allocations: 12.12 MB / 0.5044 GB, free: 5.312 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.3643, allocations: 8.031 kB / 0.5044 GB, free: 5.305 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03511/0.3994, allocations: 6.244 MB / 0.5105 GB, free: 15.04 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0111/0.4105, allocations: 5.815 MB / 0.5162 GB, free: 9.164 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004207/0.4109, allocations: 0.6743 MB / 0.5168 GB, free: 8.488 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001399/0.4123, allocations: 0.871 MB / 0.5177 GB, free: 7.617 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02288/0.4352, allocations: 14.72 MB / 0.532 GB, free: 8.848 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001505/0.4354, allocations: 11.91 kB / 0.5321 GB, free: 8.836 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009608/0.4364, allocations: 372 kB / 0.5324 GB, free: 8.473 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004345/0.4368, allocations: 0.4953 MB / 0.5329 GB, free: 7.973 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3388/0.7756, allocations: 13.52 MB / 0.5461 GB, free: 115.8 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04893/0.8246, allocations: 44.07 MB / 0.5891 GB, free: 82.61 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009105/0.8337, allocations: 11.64 MB / 0.6005 GB, free: 69.89 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003442/0.8372, allocations: 3.171 MB / 0.6036 GB, free: 66.71 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002789/0.8375, allocations: 175.7 kB / 0.6038 GB, free: 66.54 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/0.8375, allocations: 82.5 kB / 0.6038 GB, free: 66.45 MB / 462.1 MB Notification: Performance of pre-optimization done (n=409): time 6.723e-06/0.8376, allocations: 0 / 0.6038 GB, free: 66.45 MB / 462.1 MB Notification: Performance of matching and sorting (n=409): time 0.01764/0.8552, allocations: 9.575 MB / 0.6132 GB, free: 56.85 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.8553, allocations: 121.1 kB / 0.6133 GB, free: 56.71 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004118/0.8594, allocations: 3.152 MB / 0.6164 GB, free: 53.54 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002545/0.8597, allocations: 89.7 kB / 0.6165 GB, free: 53.45 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001386/0.861, allocations: 3.694 MB / 0.6201 GB, free: 49.73 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007895/0.8618, allocations: 1.391 MB / 0.6214 GB, free: 48.35 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001498/0.8633, allocations: 1.132 MB / 0.6225 GB, free: 47.2 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.195e-05/0.8634, allocations: 301.1 kB / 0.6228 GB, free: 46.91 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003416/0.8668, allocations: 2.835 MB / 0.6256 GB, free: 44.07 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004067/0.8709, allocations: 4.906 MB / 0.6304 GB, free: 38.22 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007535/0.8784, allocations: 8.259 MB / 0.6385 GB, free: 29.03 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.012e-05/0.8785, allocations: 23.94 kB / 0.6385 GB, free: 29 MB / 462.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01205/0.8905, allocations: 9.095 MB / 0.6474 GB, free: 19.89 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.065e-05/0.8906, allocations: 36 kB / 0.6474 GB, free: 19.86 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.246e-05/0.8907, allocations: 64 kB / 0.6475 GB, free: 19.79 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002929/0.8936, allocations: 1.154 MB / 0.6486 GB, free: 18.63 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004041/0.8977, allocations: 1.295 MB / 0.6499 GB, free: 17.34 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01217/0.9098, allocations: 10.8 MB / 0.6604 GB, free: 6.27 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003523/0.9134, allocations: 0.7356 MB / 0.6611 GB, free: 5.527 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005021/0.9139, allocations: 276 kB / 0.6614 GB, free: 5.258 MB / 462.1 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 (675): * Single equations (assignments): 671 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.004111/0.918, allocations: 3.424 MB / 0.6647 GB, free: 1.82 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006081/0.9186, allocations: 347.7 kB / 0.6651 GB, free: 1.477 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01166/0.9303, allocations: 6.921 MB / 0.6718 GB, free: 10.53 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.023e-05/0.9303, allocations: 19.92 kB / 0.6718 GB, free: 10.51 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.198e-06/0.9304, allocations: 0 / 0.6718 GB, free: 10.51 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002025/0.9324, allocations: 0.9485 MB / 0.6728 GB, free: 9.535 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006312/0.933, allocations: 68 kB / 0.6728 GB, free: 9.469 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002188/0.9352, allocations: 255.7 kB / 0.6731 GB, free: 9.219 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005691/0.9358, allocations: 307.5 kB / 0.6734 GB, free: 8.918 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01159/0.9474, allocations: 6.604 MB / 0.6798 GB, free: 2.387 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01091/0.9583, allocations: 8.131 MB / 0.6877 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003137/0.9615, allocations: 2.502 MB / 0.6902 GB, free: 7.699 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00384/0.9653, allocations: 2.125 MB / 0.6923 GB, free: 5.57 MB / 494.1 MB Notification: Performance of Backend: time 4.41e-07/0.9653, allocations: 0 / 0.6923 GB, free: 5.57 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01038/0.9757, allocations: 5.4 MB / 0.6975 GB, free: 168 kB / 494.1 MB Notification: Performance of SimCode: time 0.02416/0.9999, allocations: 14.52 MB / 0.7117 GB, free: 1.586 MB / 0.4982 GB Notification: Performance of Templates: time 0.2751/1.275, allocations: 71.09 MB / 0.7811 GB, free: 166.9 MB / 0.5294 GB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches