Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001047/0.001047, allocations: 195.8 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 225.6 MB / 234.8 MB, free: 3.289 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008585/0.0008585, allocations: 95.16 kB / 286.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.395e-05/1.398e-05, allocations: 4 kB / 343.7 MB, free: 8.293 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09814/0.09817, allocations: 51.48 MB / 395.2 MB, free: 4.777 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3464/0.4446, allocations: 100.9 MB / 496.1 MB, free: 8.484 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/0.4449, allocations: 84.27 kB / 496.1 MB, free: 8.438 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.108/1.553, allocations: 324.8 MB / 0.8017 GB, free: 59.91 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.216e-06/1.553, allocations: 1.406 kB / 0.8017 GB, free: 59.91 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0006275/1.554, allocations: 192.9 kB / 0.8019 GB, free: 59.89 MB / 458.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.03778/1.591, allocations: 8.768 MB / 0.8104 GB, free: 57.43 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/1.592, allocations: 11.09 kB / 0.8104 GB, free: 57.43 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0246/1.616, allocations: 4.183 MB / 0.8145 GB, free: 56.96 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01625/1.632, allocations: 6.023 MB / 0.8204 GB, free: 55.93 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006174/1.633, allocations: 281.6 kB / 0.8207 GB, free: 55.93 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003569/1.637, allocations: 498.4 kB / 0.8211 GB, free: 55.93 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02583/1.663, allocations: 11.35 MB / 0.8322 GB, free: 55.89 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04158/1.704, allocations: 12.98 MB / 0.8449 GB, free: 52.65 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000482/1.705, allocations: 10.61 kB / 0.8449 GB, free: 52.65 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003586/1.708, allocations: 7.844 kB / 0.8449 GB, free: 52.65 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009292/1.709, allocations: 0.6835 MB / 0.8456 GB, free: 52.48 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08002/1.789, allocations: 43.97 MB / 0.8885 GB, free: 22.54 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0119/1.801, allocations: 11.67 MB / 0.8999 GB, free: 10.71 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005499/1.807, allocations: 3.183 MB / 0.903 GB, free: 7.891 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005822/1.807, allocations: 259.6 kB / 0.9033 GB, free: 7.629 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.067e-05/1.807, allocations: 78.22 kB / 0.9033 GB, free: 7.547 MB / 458.7 MB Notification: Performance of pre-optimization done (n=421): time 6.161e-06/1.807, allocations: 4 kB / 0.9033 GB, free: 7.543 MB / 458.7 MB Notification: Performance of matching and sorting (n=421): time 0.01691/1.824, allocations: 7.353 MB / 0.9105 GB, free: 1.625 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.645e-05/1.824, allocations: 121.1 kB / 0.9106 GB, free: 1.488 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3309/2.155, allocations: 2.631 MB / 0.9132 GB, free: 58.32 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001232/2.157, allocations: 31.97 kB / 0.9132 GB, free: 58.29 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002762/2.159, allocations: 3.677 MB / 0.9168 GB, free: 56.97 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002214/2.162, allocations: 1.368 MB / 0.9182 GB, free: 56.07 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005335/2.162, allocations: 2.844 kB / 0.9182 GB, free: 56.07 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000352/2.163, allocations: 0.5439 MB / 0.9187 GB, free: 55.75 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003705/2.166, allocations: 2.879 MB / 0.9215 GB, free: 55.74 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004853/2.171, allocations: 4.876 MB / 0.9263 GB, free: 53.31 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01182/2.183, allocations: 5.491 MB / 0.9316 GB, free: 53.25 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001371/2.183, allocations: 19.12 kB / 0.9317 GB, free: 53.25 MB / 458.7 MB Notification: Performance of matching and sorting (n=754) (initialization): time 0.02465/2.208, allocations: 10.22 MB / 0.9416 GB, free: 52.88 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.554e-05/2.208, allocations: 34.47 kB / 0.9417 GB, free: 52.88 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00015/2.208, allocations: 63.38 kB / 0.9417 GB, free: 52.88 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003053/2.211, allocations: 1.093 MB / 0.9428 GB, free: 52.86 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006707/2.218, allocations: 1.334 MB / 0.9441 GB, free: 52.86 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01457/2.233, allocations: 9.531 MB / 0.9534 GB, free: 50.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00602/2.239, allocations: 0.657 MB / 0.9541 GB, free: 49.78 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001481/2.24, allocations: 282.4 kB / 0.9543 GB, free: 49.78 MB / 458.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.001157/2.241, allocations: 286.4 kB / 0.9546 GB, free: 49.63 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009609/2.242, allocations: 344.7 kB / 0.9549 GB, free: 49.45 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02023/2.263, allocations: 8.35 MB / 0.9631 GB, free: 49.1 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01713/2.28, allocations: 7.2 MB / 0.9701 GB, free: 48.88 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.156e-05/2.28, allocations: 14.86 kB / 0.9701 GB, free: 48.88 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.919e-05/2.28, allocations: 23.95 kB / 0.9702 GB, free: 48.88 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03807/2.318, allocations: 15.8 MB / 0.9856 GB, free: 47.49 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.798e-05/2.318, allocations: 15.94 kB / 0.9856 GB, free: 47.49 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003412/2.321, allocations: 0.8308 MB / 0.9864 GB, free: 47.49 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002975/2.324, allocations: 1.01 MB / 0.9874 GB, free: 47.45 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007491/2.325, allocations: 43.72 kB / 0.9874 GB, free: 47.45 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01175/2.337, allocations: 9.329 MB / 0.9965 GB, free: 42.9 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.12e-05/2.337, allocations: 22.5 kB / 0.9966 GB, free: 42.9 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.026/2.363, allocations: 13.6 MB / 1.01 GB, free: 36.32 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003073/2.366, allocations: 1.058 MB / 1.011 GB, free: 35.75 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001485/2.368, allocations: 16.86 kB / 1.011 GB, free: 35.75 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003636/2.371, allocations: 246.3 kB / 1.011 GB, free: 35.74 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001098/2.372, allocations: 345.2 kB / 1.011 GB, free: 35.67 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006566/2.373, allocations: 139.8 kB / 1.012 GB, free: 35.64 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004349/2.378, allocations: 1.913 MB / 1.013 GB, free: 34.89 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.31e-07/2.378, allocations: 0 / 1.013 GB, free: 34.89 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01084/2.388, allocations: 2.067 MB / 1.015 GB, free: 34.37 MB / 458.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.001351/2.39, allocations: 244.1 kB / 1.016 GB, free: 34.21 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0133/2.403, allocations: 7.397 MB / 1.023 GB, free: 31.36 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.555e-05/2.403, allocations: 4.125 kB / 1.023 GB, free: 31.36 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00688/2.41, allocations: 3.693 MB / 1.027 GB, free: 29.85 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005357/2.415, allocations: 0.6059 MB / 1.027 GB, free: 29.53 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03324/2.449, allocations: 13.54 MB / 1.04 GB, free: 17.4 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01167/2.46, allocations: 6.078 MB / 1.046 GB, free: 12.75 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.007879/2.468, allocations: 2.252 MB / 1.048 GB, free: 11.31 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001649/2.47, allocations: 314.5 kB / 1.049 GB, free: 11.02 MB / 458.7 MB Notification: Performance of SimCode: time 9.12e-07/2.47, allocations: 0 / 1.049 GB, free: 11.02 MB / 458.7 MB Notification: Performance of Templates: time 0.4458/2.916, allocations: 55.04 MB / 1.103 GB, free: 57.57 MB / 474.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches