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.001437/0.001437, allocations: 172.5 kB / 14.1 MB, free: 1.223 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.515/1.515, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.000854/0.0008544, allocations: 86.7 kB / 268 MB, free: 14.03 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.972e-05/2.975e-05, allocations: 0 / 322.5 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08859/0.08864, allocations: 47.58 MB / 370 MB, free: 1.691 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3214/0.4101, allocations: 98.88 MB / 468.9 MB, free: 10.57 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/0.4104, allocations: 87.94 kB / 469 MB, free: 10.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9957/1.406, allocations: 307.1 MB / 0.7579 GB, free: 60.44 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.585e-06/1.406, allocations: 0 / 0.7579 GB, free: 60.44 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006518/1.407, allocations: 192.5 kB / 0.7581 GB, free: 60.42 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.03137/1.438, allocations: 8.735 MB / 0.7666 GB, free: 57.92 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/1.438, allocations: 6.875 kB / 0.7667 GB, free: 57.92 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02329/1.462, allocations: 4.195 MB / 0.7708 GB, free: 57.45 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01609/1.478, allocations: 5.799 MB / 0.7764 GB, free: 56.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001001/1.479, allocations: 0.6478 MB / 0.777 GB, free: 56.01 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004068/1.483, allocations: 0.8376 MB / 0.7779 GB, free: 55.73 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04047/1.523, allocations: 15.1 MB / 0.7926 GB, free: 45.21 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004484/1.524, allocations: 15.36 kB / 0.7926 GB, free: 45.21 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003717/1.528, allocations: 369.5 kB / 0.793 GB, free: 44.86 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008143/1.528, allocations: 0.6104 MB / 0.7936 GB, free: 44.31 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02986/1.558, allocations: 13.37 MB / 0.8066 GB, free: 32.26 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09889/1.657, allocations: 44.89 MB / 0.8505 GB, free: 3.484 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3606/2.018, allocations: 12.17 MB / 0.8624 GB, free: 68.18 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01417/2.032, allocations: 7.108 MB / 0.8693 GB, free: 68.11 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001165/2.033, allocations: 276.5 kB / 0.8696 GB, free: 67.98 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001493/2.033, allocations: 106.5 kB / 0.8697 GB, free: 67.93 MB / 442.7 MB Notification: Performance of pre-optimization done (n=817): time 1.952e-05/2.034, allocations: 1.156 kB / 0.8697 GB, free: 67.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=817): time 0.02904/2.063, allocations: 13.08 MB / 0.8824 GB, free: 67.67 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001404/2.063, allocations: 148.1 kB / 0.8826 GB, free: 67.57 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004555/2.067, allocations: 1.739 MB / 0.8843 GB, free: 67.36 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002119/2.069, allocations: 130.5 kB / 0.8844 GB, free: 67.33 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001883/2.071, allocations: 2.771 MB / 0.8871 GB, free: 66.33 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004732/2.076, allocations: 2.665 MB / 0.8897 GB, free: 64.66 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002054/2.078, allocations: 122.3 kB / 0.8898 GB, free: 64.66 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.001002/2.079, allocations: 0.6012 MB / 0.8904 GB, free: 64.34 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00987/2.089, allocations: 4.938 MB / 0.8952 GB, free: 64.32 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01269/2.102, allocations: 5.795 MB / 0.9009 GB, free: 63.68 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01041/2.112, allocations: 5.885 MB / 0.9066 GB, free: 62.12 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.934e-05/2.112, allocations: 3.781 kB / 0.9066 GB, free: 62.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=922) (initialization): time 0.03056/2.143, allocations: 14 MB / 0.9203 GB, free: 56.64 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.759e-05/2.143, allocations: 14.62 kB / 0.9203 GB, free: 56.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.944e-05/2.143, allocations: 15.97 kB / 0.9203 GB, free: 56.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01112/2.154, allocations: 4.333 MB / 0.9246 GB, free: 55.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005176/2.16, allocations: 1.049 MB / 0.9256 GB, free: 55.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01361/2.173, allocations: 10.51 MB / 0.9359 GB, free: 49.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005807/2.179, allocations: 0.7039 MB / 0.9366 GB, free: 49.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002222/2.181, allocations: 258.3 kB / 0.9368 GB, free: 49.37 MB / 442.7 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 () * 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.00345/2.185, allocations: 406.4 kB / 0.9372 GB, free: 49.07 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002289/2.187, allocations: 403.5 kB / 0.9376 GB, free: 48.86 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03343/2.22, allocations: 14.68 MB / 0.9519 GB, free: 42.3 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02631/2.247, allocations: 13.11 MB / 0.9647 GB, free: 30.83 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.794e-05/2.247, allocations: 0 / 0.9647 GB, free: 30.83 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001515/2.247, allocations: 32.25 kB / 0.9647 GB, free: 30.83 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05691/2.304, allocations: 26.82 MB / 0.9909 GB, free: 8.367 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.731e-05/2.304, allocations: 0 / 0.9909 GB, free: 8.367 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004699/2.309, allocations: 0.899 MB / 0.9918 GB, free: 7.691 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009333/2.318, allocations: 4.312 MB / 0.996 GB, free: 4.188 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002435/2.321, allocations: 169.7 kB / 0.9962 GB, free: 4.043 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01512/2.336, allocations: 10.49 MB / 1.006 GB, free: 10.64 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.285e-06/2.336, allocations: 10.66 kB / 1.006 GB, free: 10.64 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.392/2.728, allocations: 21.73 MB / 1.028 GB, free: 81.42 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005733/2.734, allocations: 1.678 MB / 1.029 GB, free: 81.33 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002243/2.736, allocations: 110.3 kB / 1.029 GB, free: 81.33 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004865/2.741, allocations: 345 kB / 1.03 GB, free: 81.33 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001993/2.743, allocations: 0.5666 MB / 1.03 GB, free: 81.32 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007938/2.744, allocations: 213.6 kB / 1.03 GB, free: 81.32 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002754/2.746, allocations: 1.339 MB / 1.032 GB, free: 81.16 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.91e-07/2.746, allocations: 0 / 1.032 GB, free: 81.16 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009121/2.756, allocations: 2.242 MB / 1.034 GB, free: 80.99 MB / 458.7 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 () * 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.002401/2.758, allocations: 360.9 kB / 1.034 GB, free: 80.9 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02677/2.785, allocations: 12.18 MB / 1.046 GB, free: 80.62 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.063e-05/2.785, allocations: 0 / 1.046 GB, free: 80.62 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01488/2.8, allocations: 6.47 MB / 1.053 GB, free: 80.53 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0066/2.806, allocations: 0.6477 MB / 1.053 GB, free: 80.51 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04572/2.852, allocations: 17.21 MB / 1.07 GB, free: 78.21 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01268/2.865, allocations: 6.198 MB / 1.076 GB, free: 76.46 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.007259/2.872, allocations: 1.549 MB / 1.078 GB, free: 76.34 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001507/2.874, allocations: 291 kB / 1.078 GB, free: 76.32 MB / 458.7 MB Notification: Performance of SimCode: time 1.262e-06/2.874, allocations: 0 / 1.078 GB, free: 76.32 MB / 458.7 MB Notification: Performance of Templates: time 0.1634/3.037, allocations: 103.6 MB / 1.179 GB, free: 11.03 MB / 458.7 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/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_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches