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.001406/0.001406, allocations: 109.1 kB / 17.74 MB, free: 5.188 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.001433/0.001433, allocations: 193.6 kB / 18.67 MB, free: 4.266 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.346/1.346, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001103/0.001103, allocations: 43.94 kB / 352 MB, free: 3.203 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2491, 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.01679/0.266, allocations: 16.6 MB / 418 MB, free: 8.152 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009775/0.2758, allocations: 4.63 MB / 422.7 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003002/0.2788, allocations: 135.6 kB / 422.8 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01714/0.296, allocations: 7.163 MB / 430 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00622/0.3022, allocations: 1.978 MB / 431.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004113/0.3064, allocations: 1.527 MB / 433.5 MB, free: 8.688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01279/0.3192, allocations: 9.411 MB / 442.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03195/0.3512, allocations: 20.84 MB / 463.7 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007662/0.3589, allocations: 5.257 MB / 469 MB, free: 4.984 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009244/0.3681, allocations: 5.864 MB / 474.8 MB, free: 15.1 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004047/0.3722, allocations: 1.355 MB / 476.2 MB, free: 13.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005386/0.3777, allocations: 1.648 MB / 477.8 MB, free: 12.1 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004492/0.3822, allocations: 2.794 MB / 480.6 MB, free: 9.297 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008816/0.391, allocations: 5.362 MB / 486 MB, free: 3.914 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01939/0.4104, allocations: 18.34 MB / 0.4925 GB, free: 1.523 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.4105, allocations: 0 / 0.4925 GB, free: 1.523 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4105, allocations: 0 / 0.4925 GB, free: 1.523 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004987/0.411, allocations: 0 / 0.4925 GB, free: 1.523 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.03877/0.4498, allocations: 12.13 MB / 0.5043 GB, free: 5.312 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/0.4499, allocations: 12.03 kB / 0.5044 GB, free: 5.301 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05714/0.507, allocations: 6.237 MB / 0.5105 GB, free: 15.05 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01787/0.525, allocations: 5.815 MB / 0.5161 GB, free: 9.168 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001036/0.5261, allocations: 0.6665 MB / 0.5168 GB, free: 8.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004619/0.5307, allocations: 0.8866 MB / 0.5176 GB, free: 7.613 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05074/0.5815, allocations: 14.71 MB / 0.532 GB, free: 8.852 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004989/0.582, allocations: 7.906 kB / 0.532 GB, free: 8.844 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003686/0.5857, allocations: 372 kB / 0.5324 GB, free: 8.48 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000847/0.5866, allocations: 0.4914 MB / 0.5329 GB, free: 7.984 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.515/1.102, allocations: 13.53 MB / 0.5461 GB, free: 115.8 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06711/1.169, allocations: 44.06 MB / 0.5891 GB, free: 82.58 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01027/1.179, allocations: 11.65 MB / 0.6005 GB, free: 69.85 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004334/1.183, allocations: 3.174 MB / 0.6036 GB, free: 66.68 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004436/1.184, allocations: 176 kB / 0.6037 GB, free: 66.5 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.449e-05/1.184, allocations: 74.56 kB / 0.6038 GB, free: 66.42 MB / 462.1 MB Notification: Performance of pre-optimization done (n=409): time 7.554e-06/1.184, allocations: 0 / 0.6038 GB, free: 66.42 MB / 462.1 MB Notification: Performance of matching and sorting (n=409): time 0.02081/1.205, allocations: 9.573 MB / 0.6132 GB, free: 56.82 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.979e-05/1.205, allocations: 125 kB / 0.6133 GB, free: 56.68 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005071/1.21, allocations: 3.156 MB / 0.6164 GB, free: 53.5 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006645/1.211, allocations: 93.7 kB / 0.6164 GB, free: 53.4 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001622/1.212, allocations: 3.698 MB / 0.6201 GB, free: 49.68 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001384/1.214, allocations: 1.384 MB / 0.6214 GB, free: 48.3 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002315/1.216, allocations: 1.124 MB / 0.6225 GB, free: 47.17 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.771e-05/1.216, allocations: 301.1 kB / 0.6228 GB, free: 46.87 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003797/1.22, allocations: 2.838 MB / 0.6256 GB, free: 44.03 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005099/1.225, allocations: 4.902 MB / 0.6303 GB, free: 38.18 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009123/1.234, allocations: 8.255 MB / 0.6384 GB, free: 29 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.967e-05/1.234, allocations: 21.09 kB / 0.6384 GB, free: 28.98 MB / 462.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01575/1.25, allocations: 9.107 MB / 0.6473 GB, free: 19.85 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.883e-05/1.25, allocations: 35.98 kB / 0.6474 GB, free: 19.82 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001093/1.25, allocations: 68 kB / 0.6474 GB, free: 19.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003311/1.254, allocations: 1.143 MB / 0.6485 GB, free: 18.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004721/1.258, allocations: 1.291 MB / 0.6498 GB, free: 17.31 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01325/1.272, allocations: 10.81 MB / 0.6604 GB, free: 6.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004594/1.276, allocations: 0.7395 MB / 0.6611 GB, free: 5.484 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001304/1.278, allocations: 276 kB / 0.6613 GB, free: 5.215 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.006785/1.284, allocations: 3.424 MB / 0.6647 GB, free: 1.777 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001184/1.286, allocations: 347.7 kB / 0.665 GB, free: 1.434 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01303/1.299, allocations: 6.912 MB / 0.6718 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01038/1.309, allocations: 5.737 MB / 0.6774 GB, free: 4.746 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.532e-05/1.309, allocations: 12 kB / 0.6774 GB, free: 4.734 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-05/1.309, allocations: 19.92 kB / 0.6774 GB, free: 4.715 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03052/1.34, allocations: 15.22 MB / 0.6923 GB, free: 5.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.87e-05/1.34, allocations: 15.94 kB / 0.6923 GB, free: 5.305 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003373/1.343, allocations: 0.7879 MB / 0.693 GB, free: 4.516 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003451/1.347, allocations: 1.072 MB / 0.6941 GB, free: 3.438 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007128/1.348, allocations: 104 kB / 0.6942 GB, free: 3.336 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01532/1.363, allocations: 10.57 MB / 0.7045 GB, free: 8.488 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.32e-05/1.363, allocations: 15.94 kB / 0.7045 GB, free: 8.473 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01888/1.382, allocations: 10.68 MB / 0.715 GB, free: 13.55 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002713/1.385, allocations: 0.9912 MB / 0.7159 GB, free: 12.53 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001193/1.386, allocations: 99.92 kB / 0.716 GB, free: 12.43 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002943/1.389, allocations: 275.8 kB / 0.7163 GB, free: 12.16 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009691/1.39, allocations: 339.2 kB / 0.7166 GB, free: 11.83 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005255/1.39, allocations: 140 kB / 0.7167 GB, free: 11.7 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.003837/1.394, allocations: 2.125 MB / 0.7188 GB, free: 9.566 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.81e-07/1.394, allocations: 0 / 0.7188 GB, free: 9.566 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.006844/1.401, allocations: 2.23 MB / 0.721 GB, free: 7.332 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.001059/1.402, allocations: 297 kB / 0.7213 GB, free: 7.039 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01342/1.415, allocations: 7.46 MB / 0.7286 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.907e-05/1.416, allocations: 0 / 0.7286 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.007308/1.423, allocations: 3.662 MB / 0.7321 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005882/1.429, allocations: 0.7954 MB / 0.7329 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2632/1.692, allocations: 15.71 MB / 0.7483 GB, free: 178.2 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006559/1.699, allocations: 5.757 MB / 0.7539 GB, free: 177.4 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00171/1.7, allocations: 365.4 kB / 0.7542 GB, free: 177.4 MB / 0.5294 GB Notification: Performance of SimCode: time 9.02e-07/1.7, allocations: 0 / 0.7542 GB, free: 177.4 MB / 0.5294 GB Notification: Performance of Templates: time 0.4595/2.16, allocations: 194.8 MB / 0.9445 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