Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001365/0.001365, allocations: 110 kB / 18.25 MB, free: 4.898 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.001442/0.001443, allocations: 195.5 kB / 19.18 MB, free: 3.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.417/1.417, allocations: 205.1 MB / 225 MB, free: 12.3 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 59.92 kB / 281.3 MB, free: 3.145 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09888/0.1003, allocations: 46.63 MB / 328 MB, free: 4.449 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01881/0.1192, allocations: 16.53 MB / 344.5 MB, free: 3.828 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01094/0.1302, allocations: 4.646 MB / 349.1 MB, free: 15.17 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003726/0.1339, allocations: 115.6 kB / 349.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01714/0.1512, allocations: 7.165 MB / 356.4 MB, free: 7.859 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007727/0.1589, allocations: 1.873 MB / 358.3 MB, free: 5.977 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004939/0.1639, allocations: 1.621 MB / 359.9 MB, free: 4.352 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0127/0.1766, allocations: 9.334 MB / 369.2 MB, free: 10.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.221/0.3977, allocations: 20.92 MB / 390.2 MB, free: 12.65 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007231/0.405, allocations: 5.227 MB / 395.4 MB, free: 12.25 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009197/0.4142, allocations: 5.908 MB / 401.3 MB, free: 11.35 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004535/0.4188, allocations: 1.36 MB / 402.7 MB, free: 11.35 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005603/0.4244, allocations: 1.643 MB / 404.3 MB, free: 11.35 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004105/0.4285, allocations: 2.79 MB / 407.1 MB, free: 11.04 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007298/0.4359, allocations: 5.353 MB / 412.4 MB, free: 7.957 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01611/0.452, allocations: 18.08 MB / 430.5 MB, free: 9.504 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.829e-06/0.452, allocations: 4 kB / 430.5 MB, free: 9.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.4521, allocations: 0 / 430.5 MB, free: 9.5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0005672/0.4526, allocations: 3.938 kB / 430.5 MB, free: 9.496 MB / 334.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.03598/0.4886, allocations: 12.18 MB / 442.7 MB, free: 13.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.4887, allocations: 8.031 kB / 442.7 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03472/0.5234, allocations: 6.19 MB / 448.9 MB, free: 7.191 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01162/0.5351, allocations: 5.156 MB / 454.1 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006284/0.5357, allocations: 0.6736 MB / 454.8 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003423/0.5392, allocations: 0.8843 MB / 455.6 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03448/0.5736, allocations: 14.7 MB / 470.3 MB, free: 1.973 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002311/0.5739, allocations: 11.91 kB / 470.4 MB, free: 1.961 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001463/0.5754, allocations: 374.1 kB / 470.7 MB, free: 1.605 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004492/0.5759, allocations: 499.3 kB / 471.2 MB, free: 1.113 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02614/0.602, allocations: 13.52 MB / 484.7 MB, free: 3.574 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07462/0.6767, allocations: 44.6 MB / 0.5169 GB, free: 6.652 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01266/0.6893, allocations: 11.64 MB / 0.5283 GB, free: 9.922 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005178/0.6946, allocations: 3.155 MB / 0.5314 GB, free: 6.762 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003788/0.695, allocations: 176.8 kB / 0.5315 GB, free: 6.586 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.474e-05/0.6951, allocations: 82.5 kB / 0.5316 GB, free: 6.496 MB / 446.1 MB Notification: Performance of pre-optimization done (n=409): time 6.032e-06/0.6951, allocations: 0 / 0.5316 GB, free: 6.496 MB / 446.1 MB Notification: Performance of matching and sorting (n=409): time 0.2241/0.9192, allocations: 9.58 MB / 0.541 GB, free: 148.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.45e-05/0.9193, allocations: 122.5 kB / 0.5411 GB, free: 148.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005937/0.9253, allocations: 3.163 MB / 0.5442 GB, free: 148.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007356/0.926, allocations: 92.14 kB / 0.5443 GB, free: 148.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002861/0.9289, allocations: 3.693 MB / 0.5479 GB, free: 145.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001713/0.9306, allocations: 1.391 MB / 0.5492 GB, free: 144.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001911/0.9325, allocations: 1.127 MB / 0.5503 GB, free: 144.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.733e-05/0.9326, allocations: 303.6 kB / 0.5506 GB, free: 144 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004418/0.937, allocations: 2.837 MB / 0.5534 GB, free: 143 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005446/0.9425, allocations: 4.9 MB / 0.5582 GB, free: 139.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008681/0.9512, allocations: 8.259 MB / 0.5662 GB, free: 134.1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.412e-05/0.9513, allocations: 19.69 kB / 0.5663 GB, free: 134.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01433/0.9656, allocations: 9.103 MB / 0.5752 GB, free: 130.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.725e-05/0.9657, allocations: 31.41 kB / 0.5752 GB, free: 130.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001108/0.9658, allocations: 69.72 kB / 0.5752 GB, free: 130.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003118/0.969, allocations: 1.158 MB / 0.5764 GB, free: 130.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00466/0.9736, allocations: 1.289 MB / 0.5776 GB, free: 130.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01285/0.9865, allocations: 10.82 MB / 0.5882 GB, free: 122.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005016/0.9916, allocations: 0.7395 MB / 0.5889 GB, free: 122.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001032/0.9926, allocations: 275.6 kB / 0.5892 GB, free: 121.8 MB / 446.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.005836/0.9985, allocations: 3.43 MB / 0.5925 GB, free: 119 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008278/0.9993, allocations: 355.6 kB / 0.5929 GB, free: 118.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01033/1.01, allocations: 6.907 MB / 0.5996 GB, free: 112.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007409/1.017, allocations: 5.733 MB / 0.6052 GB, free: 106.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.621e-05/1.017, allocations: 12 kB / 0.6052 GB, free: 106.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.495e-05/1.017, allocations: 27.86 kB / 0.6053 GB, free: 106.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02176/1.039, allocations: 15.33 MB / 0.6202 GB, free: 91.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.125e-05/1.039, allocations: 12 kB / 0.6202 GB, free: 91.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002607/1.042, allocations: 0.8026 MB / 0.621 GB, free: 90.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002773/1.044, allocations: 1.072 MB / 0.6221 GB, free: 89.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002682/1.045, allocations: 112 kB / 0.6222 GB, free: 89.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01192/1.057, allocations: 10.57 MB / 0.6325 GB, free: 78.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.047e-06/1.057, allocations: 15.94 kB / 0.6325 GB, free: 78.49 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01364/1.07, allocations: 10.67 MB / 0.6429 GB, free: 67.58 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002191/1.073, allocations: 0.9913 MB / 0.6439 GB, free: 66.56 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005753/1.073, allocations: 97.19 kB / 0.644 GB, free: 66.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002178/1.075, allocations: 279.8 kB / 0.6443 GB, free: 66.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007253/1.076, allocations: 343.1 kB / 0.6446 GB, free: 65.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002441/1.076, allocations: 142 kB / 0.6447 GB, free: 65.72 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002957/1.079, allocations: 2.125 MB / 0.6468 GB, free: 63.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/1.079, allocations: 4 kB / 0.6468 GB, free: 63.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005792/1.085, allocations: 2.22 MB / 0.649 GB, free: 61.36 MB / 446.1 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 (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.0007163/1.086, allocations: 295.5 kB / 0.6493 GB, free: 61.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01882/1.105, allocations: 11.28 MB / 0.6603 GB, free: 49.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-05/1.105, allocations: 1 kB / 0.6603 GB, free: 49.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005868/1.111, allocations: 3.654 MB / 0.6639 GB, free: 46.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004337/1.115, allocations: 0.7993 MB / 0.6646 GB, free: 45.35 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0238/1.139, allocations: 15.89 MB / 0.6802 GB, free: 29.26 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005253/1.144, allocations: 5.765 MB / 0.6858 GB, free: 23.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001661/1.146, allocations: 363.4 kB / 0.6861 GB, free: 23.11 MB / 446.1 MB Notification: Performance of SimCode: time 1.142e-06/1.146, allocations: 0 / 0.6861 GB, free: 23.11 MB / 446.1 MB Notification: Performance of Templates: time 0.5849/1.731, allocations: 194.1 MB / 0.8757 GB, free: 139.5 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches