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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 222.9 MB / 240.9 MB, free: 10.97 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 92.95 kB / 291.2 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009239/0.0009239, allocations: 43.94 kB / 350.1 MB, free: 36 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2521, allocations: 49.44 MB / 399.5 MB, free: 33.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01303/0.2652, allocations: 16.31 MB / 415.8 MB, free: 16.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008866/0.2741, allocations: 4.608 MB / 420.4 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002957/0.2771, allocations: 127.6 kB / 420.5 MB, free: 12.22 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01251/0.2896, allocations: 6.807 MB / 427.3 MB, free: 5.402 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005798/0.2954, allocations: 1.796 MB / 429.1 MB, free: 3.602 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00349/0.299, allocations: 1.45 MB / 430.6 MB, free: 2.156 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0111/0.3101, allocations: 9.629 MB / 440.2 MB, free: 8.488 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02803/0.3382, allocations: 17.63 MB / 457.9 MB, free: 6.719 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006781/0.345, allocations: 4.686 MB / 462.5 MB, free: 2.02 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008283/0.3533, allocations: 5.727 MB / 468.3 MB, free: 12.27 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003324/0.3566, allocations: 1.008 MB / 469.3 MB, free: 11.27 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004971/0.3616, allocations: 1.285 MB / 470.6 MB, free: 9.98 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004521/0.3662, allocations: 2.415 MB / 473 MB, free: 7.559 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01205/0.3783, allocations: 4.979 MB / 477.9 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02304/0.4013, allocations: 18 MB / 495.9 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.488e-06/0.4014, allocations: 4 kB / 496 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4014, allocations: 4 kB / 496 MB, free: 0.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0007092/0.4021, allocations: 0 / 496 MB, free: 0.5 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.03751/0.4397, allocations: 12.21 MB / 0.4963 GB, free: 4.203 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.4397, allocations: 12.03 kB / 0.4963 GB, free: 4.191 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4049/0.8446, allocations: 6.183 MB / 0.5023 GB, free: 83.63 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01424/0.8589, allocations: 5.638 MB / 0.5078 GB, free: 81.29 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008922/0.8598, allocations: 0.6759 MB / 0.5085 GB, free: 80.99 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004054/0.8639, allocations: 0.879 MB / 0.5093 GB, free: 80.7 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03502/0.8989, allocations: 14.75 MB / 0.5237 GB, free: 71.43 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003108/0.8992, allocations: 5.641 kB / 0.5237 GB, free: 71.42 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002292/0.9016, allocations: 379.3 kB / 0.5241 GB, free: 71.06 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003787/0.9019, allocations: 0.4953 MB / 0.5246 GB, free: 70.57 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.023/0.9249, allocations: 13.56 MB / 0.5378 GB, free: 56.98 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06681/0.9918, allocations: 44.61 MB / 0.5814 GB, free: 11.64 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0098/1.002, allocations: 11.7 MB / 0.5928 GB, free: 14.84 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004488/1.006, allocations: 3.233 MB / 0.596 GB, free: 11.61 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003609/1.007, allocations: 187.6 kB / 0.5962 GB, free: 11.42 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.942e-05/1.007, allocations: 82.56 kB / 0.5962 GB, free: 11.33 MB / 394.8 MB Notification: Performance of pre-optimization done (n=421): time 6.142e-06/1.007, allocations: 0 / 0.5962 GB, free: 11.33 MB / 394.8 MB Notification: Performance of matching and sorting (n=421): time 0.02044/1.027, allocations: 9.707 MB / 0.6057 GB, free: 1.574 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.967e-05/1.027, allocations: 121.1 kB / 0.6058 GB, free: 1.438 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005406/1.033, allocations: 3.156 MB / 0.6089 GB, free: 14.26 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007657/1.033, allocations: 93.7 kB / 0.609 GB, free: 14.16 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002525/1.036, allocations: 3.686 MB / 0.6126 GB, free: 10.45 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001659/1.038, allocations: 1.432 MB / 0.614 GB, free: 9.023 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001683/1.039, allocations: 1.14 MB / 0.6151 GB, free: 7.871 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001024/1.039, allocations: 305.1 kB / 0.6154 GB, free: 7.57 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004142/1.044, allocations: 2.904 MB / 0.6182 GB, free: 4.66 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005718/1.049, allocations: 4.981 MB / 0.6231 GB, free: 14.74 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01156/1.061, allocations: 8.408 MB / 0.6313 GB, free: 5.371 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.099e-05/1.061, allocations: 20 kB / 0.6313 GB, free: 5.352 MB / 426.8 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01881/1.08, allocations: 9.244 MB / 0.6404 GB, free: 12.05 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.888e-05/1.08, allocations: 32 kB / 0.6404 GB, free: 12.02 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001398/1.08, allocations: 68 kB / 0.6405 GB, free: 11.96 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003511/1.084, allocations: 1.116 MB / 0.6415 GB, free: 10.84 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004997/1.089, allocations: 1.299 MB / 0.6428 GB, free: 9.535 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01468/1.103, allocations: 9.91 MB / 0.6525 GB, free: 15.34 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00528/1.109, allocations: 0.7434 MB / 0.6532 GB, free: 14.59 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001343/1.11, allocations: 287.8 kB / 0.6535 GB, free: 14.31 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.01256/1.123, allocations: 3.424 MB / 0.6568 GB, free: 10.87 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002193/1.125, allocations: 355.5 kB / 0.6572 GB, free: 10.52 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02319/1.148, allocations: 7.046 MB / 0.6641 GB, free: 3.41 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2948/1.443, allocations: 5.871 MB / 0.6698 GB, free: 144.8 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.012e-05/1.443, allocations: 17.66 kB / 0.6698 GB, free: 144.8 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001075/1.443, allocations: 19.08 kB / 0.6698 GB, free: 144.8 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02744/1.471, allocations: 15.54 MB / 0.685 GB, free: 139.6 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-05/1.471, allocations: 15.72 kB / 0.685 GB, free: 139.6 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002694/1.473, allocations: 0.794 MB / 0.6858 GB, free: 139.5 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002755/1.476, allocations: 1.027 MB / 0.6868 GB, free: 139.3 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000301/1.476, allocations: 110.8 kB / 0.6869 GB, free: 139.3 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01242/1.489, allocations: 9.679 MB / 0.6963 GB, free: 133.8 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-05/1.489, allocations: 20.22 kB / 0.6964 GB, free: 133.8 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02322/1.512, allocations: 17.27 MB / 0.7132 GB, free: 121.6 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002308/1.515, allocations: 1.003 MB / 0.7142 GB, free: 120.6 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004064/1.515, allocations: 95.98 kB / 0.7143 GB, free: 120.5 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002102/1.517, allocations: 282.7 kB / 0.7146 GB, free: 120.2 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006759/1.518, allocations: 334.3 kB / 0.7149 GB, free: 119.9 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002364/1.518, allocations: 147.9 kB / 0.715 GB, free: 119.8 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.00254/1.521, allocations: 2.125 MB / 0.7171 GB, free: 117.6 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.6e-07/1.521, allocations: 0 / 0.7171 GB, free: 117.6 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.006401/1.527, allocations: 2.394 MB / 0.7194 GB, free: 115.2 MB / 458.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.0008363/1.528, allocations: 304.7 kB / 0.7197 GB, free: 114.9 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.01051/1.538, allocations: 7.578 MB / 0.7271 GB, free: 107.3 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.821e-05/1.538, allocations: 4 kB / 0.7271 GB, free: 107.3 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005616/1.544, allocations: 3.72 MB / 0.7308 GB, free: 103.6 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005359/1.549, allocations: 0.7636 MB / 0.7315 GB, free: 102.9 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03455/1.584, allocations: 22.51 MB / 0.7535 GB, free: 80.13 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007387/1.591, allocations: 6.051 MB / 0.7594 GB, free: 74.04 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.005741/1.597, allocations: 2.154 MB / 0.7615 GB, free: 71.88 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009961/1.598, allocations: 327.4 kB / 0.7618 GB, free: 71.56 MB / 458.8 MB Notification: Performance of SimCode: time 2.935e-06/1.598, allocations: 0 / 0.7618 GB, free: 71.56 MB / 458.8 MB Notification: Performance of Templates: time 0.1039/1.702, allocations: 61.35 MB / 0.8217 GB, free: 10.54 MB / 458.8 MB 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","../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