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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 176.4 kB / 8.347 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 221.5 MB / 230.3 MB, free: 7.539 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009778/0.0009777, allocations: 95.59 kB / 281.2 MB, free: 5.281 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.109e-05/2.113e-05, allocations: 4 kB / 337.1 MB, free: 10.03 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09913/0.09917, allocations: 50.41 MB / 387.5 MB, free: 7.578 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3228/0.4221, allocations: 100 MB / 487.5 MB, free: 10.82 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003128/0.4224, allocations: 87.94 kB / 487.6 MB, free: 10.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.02/1.443, allocations: 307.6 MB / 0.7766 GB, free: 48.21 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.625e-06/1.443, allocations: 0 / 0.7766 GB, free: 48.21 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.00074/1.443, allocations: 196.6 kB / 0.7768 GB, free: 48.19 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.03736/1.481, allocations: 8.727 MB / 0.7853 GB, free: 45.73 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/1.481, allocations: 11.25 kB / 0.7853 GB, free: 45.73 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02374/1.505, allocations: 4.183 MB / 0.7894 GB, free: 45.25 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01637/1.521, allocations: 6.023 MB / 0.7953 GB, free: 44.21 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007251/1.522, allocations: 280.5 kB / 0.7955 GB, free: 44.21 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004659/1.527, allocations: 0.4914 MB / 0.796 GB, free: 44.2 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02732/1.554, allocations: 11.35 MB / 0.8071 GB, free: 41.68 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03507/1.589, allocations: 12.97 MB / 0.8198 GB, free: 31.12 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003673/1.589, allocations: 15.38 kB / 0.8198 GB, free: 31.11 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002693/1.592, allocations: 11.95 kB / 0.8198 GB, free: 31.09 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007345/1.593, allocations: 0.6825 MB / 0.8205 GB, free: 30.5 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07192/1.665, allocations: 43.47 MB / 0.8629 GB, free: 5.184 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3635/2.028, allocations: 11.66 MB / 0.8743 GB, free: 51.43 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005229/2.034, allocations: 3.187 MB / 0.8774 GB, free: 51.39 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004684/2.034, allocations: 174.9 kB / 0.8776 GB, free: 51.3 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.627e-05/2.034, allocations: 77.66 kB / 0.8777 GB, free: 51.25 MB / 442.7 MB Notification: Performance of pre-optimization done (n=421): time 6.512e-06/2.034, allocations: 0 / 0.8777 GB, free: 51.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=421): time 0.01541/2.05, allocations: 6.855 MB / 0.8843 GB, free: 51.09 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.276e-05/2.05, allocations: 123.9 kB / 0.8845 GB, free: 50.99 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005402/2.055, allocations: 2.607 MB / 0.887 GB, free: 50.79 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001086/2.056, allocations: 26.95 kB / 0.887 GB, free: 50.75 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00287/2.059, allocations: 3.673 MB / 0.8906 GB, free: 49.25 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002595/2.062, allocations: 1.382 MB / 0.892 GB, free: 48.34 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005508/2.062, allocations: 1.812 kB / 0.892 GB, free: 48.34 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004704/2.063, allocations: 0.548 MB / 0.8925 GB, free: 48.02 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004772/2.068, allocations: 2.877 MB / 0.8953 GB, free: 48 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005653/2.073, allocations: 4.876 MB / 0.9001 GB, free: 45.58 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008247/2.082, allocations: 4.965 MB / 0.9049 GB, free: 45.51 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.435e-05/2.082, allocations: 17.88 kB / 0.9049 GB, free: 45.51 MB / 442.7 MB Notification: Performance of matching and sorting (n=754) (initialization): time 0.01958/2.101, allocations: 9.689 MB / 0.9144 GB, free: 45.12 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.956e-05/2.101, allocations: 36.2 kB / 0.9144 GB, free: 45.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001275/2.102, allocations: 68.38 kB / 0.9145 GB, free: 45.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00314/2.105, allocations: 1.098 MB / 0.9156 GB, free: 45.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006246/2.111, allocations: 1.336 MB / 0.9169 GB, free: 45.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01278/2.124, allocations: 9.544 MB / 0.9262 GB, free: 42.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006184/2.13, allocations: 0.6562 MB / 0.9268 GB, free: 41.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001642/2.132, allocations: 278.8 kB / 0.9271 GB, free: 41.98 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 302 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (680): * Single equations (assignments): 670 * 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.001062/2.133, allocations: 284.5 kB / 0.9274 GB, free: 41.83 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00091/2.134, allocations: 353.8 kB / 0.9277 GB, free: 41.64 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01386/2.148, allocations: 7.848 MB / 0.9354 GB, free: 41.3 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01062/2.158, allocations: 6.706 MB / 0.9419 GB, free: 39.88 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-05/2.158, allocations: 15.16 kB / 0.9419 GB, free: 39.88 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.003e-05/2.158, allocations: 18.75 kB / 0.942 GB, free: 39.88 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02641/2.185, allocations: 15.32 MB / 0.9569 GB, free: 34.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.61e-05/2.185, allocations: 12.69 kB / 0.9569 GB, free: 34.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0032/2.188, allocations: 0.8317 MB / 0.9577 GB, free: 34.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002733/2.191, allocations: 1.006 MB / 0.9587 GB, free: 33.97 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004429/2.191, allocations: 43.81 kB / 0.9588 GB, free: 33.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0114/2.203, allocations: 9.332 MB / 0.9679 GB, free: 28.59 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.742e-05/2.203, allocations: 22.25 kB / 0.9679 GB, free: 28.59 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01882/2.222, allocations: 13.1 MB / 0.9807 GB, free: 20.03 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002759/2.224, allocations: 1.053 MB / 0.9817 GB, free: 19.06 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001002/2.225, allocations: 19.84 kB / 0.9817 GB, free: 19.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002947/2.228, allocations: 247.4 kB / 0.982 GB, free: 18.9 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006706/2.229, allocations: 345.1 kB / 0.9823 GB, free: 18.69 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002897/2.229, allocations: 146.1 kB / 0.9824 GB, free: 18.55 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003034/2.232, allocations: 1.905 MB / 0.9843 GB, free: 16.91 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.41e-07/2.232, allocations: 0 / 0.9843 GB, free: 16.91 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007741/2.24, allocations: 2.055 MB / 0.9863 GB, free: 14.86 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * 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 () * 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.001062/2.241, allocations: 250 kB / 0.9866 GB, free: 14.67 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01153/2.253, allocations: 7.405 MB / 0.9938 GB, free: 8.121 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.039e-05/2.253, allocations: 4 kB / 0.9938 GB, free: 8.117 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006318/2.259, allocations: 3.686 MB / 0.9974 GB, free: 4.848 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004354/2.264, allocations: 0.6051 MB / 0.998 GB, free: 4.379 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02649/2.29, allocations: 13.56 MB / 1.011 GB, free: 8.25 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007723/2.298, allocations: 6.074 MB / 1.017 GB, free: 3.605 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.006758/2.305, allocations: 2.259 MB / 1.019 GB, free: 2.156 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001182/2.306, allocations: 313 kB / 1.02 GB, free: 1.863 MB / 458.7 MB Notification: Performance of SimCode: time 1.012e-06/2.306, allocations: 0 / 1.02 GB, free: 1.863 MB / 458.7 MB Notification: Performance of Templates: time 0.4215/2.727, allocations: 54.66 MB / 1.073 GB, free: 78.23 MB / 474.7 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","../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