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.001082/0.001082, allocations: 107.7 kB / 17.7 MB, free: 5.371 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.001082/0.001082, allocations: 187.7 kB / 18.64 MB, free: 4.445 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.294/1.294, allocations: 222.9 MB / 242.3 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009842/0.0009844, allocations: 47.94 kB / 351.9 MB, free: 3.223 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2263, allocations: 49.43 MB / 401.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01485/0.2412, allocations: 16.6 MB / 418 MB, free: 8.172 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009259/0.2505, allocations: 4.63 MB / 422.6 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003035/0.2535, allocations: 131.6 kB / 422.7 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01456/0.2681, allocations: 7.161 MB / 429.9 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006305/0.2744, allocations: 1.978 MB / 431.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003949/0.2784, allocations: 1.526 MB / 433.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01021/0.2886, allocations: 9.419 MB / 442.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02673/0.3154, allocations: 20.83 MB / 463.7 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007654/0.3231, allocations: 5.237 MB / 468.9 MB, free: 5.035 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008636/0.3318, allocations: 5.868 MB / 474.8 MB, free: 15.15 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003479/0.3353, allocations: 1.359 MB / 476.1 MB, free: 13.79 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004962/0.3403, allocations: 1.644 MB / 477.8 MB, free: 12.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004184/0.3445, allocations: 2.802 MB / 480.6 MB, free: 9.336 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00861/0.3531, allocations: 5.35 MB / 485.9 MB, free: 3.965 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01817/0.3713, allocations: 18.34 MB / 0.4924 GB, free: 1.574 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.3714, allocations: 0 / 0.4924 GB, free: 1.574 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3714, allocations: 4 kB / 0.4924 GB, free: 1.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005311/0.3719, allocations: 0 / 0.4924 GB, free: 1.57 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.05306/0.425, allocations: 12.13 MB / 0.5043 GB, free: 5.359 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.849e-05/0.4251, allocations: 16.03 kB / 0.5043 GB, free: 5.344 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0599/0.485, allocations: 6.237 MB / 0.5104 GB, free: 15.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01779/0.5028, allocations: 5.811 MB / 0.5161 GB, free: 9.215 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001/0.5039, allocations: 0.6703 MB / 0.5167 GB, free: 8.543 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00474/0.5086, allocations: 0.8827 MB / 0.5176 GB, free: 7.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05404/0.5627, allocations: 14.71 MB / 0.5319 GB, free: 8.902 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005702/0.5633, allocations: 11.89 kB / 0.532 GB, free: 8.891 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004739/0.5681, allocations: 372 kB / 0.5323 GB, free: 8.527 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008807/0.569, allocations: 0.4915 MB / 0.5328 GB, free: 8.031 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5475/1.117, allocations: 13.53 MB / 0.546 GB, free: 115.9 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06752/1.184, allocations: 44.07 MB / 0.589 GB, free: 82.66 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01025/1.194, allocations: 11.65 MB / 0.6004 GB, free: 69.93 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004074/1.199, allocations: 3.161 MB / 0.6035 GB, free: 66.77 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003994/1.199, allocations: 168.4 kB / 0.6037 GB, free: 66.6 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.412e-05/1.199, allocations: 86.19 kB / 0.6037 GB, free: 66.51 MB / 462.1 MB Notification: Performance of pre-optimization done (n=409): time 6.202e-06/1.199, allocations: 1.094 kB / 0.6037 GB, free: 66.51 MB / 462.1 MB Notification: Performance of matching and sorting (n=409): time 0.01901/1.218, allocations: 9.566 MB / 0.6131 GB, free: 56.9 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/1.218, allocations: 125.1 kB / 0.6132 GB, free: 56.76 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004705/1.223, allocations: 3.156 MB / 0.6163 GB, free: 53.59 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004045/1.223, allocations: 89.7 kB / 0.6164 GB, free: 53.49 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001471/1.225, allocations: 3.698 MB / 0.62 GB, free: 49.77 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001001/1.226, allocations: 1.387 MB / 0.6213 GB, free: 48.39 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001916/1.228, allocations: 1.132 MB / 0.6224 GB, free: 47.25 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.538e-05/1.228, allocations: 301.1 kB / 0.6227 GB, free: 46.95 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003636/1.231, allocations: 2.841 MB / 0.6255 GB, free: 44.11 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004365/1.236, allocations: 4.898 MB / 0.6303 GB, free: 38.27 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008532/1.244, allocations: 8.251 MB / 0.6383 GB, free: 29.08 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.116e-05/1.244, allocations: 27.98 kB / 0.6384 GB, free: 29.05 MB / 462.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01376/1.258, allocations: 9.099 MB / 0.6473 GB, free: 19.94 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.551e-05/1.258, allocations: 36 kB / 0.6473 GB, free: 19.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.847e-05/1.258, allocations: 64 kB / 0.6473 GB, free: 19.84 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003128/1.261, allocations: 1.146 MB / 0.6485 GB, free: 18.69 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004325/1.266, allocations: 1.299 MB / 0.6497 GB, free: 17.39 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01232/1.278, allocations: 10.8 MB / 0.6603 GB, free: 6.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004259/1.282, allocations: 0.7355 MB / 0.661 GB, free: 5.578 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009602/1.283, allocations: 280 kB / 0.6613 GB, free: 5.305 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.005616/1.289, allocations: 3.42 MB / 0.6646 GB, free: 1.871 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001001/1.29, allocations: 351.7 kB / 0.6649 GB, free: 1.523 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01294/1.303, allocations: 6.909 MB / 0.6717 GB, free: 10.59 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009676/1.313, allocations: 5.741 MB / 0.6773 GB, free: 4.832 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.69e-05/1.313, allocations: 15.94 kB / 0.6773 GB, free: 4.816 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.508e-05/1.313, allocations: 19.92 kB / 0.6773 GB, free: 4.797 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02879/1.342, allocations: 15.22 MB / 0.6922 GB, free: 5.398 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.932e-05/1.342, allocations: 12 kB / 0.6922 GB, free: 5.387 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002966/1.345, allocations: 0.7879 MB / 0.693 GB, free: 4.598 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003091/1.348, allocations: 1.068 MB / 0.694 GB, free: 3.523 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004126/1.348, allocations: 104 kB / 0.6941 GB, free: 3.422 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01402/1.362, allocations: 10.57 MB / 0.7044 GB, free: 8.57 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.385e-05/1.362, allocations: 19.94 kB / 0.7045 GB, free: 8.551 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01639/1.379, allocations: 10.68 MB / 0.7149 GB, free: 13.63 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002319/1.381, allocations: 0.9874 MB / 0.7158 GB, free: 12.62 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007771/1.382, allocations: 99.92 kB / 0.7159 GB, free: 12.52 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002555/1.384, allocations: 279.8 kB / 0.7162 GB, free: 12.25 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006923/1.385, allocations: 339.2 kB / 0.7165 GB, free: 11.92 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002779/1.385, allocations: 144 kB / 0.7167 GB, free: 11.78 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.00336/1.389, allocations: 2.129 MB / 0.7187 GB, free: 9.645 MB / 0.5138 GB Notification: Performance of sort global known variables: time 9.007e-06/1.389, allocations: 0 / 0.7187 GB, free: 9.645 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.007827/1.397, allocations: 2.226 MB / 0.7209 GB, free: 7.414 MB / 0.5138 GB 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 (415): * Single equations (assignments): 411 * 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,91.7%), (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.001162/1.398, allocations: 300.9 kB / 0.7212 GB, free: 7.113 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01255/1.41, allocations: 7.456 MB / 0.7285 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.89e-05/1.411, allocations: 7.938 kB / 0.7285 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006805/1.417, allocations: 3.647 MB / 0.7321 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004788/1.422, allocations: 0.8073 MB / 0.7328 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2905/1.713, allocations: 15.71 MB / 0.7482 GB, free: 178.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0056/1.718, allocations: 5.751 MB / 0.7538 GB, free: 177.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00191/1.72, allocations: 361.7 kB / 0.7542 GB, free: 177.5 MB / 0.5294 GB Notification: Performance of SimCode: time 3.286e-06/1.72, allocations: 2 kB / 0.7542 GB, free: 177.5 MB / 0.5294 GB Notification: Performance of Templates: time 0.4916/2.212, allocations: 194.1 MB / 0.9438 GB, free: 166.8 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