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.001083/0.001083, allocations: 111.5 kB / 17.69 MB, free: 5.438 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.001021/0.001021, allocations: 192 kB / 18.63 MB, free: 4.508 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.289/1.289, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 47.17 kB / 302.1 MB, free: 5.152 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08284/0.08401, allocations: 49.45 MB / 351.5 MB, free: 3.68 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01599/0.1, allocations: 16.59 MB / 368.1 MB, free: 3 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.157/0.257, allocations: 4.623 MB / 372.7 MB, free: 9.695 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002725/0.2598, allocations: 135.8 kB / 372.9 MB, free: 9.695 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01422/0.274, allocations: 7.166 MB / 380 MB, free: 9.477 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005849/0.2799, allocations: 1.982 MB / 382 MB, free: 9.199 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003768/0.2836, allocations: 1.519 MB / 383.5 MB, free: 8.805 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01038/0.294, allocations: 9.413 MB / 393 MB, free: 4.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0274/0.3215, allocations: 20.84 MB / 413.8 MB, free: 4.043 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007641/0.3291, allocations: 5.235 MB / 419 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008232/0.3374, allocations: 5.873 MB / 424.9 MB, free: 9.219 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002623/0.34, allocations: 1.359 MB / 426.3 MB, free: 7.859 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004223/0.3443, allocations: 1.638 MB / 427.9 MB, free: 6.227 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00298/0.3473, allocations: 2.793 MB / 430.7 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007961/0.3552, allocations: 5.355 MB / 436 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01683/0.3721, allocations: 18.35 MB / 454.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.3721, allocations: 3.984 kB / 454.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3721, allocations: 0 / 454.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004615/0.3726, allocations: 0 / 454.4 MB, free: 12.12 MB / 366.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.03152/0.4041, allocations: 12.12 MB / 466.5 MB, free: 4 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.4042, allocations: 8.078 kB / 466.5 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03414/0.4383, allocations: 6.242 MB / 472.8 MB, free: 9.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01353/0.4519, allocations: 5.824 MB / 478.6 MB, free: 3.969 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005432/0.4525, allocations: 0.6751 MB / 479.3 MB, free: 3.301 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002832/0.4553, allocations: 0.8679 MB / 480.1 MB, free: 2.441 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02965/0.485, allocations: 14.71 MB / 494.9 MB, free: 3.703 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002621/0.4853, allocations: 11.84 kB / 494.9 MB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001651/0.487, allocations: 375.7 kB / 495.2 MB, free: 3.336 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004408/0.4874, allocations: 499.3 kB / 495.7 MB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02435/0.5118, allocations: 13.52 MB / 0.4973 GB, free: 5.297 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3686/0.8804, allocations: 44.07 MB / 0.5403 GB, free: 118 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01111/0.8915, allocations: 11.65 MB / 0.5517 GB, free: 111.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003878/0.8954, allocations: 3.165 MB / 0.5548 GB, free: 111.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003246/0.8958, allocations: 182.7 kB / 0.555 GB, free: 111.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.659e-05/0.8958, allocations: 79.19 kB / 0.5551 GB, free: 111.1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=409): time 6.082e-06/0.8958, allocations: 0 / 0.5551 GB, free: 111.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=409): time 0.01775/0.9136, allocations: 9.569 MB / 0.5644 GB, free: 110.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.239e-05/0.9137, allocations: 124.1 kB / 0.5645 GB, free: 110.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003662/0.9174, allocations: 3.16 MB / 0.5676 GB, free: 109.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003509/0.9177, allocations: 88.86 kB / 0.5677 GB, free: 109 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001517/0.9192, allocations: 3.692 MB / 0.5713 GB, free: 106.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008425/0.9201, allocations: 1.395 MB / 0.5727 GB, free: 105.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001324/0.9214, allocations: 1.135 MB / 0.5738 GB, free: 104.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.373e-05/0.9215, allocations: 301.1 kB / 0.5741 GB, free: 104.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003195/0.9247, allocations: 2.833 MB / 0.5768 GB, free: 103.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003955/0.9286, allocations: 4.9 MB / 0.5816 GB, free: 99.65 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007528/0.9362, allocations: 8.255 MB / 0.5897 GB, free: 94.14 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.085e-05/0.9362, allocations: 17.84 kB / 0.5897 GB, free: 94.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01256/0.9488, allocations: 9.108 MB / 0.5986 GB, free: 89.36 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.616e-05/0.9489, allocations: 35.75 kB / 0.5986 GB, free: 89.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-05/0.949, allocations: 66.72 kB / 0.5987 GB, free: 89.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002893/0.9519, allocations: 1.142 MB / 0.5998 GB, free: 88.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004078/0.956, allocations: 1.294 MB / 0.6011 GB, free: 87.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01142/0.9674, allocations: 10.8 MB / 0.6116 GB, free: 76.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004589/0.972, allocations: 0.7318 MB / 0.6123 GB, free: 75.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008352/0.9729, allocations: 280 kB / 0.6126 GB, free: 75.25 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.00431/0.9772, allocations: 3.428 MB / 0.6159 GB, free: 71.81 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006434/0.9778, allocations: 347.6 kB / 0.6163 GB, free: 71.47 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01008/0.9879, allocations: 6.901 MB / 0.623 GB, free: 64.54 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007451/0.9954, allocations: 5.741 MB / 0.6286 GB, free: 58.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.878e-05/0.9954, allocations: 11.94 kB / 0.6286 GB, free: 58.78 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.443e-05/0.9955, allocations: 23.92 kB / 0.6286 GB, free: 58.76 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02328/1.019, allocations: 15.22 MB / 0.6435 GB, free: 43.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.895e-05/1.019, allocations: 12.94 kB / 0.6435 GB, free: 43.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002707/1.022, allocations: 0.7917 MB / 0.6443 GB, free: 42.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00279/1.024, allocations: 1.071 MB / 0.6453 GB, free: 41.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003207/1.025, allocations: 104 kB / 0.6454 GB, free: 41.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01119/1.036, allocations: 10.56 MB / 0.6557 GB, free: 30.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/1.036, allocations: 23.94 kB / 0.6558 GB, free: 30.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01241/1.048, allocations: 10.69 MB / 0.6662 GB, free: 19.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002243/1.051, allocations: 0.9874 MB / 0.6672 GB, free: 18.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005626/1.051, allocations: 106.4 kB / 0.6673 GB, free: 18.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002066/1.053, allocations: 271.7 kB / 0.6675 GB, free: 18.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005613/1.054, allocations: 347.2 kB / 0.6679 GB, free: 17.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002423/1.054, allocations: 136 kB / 0.668 GB, free: 17.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002317/1.056, allocations: 2.121 MB / 0.6701 GB, free: 15.65 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/1.056, allocations: 0 / 0.6701 GB, free: 15.65 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005112/1.061, allocations: 2.228 MB / 0.6722 GB, free: 13.41 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.0006067/1.062, allocations: 293.1 kB / 0.6725 GB, free: 13.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009642/1.072, allocations: 7.458 MB / 0.6798 GB, free: 5.656 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.487e-05/1.072, allocations: 4 kB / 0.6798 GB, free: 5.652 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005069/1.077, allocations: 3.652 MB / 0.6834 GB, free: 1.984 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003685/1.081, allocations: 0.8069 MB / 0.6842 GB, free: 1.195 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02806/1.109, allocations: 15.96 MB / 0.6998 GB, free: 1.039 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1641/1.273, allocations: 5.926 MB / 0.7055 GB, free: 134 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.006024/1.279, allocations: 2.159 MB / 0.7076 GB, free: 133.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001293/1.28, allocations: 321 kB / 0.708 GB, free: 133.9 MB / 462.1 MB Notification: Performance of SimCode: time 9.82e-07/1.28, allocations: 0 / 0.708 GB, free: 133.9 MB / 462.1 MB Notification: Performance of Templates: time 0.08651/1.367, allocations: 56.35 MB / 0.763 GB, free: 103.4 MB / 462.1 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 -s gbode -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