Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001255/0.001255, allocations: 173.5 kB / 16.72 MB, free: 4.961 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.514/1.514, allocations: 205.4 MB / 222.9 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008172/0.0008174, allocations: 100.2 kB / 271.2 MB, free: 8.23 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004619/0.0004622, allocations: 8 kB / 327.5 MB, free: 15.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3389, allocations: 47.58 MB / 375.1 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01311/0.3521, allocations: 14.31 MB / 389.4 MB, free: 34.15 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01113/0.3633, allocations: 4.282 MB / 393.7 MB, free: 30.06 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003211/0.3665, allocations: 103.7 kB / 393.8 MB, free: 29.96 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003047/0.3696, allocations: 0.8429 MB / 394.6 MB, free: 29.11 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006016/0.3756, allocations: 1.598 MB / 396.2 MB, free: 27.51 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003751/0.3794, allocations: 1.285 MB / 397.5 MB, free: 26.23 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01222/0.3916, allocations: 12.13 MB / 409.7 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02979/0.4215, allocations: 20.59 MB / 430.2 MB, free: 9.34 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00665/0.4282, allocations: 3.953 MB / 434.2 MB, free: 5.375 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007458/0.4357, allocations: 4.34 MB / 438.5 MB, free: 1.02 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002551/0.4383, allocations: 0.5625 MB / 439.1 MB, free: 468 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004554/0.4429, allocations: 0.8434 MB / 439.9 MB, free: 15.61 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002807/0.4457, allocations: 1.756 MB / 441.7 MB, free: 13.85 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008987/0.4547, allocations: 4.089 MB / 445.8 MB, free: 9.734 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01847/0.4732, allocations: 15.23 MB / 461 MB, free: 10.46 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.238e-06/0.4733, allocations: 0 / 461 MB, free: 10.46 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.246e-06/0.4733, allocations: 0 / 461 MB, free: 10.46 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0006472/0.474, allocations: 0 / 461 MB, free: 10.46 MB / 346.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.02974/0.5037, allocations: 10.28 MB / 471.3 MB, free: 100 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.5038, allocations: 12.03 kB / 471.3 MB, free: 88 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03266/0.5365, allocations: 6.209 MB / 477.5 MB, free: 9.859 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01334/0.5498, allocations: 5.187 MB / 482.7 MB, free: 4.609 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008985/0.5508, allocations: 0.6743 MB / 483.4 MB, free: 3.934 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003964/0.5548, allocations: 0.8827 MB / 484.3 MB, free: 3.051 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04096/0.5958, allocations: 14.67 MB / 498.9 MB, free: 4.332 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004082/0.5962, allocations: 7.906 kB / 498.9 MB, free: 4.324 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003995/0.6002, allocations: 375.9 kB / 499.3 MB, free: 3.957 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006323/0.6009, allocations: 0.4915 MB / 499.8 MB, free: 3.461 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3761/0.977, allocations: 13.48 MB / 0.5013 GB, free: 92.56 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06387/1.041, allocations: 44.72 MB / 0.5449 GB, free: 53.73 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009346/1.05, allocations: 11.69 MB / 0.5563 GB, free: 40.95 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004464/1.055, allocations: 3.214 MB / 0.5595 GB, free: 37.73 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003849/1.055, allocations: 179.5 kB / 0.5596 GB, free: 37.55 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.772e-05/1.055, allocations: 78.5 kB / 0.5597 GB, free: 37.47 MB / 378.8 MB Notification: Performance of pre-optimization done (n=421): time 6.392e-06/1.055, allocations: 4 kB / 0.5597 GB, free: 37.46 MB / 378.8 MB Notification: Performance of matching and sorting (n=421): time 0.01786/1.073, allocations: 9.72 MB / 0.5692 GB, free: 27.7 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.591e-05/1.073, allocations: 121.1 kB / 0.5693 GB, free: 27.57 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004085/1.077, allocations: 3.128 MB / 0.5724 GB, free: 24.42 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005445/1.078, allocations: 93.69 kB / 0.5725 GB, free: 24.32 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001597/1.08, allocations: 3.682 MB / 0.5761 GB, free: 20.61 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001154/1.081, allocations: 1.431 MB / 0.5775 GB, free: 19.2 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002867/1.081, allocations: 116 kB / 0.5776 GB, free: 19.08 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 0.0002284/1.081, allocations: 0.5498 MB / 0.5781 GB, free: 18.52 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003795/1.085, allocations: 2.881 MB / 0.5809 GB, free: 15.64 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004942/1.09, allocations: 4.955 MB / 0.5858 GB, free: 9.738 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008677/1.099, allocations: 8.373 MB / 0.5939 GB, free: 416 kB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.449e-05/1.099, allocations: 20 kB / 0.594 GB, free: 396 kB / 378.8 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01586/1.115, allocations: 9.191 MB / 0.6029 GB, free: 7.145 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.086e-05/1.115, allocations: 38.03 kB / 0.603 GB, free: 7.109 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001177/1.115, allocations: 67.98 kB / 0.603 GB, free: 7.043 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003066/1.118, allocations: 1.131 MB / 0.6041 GB, free: 5.906 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004721/1.123, allocations: 1.291 MB / 0.6054 GB, free: 4.613 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01359/1.136, allocations: 9.915 MB / 0.6151 GB, free: 10.43 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004116/1.141, allocations: 0.7395 MB / 0.6158 GB, free: 9.68 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006455/1.141, allocations: 276 kB / 0.6161 GB, free: 9.41 MB / 410.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,100.0%) 24,(5,80.0%) 33} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006103/1.147, allocations: 3.427 MB / 0.6194 GB, free: 5.969 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008198/1.148, allocations: 355.6 kB / 0.6198 GB, free: 5.617 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01209/1.16, allocations: 7.011 MB / 0.6266 GB, free: 14.54 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009701/1.17, allocations: 5.847 MB / 0.6323 GB, free: 8.648 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.839e-05/1.17, allocations: 12 kB / 0.6323 GB, free: 8.637 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.6e-05/1.17, allocations: 23.91 kB / 0.6323 GB, free: 8.613 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02727/1.197, allocations: 15.52 MB / 0.6475 GB, free: 8.938 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.019e-05/1.197, allocations: 12 kB / 0.6475 GB, free: 8.926 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002944/1.2, allocations: 0.7917 MB / 0.6483 GB, free: 8.133 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00292/1.203, allocations: 1.021 MB / 0.6493 GB, free: 7.105 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004605/1.204, allocations: 112 kB / 0.6494 GB, free: 6.996 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2709/1.475, allocations: 9.655 MB / 0.6588 GB, free: 141.6 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.167e-05/1.475, allocations: 23.22 kB / 0.6588 GB, free: 141.6 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01685/1.492, allocations: 10.88 MB / 0.6695 GB, free: 138 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002546/1.494, allocations: 1.006 MB / 0.6704 GB, free: 137.6 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004654/1.495, allocations: 99.81 kB / 0.6705 GB, free: 137.6 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001967/1.497, allocations: 279.3 kB / 0.6708 GB, free: 137.5 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000825/1.498, allocations: 347.1 kB / 0.6711 GB, free: 137.4 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003098/1.498, allocations: 143.9 kB / 0.6713 GB, free: 137.4 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.003295/1.501, allocations: 2.096 MB / 0.6733 GB, free: 136.7 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.3e-07/1.501, allocations: 0.875 kB / 0.6733 GB, free: 136.7 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.00588/1.507, allocations: 2.231 MB / 0.6755 GB, free: 136 MB / 442.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,100.0%) 24,(5,80.0%) 33} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000611/1.508, allocations: 301.3 kB / 0.6758 GB, free: 135.8 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.01142/1.519, allocations: 7.536 MB / 0.6832 GB, free: 133 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.728e-05/1.519, allocations: 7.75 kB / 0.6832 GB, free: 133 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005812/1.525, allocations: 3.705 MB / 0.6868 GB, free: 131.4 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01016/1.535, allocations: 0.7701 MB / 0.6875 GB, free: 130.8 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03121/1.566, allocations: 18.95 MB / 0.706 GB, free: 113.4 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005306/1.572, allocations: 5.764 MB / 0.7117 GB, free: 108.8 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001898/1.574, allocations: 364.1 kB / 0.712 GB, free: 108.5 MB / 442.8 MB Notification: Performance of SimCode: time 1.213e-06/1.574, allocations: 0 / 0.712 GB, free: 108.5 MB / 442.8 MB Notification: Performance of Templates: time 0.3988/1.973, allocations: 193.7 MB / 0.9012 GB, free: 92.1 MB / 458.8 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches