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.001023/0.001023, allocations: 92.75 kB / 16.65 MB, free: 6.59 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.001171/0.001171, allocations: 184.2 kB / 17.57 MB, free: 6.199 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.326/1.326, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003185/0.0003184, allocations: 8 kB / 301.4 MB, free: 5.875 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1046, allocations: 50.41 MB / 351.8 MB, free: 3.457 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01543/0.12, allocations: 15.46 MB / 367.3 MB, free: 3.922 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2174/0.3375, allocations: 4.549 MB / 371.9 MB, free: 8.871 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003094/0.3406, allocations: 124 kB / 372 MB, free: 8.871 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003876/0.3445, allocations: 1.161 MB / 373.1 MB, free: 8.871 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00631/0.3508, allocations: 1.796 MB / 374.9 MB, free: 8.801 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003462/0.3543, allocations: 1.419 MB / 376.4 MB, free: 8.754 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01255/0.3669, allocations: 9.495 MB / 385.8 MB, free: 6.695 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03467/0.4016, allocations: 20.99 MB / 406.8 MB, free: 9.562 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007041/0.4087, allocations: 3.757 MB / 410.6 MB, free: 5.895 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007609/0.4163, allocations: 4.551 MB / 415.1 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00192/0.4183, allocations: 0.5663 MB / 415.7 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005107/0.4234, allocations: 0.836 MB / 416.6 MB, free: 124 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002677/0.4261, allocations: 1.804 MB / 418.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008619/0.4347, allocations: 4.266 MB / 422.6 MB, free: 10.11 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01816/0.4529, allocations: 17.25 MB / 439.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.453, allocations: 4 kB / 439.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.453, allocations: 0 / 439.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0004744/0.4535, allocations: 0 / 439.9 MB, free: 9.176 MB / 350.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.02935/0.4828, allocations: 10.27 MB / 450.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.4829, allocations: 12.03 kB / 450.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0414/0.5243, allocations: 6.209 MB / 456.4 MB, free: 8.734 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01873/0.5431, allocations: 5.669 MB / 462 MB, free: 3.035 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001243/0.5444, allocations: 0.6725 MB / 462.7 MB, free: 2.371 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004713/0.5491, allocations: 0.8874 MB / 463.6 MB, free: 1.492 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05363/0.6028, allocations: 14.74 MB / 478.3 MB, free: 2.727 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004859/0.6033, allocations: 11.89 kB / 478.4 MB, free: 2.715 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003248/0.6066, allocations: 373.5 kB / 478.7 MB, free: 2.359 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005991/0.6072, allocations: 0.4915 MB / 479.2 MB, free: 1.863 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03024/0.6375, allocations: 13.56 MB / 492.8 MB, free: 4.277 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08552/0.7231, allocations: 44.73 MB / 0.5249 GB, free: 6.727 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3972/1.12, allocations: 11.7 MB / 0.5363 GB, free: 128.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005694/1.126, allocations: 3.229 MB / 0.5395 GB, free: 127.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003949/1.126, allocations: 177.2 kB / 0.5396 GB, free: 127.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.348e-05/1.126, allocations: 78.48 kB / 0.5397 GB, free: 127.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=421): time 8.957e-06/1.127, allocations: 3.969 kB / 0.5397 GB, free: 127.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=421): time 0.0215/1.148, allocations: 9.763 MB / 0.5493 GB, free: 124.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.122e-05/1.148, allocations: 123.2 kB / 0.5494 GB, free: 124.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004584/1.153, allocations: 3.154 MB / 0.5525 GB, free: 123.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004919/1.153, allocations: 97.23 kB / 0.5526 GB, free: 123.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001601/1.155, allocations: 3.684 MB / 0.5562 GB, free: 120.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001062/1.156, allocations: 1.43 MB / 0.5575 GB, free: 119.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005355/1.156, allocations: 465.1 kB / 0.558 GB, free: 119.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.42e-05/1.156, allocations: 308.9 kB / 0.5583 GB, free: 119 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003522/1.16, allocations: 2.904 MB / 0.5611 GB, free: 118 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004392/1.164, allocations: 4.975 MB / 0.566 GB, free: 114.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00813/1.173, allocations: 8.404 MB / 0.5742 GB, free: 108.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.627e-05/1.173, allocations: 19.59 kB / 0.5742 GB, free: 108.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01281/1.185, allocations: 9.24 MB / 0.5832 GB, free: 105 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.676e-05/1.186, allocations: 36.03 kB / 0.5833 GB, free: 105 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001113/1.186, allocations: 68 kB / 0.5833 GB, free: 104.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002858/1.189, allocations: 1.115 MB / 0.5844 GB, free: 104.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00439/1.193, allocations: 1.289 MB / 0.5857 GB, free: 103 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01141/1.204, allocations: 9.937 MB / 0.5954 GB, free: 92.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004543/1.209, allocations: 0.7412 MB / 0.5961 GB, free: 92.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008539/1.21, allocations: 276 kB / 0.5964 GB, free: 91.93 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 (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.005224/1.215, allocations: 3.427 MB / 0.5997 GB, free: 88.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006379/1.216, allocations: 343.7 kB / 0.6 GB, free: 88.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01023/1.226, allocations: 7.05 MB / 0.6069 GB, free: 81.03 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007718/1.234, allocations: 5.87 MB / 0.6127 GB, free: 75.11 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.252e-05/1.234, allocations: 16.44 kB / 0.6127 GB, free: 75.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-05/1.234, allocations: 23.92 kB / 0.6127 GB, free: 75.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02264/1.256, allocations: 15.55 MB / 0.6279 GB, free: 59.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.349e-05/1.257, allocations: 12 kB / 0.6279 GB, free: 59.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002867/1.259, allocations: 0.7891 MB / 0.6287 GB, free: 58.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002775/1.262, allocations: 1.032 MB / 0.6297 GB, free: 57.54 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004643/1.263, allocations: 119.9 kB / 0.6298 GB, free: 57.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01119/1.274, allocations: 9.686 MB / 0.6392 GB, free: 47.47 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.189e-05/1.274, allocations: 19.94 kB / 0.6393 GB, free: 47.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01506/1.289, allocations: 10.93 MB / 0.6499 GB, free: 36.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002718/1.292, allocations: 1.007 MB / 0.6509 GB, free: 35.26 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006507/1.292, allocations: 92 kB / 0.651 GB, free: 35.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002216/1.295, allocations: 287.7 kB / 0.6513 GB, free: 34.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006651/1.295, allocations: 343.2 kB / 0.6516 GB, free: 34.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002377/1.296, allocations: 140 kB / 0.6517 GB, free: 34.42 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002733/1.298, allocations: 2.129 MB / 0.6538 GB, free: 32.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/1.298, allocations: 0 / 0.6538 GB, free: 32.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005915/1.304, allocations: 2.228 MB / 0.656 GB, free: 30.05 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 (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.0007256/1.305, allocations: 307.8 kB / 0.6563 GB, free: 29.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01164/1.317, allocations: 7.581 MB / 0.6637 GB, free: 22.15 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.567e-05/1.317, allocations: 5.938 kB / 0.6637 GB, free: 22.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005675/1.322, allocations: 3.728 MB / 0.6673 GB, free: 18.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008727/1.331, allocations: 0.7682 MB / 0.6681 GB, free: 17.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02805/1.359, allocations: 20.01 MB / 0.6876 GB, free: 13.42 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007674/1.367, allocations: 5.938 MB / 0.6934 GB, free: 7.445 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.006229/1.373, allocations: 2.154 MB / 0.6955 GB, free: 5.285 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001046/1.374, allocations: 323.4 kB / 0.6958 GB, free: 4.969 MB / 462.1 MB Notification: Performance of SimCode: time 1.303e-06/1.374, allocations: 0 / 0.6958 GB, free: 4.969 MB / 462.1 MB Notification: Performance of Templates: time 0.3173/1.692, allocations: 58.5 MB / 0.753 GB, free: 109.9 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 -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins/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