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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.001405/0.001405, allocations: 179.2 kB / 18.04 MB, free: 3.66 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.65/1.65, allocations: 205.4 MB / 224.2 MB, free: 8.922 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.0007935/0.0007935, allocations: 96.62 kB / 272.5 MB, free: 8.234 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003225/0.0003225, allocations: 8 kB / 329.5 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2072, allocations: 47.57 MB / 377 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1061/0.3134, allocations: 99.2 MB / 476.2 MB, free: 13.3 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/0.3136, allocations: 91.95 kB / 476.3 MB, free: 13.21 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8562/1.17, allocations: 304.1 MB / 0.7622 GB, free: 44.25 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.205e-06/1.17, allocations: 0 / 0.7622 GB, free: 44.25 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004399/1.17, allocations: 195.8 kB / 0.7624 GB, free: 44.05 MB / 426.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.02736/1.198, allocations: 8.955 MB / 0.7711 GB, free: 35.04 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/1.198, allocations: 8.031 kB / 0.7711 GB, free: 35.03 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02151/1.219, allocations: 4.221 MB / 0.7752 GB, free: 30.79 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01147/1.231, allocations: 5.888 MB / 0.781 GB, free: 24.84 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007725/1.232, allocations: 0.6459 MB / 0.7816 GB, free: 24.19 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003927/1.236, allocations: 0.8318 MB / 0.7824 GB, free: 23.36 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0339/1.27, allocations: 15.34 MB / 0.7974 GB, free: 7.734 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003157/1.27, allocations: 7.906 kB / 0.7974 GB, free: 7.727 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002374/1.272, allocations: 364 kB / 0.7978 GB, free: 7.371 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007013/1.273, allocations: 0.6075 MB / 0.7983 GB, free: 6.758 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4072/1.68, allocations: 13.56 MB / 0.8116 GB, free: 50.87 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06881/1.749, allocations: 44.94 MB / 0.8555 GB, free: 47.32 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01341/1.763, allocations: 12.25 MB / 0.8674 GB, free: 40.79 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009069/1.772, allocations: 7.173 MB / 0.8744 GB, free: 37.78 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006809/1.772, allocations: 274.8 kB / 0.8747 GB, free: 37.63 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.632e-05/1.772, allocations: 106.3 kB / 0.8748 GB, free: 37.54 MB / 426.8 MB Notification: Performance of pre-optimization done (n=817): time 1.057e-05/1.772, allocations: 0 / 0.8748 GB, free: 37.54 MB / 426.8 MB Notification: Performance of matching and sorting (n=817): time 0.06912/1.842, allocations: 28.18 MB / 0.9023 GB, free: 28.88 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001748/1.842, allocations: 149.4 kB / 0.9025 GB, free: 28.78 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003955/1.846, allocations: 1.966 MB / 0.9044 GB, free: 28.05 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001973/1.848, allocations: 131.3 kB / 0.9045 GB, free: 27.94 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001799/1.85, allocations: 2.77 MB / 0.9072 GB, free: 26.06 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.004419/1.854, allocations: 2.665 MB / 0.9098 GB, free: 23.98 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001761/1.856, allocations: 122.9 kB / 0.9099 GB, free: 23.88 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0008795/1.857, allocations: 0.5979 MB / 0.9105 GB, free: 23.45 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007478/1.864, allocations: 4.994 MB / 0.9154 GB, free: 20.29 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007801/1.872, allocations: 5.866 MB / 0.9211 GB, free: 15.07 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01457/1.887, allocations: 11.46 MB / 0.9323 GB, free: 4.73 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.037e-05/1.887, allocations: 4 kB / 0.9323 GB, free: 4.727 MB / 426.8 MB Notification: Performance of matching and sorting (n=922) (initialization): time 0.03038/1.917, allocations: 14.15 MB / 0.9461 GB, free: 8.449 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.225e-05/1.917, allocations: 12 kB / 0.9461 GB, free: 8.438 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.268e-05/1.917, allocations: 19.94 kB / 0.9462 GB, free: 8.418 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01179/1.929, allocations: 4.369 MB / 0.9504 GB, free: 4.883 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007191/1.936, allocations: 1.048 MB / 0.9515 GB, free: 4.094 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01568/1.952, allocations: 10.54 MB / 0.9618 GB, free: 10.65 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004887/1.957, allocations: 0.7044 MB / 0.9624 GB, free: 10.04 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001888/1.959, allocations: 258.8 kB / 0.9627 GB, free: 9.805 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (559): * Single equations (assignments): 484 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 71 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,12 72,6 9,12 95} Notification: Performance of prepare postOptimizeDAE: time 0.008853/1.968, allocations: 3.36 MB / 0.966 GB, free: 7.062 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002251/1.97, allocations: 387 kB / 0.9663 GB, free: 6.68 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2452/2.215, allocations: 15.39 MB / 0.9814 GB, free: 80.06 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01794/2.233, allocations: 13.23 MB / 0.9943 GB, free: 79.8 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-05/2.233, allocations: 3.438 kB / 0.9943 GB, free: 79.8 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.704e-05/2.233, allocations: 31.27 kB / 0.9943 GB, free: 79.8 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03759/2.271, allocations: 26.96 MB / 1.021 GB, free: 78.94 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.706e-05/2.271, allocations: 0 / 1.021 GB, free: 78.94 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00343/2.274, allocations: 0.9048 MB / 1.022 GB, free: 78.94 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007051/2.282, allocations: 4.344 MB / 1.026 GB, free: 78.88 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009071/2.282, allocations: 177 kB / 1.026 GB, free: 78.87 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01058/2.293, allocations: 10.51 MB / 1.036 GB, free: 74.88 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/2.293, allocations: 0 / 1.036 GB, free: 74.88 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03604/2.329, allocations: 21.77 MB / 1.057 GB, free: 65.68 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004796/2.334, allocations: 1.684 MB / 1.059 GB, free: 64.89 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002089/2.336, allocations: 110.6 kB / 1.059 GB, free: 64.81 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004046/2.34, allocations: 351.8 kB / 1.06 GB, free: 64.72 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002289/2.342, allocations: 0.5681 MB / 1.06 GB, free: 64.61 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001765/2.344, allocations: 218.9 kB / 1.06 GB, free: 64.55 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.002236/2.347, allocations: 1.348 MB / 1.062 GB, free: 64.04 MB / 458.8 MB Notification: Performance of sort global known variables: time 4.91e-07/2.347, allocations: 0 / 1.062 GB, free: 64.04 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.008685/2.355, allocations: 2.236 MB / 1.064 GB, free: 63.61 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (converter_m.port_p.reference.gamma,loss_e.conductor[1].pin_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 (488): * Single equations (assignments): 413 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 71 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,11 73,6 9,12 95} Notification: Performance of Backend phase and start with SimCode phase: time 0.001576/2.357, allocations: 337.5 kB / 1.064 GB, free: 63.43 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.021/2.378, allocations: 12.28 MB / 1.076 GB, free: 55.53 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/2.378, allocations: 0 / 1.076 GB, free: 55.53 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01333/2.391, allocations: 6.527 MB / 1.083 GB, free: 50 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008078/2.399, allocations: 0.7607 MB / 1.083 GB, free: 49.39 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04137/2.441, allocations: 22.84 MB / 1.106 GB, free: 28.96 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01116/2.452, allocations: 6.07 MB / 1.111 GB, free: 24.18 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.005894/2.458, allocations: 1.54 MB / 1.113 GB, free: 23.12 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001768/2.46, allocations: 286.7 kB / 1.113 GB, free: 22.86 MB / 458.8 MB Notification: Performance of SimCode: time 1.212e-06/2.46, allocations: 4 kB / 1.113 GB, free: 22.85 MB / 458.8 MB Notification: Performance of Templates: time 0.4322/2.892, allocations: 112.3 MB / 1.223 GB, free: 60.38 MB / 458.8 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","../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