Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.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.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|converter_e.singlePhaseElectroMagneticConverter.1..Phi.re|converter_e.singlePhaseElectroMagneticConverter.2..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|converter_e.singlePhaseElectroMagneticConverter.1..Phi.re|converter_e.singlePhaseElectroMagneticConverter.2..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.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.001384/0.001384, 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.31/1.31, allocations: 221.5 MB / 230.3 MB, free: 7.59 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.0008849/0.0008849, allocations: 94.19 kB / 281.2 MB, free: 5.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.2e-05/1.202e-05, allocations: 4 kB / 337.1 MB, free: 10.03 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09361/0.09363, allocations: 50.41 MB / 387.5 MB, free: 7.578 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3129/0.4066, allocations: 88.28 MB / 475.7 MB, free: 6.574 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000333/0.407, allocations: 79.95 kB / 475.8 MB, free: 6.496 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1253/0.5323, allocations: 54.15 MB / 0.5175 GB, free: 15.81 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.5324, allocations: 0 / 0.5175 GB, free: 15.81 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001498/0.5325, allocations: 67.94 kB / 0.5176 GB, free: 15.75 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.006849/0.5394, allocations: 2.753 MB / 0.5203 GB, free: 12.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.5394, allocations: 12.03 kB / 0.5203 GB, free: 12.92 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002914/0.5424, allocations: 0.6015 MB / 0.5209 GB, free: 12.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003438/0.5458, allocations: 1.811 MB / 0.5227 GB, free: 10.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.547e-05/0.5459, allocations: 84 kB / 0.5227 GB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003029/0.5462, allocations: 159.9 kB / 0.5229 GB, free: 10.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004133/0.5503, allocations: 2.619 MB / 0.5255 GB, free: 7.582 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004707/0.5551, allocations: 3.079 MB / 0.5285 GB, free: 4.379 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.385e-05/0.5551, allocations: 3.938 kB / 0.5285 GB, free: 4.375 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001955/0.5553, allocations: 3.953 kB / 0.5285 GB, free: 4.371 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.274e-05/0.5554, allocations: 105.4 kB / 0.5286 GB, free: 4.266 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01514/0.5706, allocations: 10.01 MB / 0.5383 GB, free: 9.934 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004647/0.5753, allocations: 4.556 MB / 0.5428 GB, free: 4.723 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001105/0.5764, allocations: 0.8481 MB / 0.5436 GB, free: 3.867 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00402/0.5804, allocations: 2.394 MB / 0.546 GB, free: 1.387 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.5805, allocations: 51.44 kB / 0.546 GB, free: 1.328 MB / 426.7 MB Notification: Performance of pre-optimization done (n=102): time 3.397e-06/0.5805, allocations: 0 / 0.546 GB, free: 1.328 MB / 426.7 MB Notification: Performance of matching and sorting (n=102): time 0.2616/0.8421, allocations: 1.512 MB / 0.5475 GB, free: 104.9 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.8422, allocations: 90.14 kB / 0.5476 GB, free: 104.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00193/0.8442, allocations: 1.098 MB / 0.5486 GB, free: 104.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001872/0.8444, allocations: 27.58 kB / 0.5487 GB, free: 104.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006461/0.845, allocations: 1.157 MB / 0.5498 GB, free: 104.4 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002696/0.8453, allocations: 339.3 kB / 0.5501 GB, free: 104.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-05/0.8454, allocations: 3.469 kB / 0.5501 GB, free: 104.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.265e-05/0.8455, allocations: 355.2 kB / 0.5505 GB, free: 103.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007029/0.8462, allocations: 0.509 MB / 0.551 GB, free: 103.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007968/0.847, allocations: 0.7777 MB / 0.5517 GB, free: 103.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001381/0.8484, allocations: 0.7789 MB / 0.5525 GB, free: 103.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/0.8484, allocations: 2.906 kB / 0.5525 GB, free: 103.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003295/0.8517, allocations: 1.907 MB / 0.5543 GB, free: 103.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/0.8517, allocations: 9.062 kB / 0.5544 GB, free: 103.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/0.8517, allocations: 9.156 kB / 0.5544 GB, free: 103.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009358/0.8527, allocations: 384.5 kB / 0.5547 GB, free: 103.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008294/0.8535, allocations: 224.7 kB / 0.5549 GB, free: 103.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006439/0.86, allocations: 5.866 MB / 0.5607 GB, free: 100.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/0.8611, allocations: 117.2 kB / 0.5608 GB, free: 100.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.502e-05/0.8612, allocations: 55.97 kB / 0.5608 GB, free: 100.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,100.0%) 19,(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002242/0.8614, allocations: 128.1 kB / 0.561 GB, free: 100.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002136/0.8617, allocations: 135.9 kB / 0.5611 GB, free: 100.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003176/0.8648, allocations: 1.63 MB / 0.5627 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.8649, allocations: 11 kB / 0.5627 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/0.8649, allocations: 6.469 kB / 0.5627 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.639e-05/0.8649, allocations: 5.812 kB / 0.5627 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006127/0.871, allocations: 3.594 MB / 0.5662 GB, free: 99.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/0.8711, allocations: 9.938 kB / 0.5662 GB, free: 99.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005761/0.8717, allocations: 135.5 kB / 0.5664 GB, free: 99.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008724/0.8725, allocations: 374.2 kB / 0.5667 GB, free: 99.95 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.525e-05/0.8726, allocations: 29.45 kB / 0.5667 GB, free: 99.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006595/0.8792, allocations: 5.834 MB / 0.5724 GB, free: 97.28 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.44e-05/0.8793, allocations: 2.438 kB / 0.5724 GB, free: 97.28 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005264/0.8846, allocations: 2.557 MB / 0.5749 GB, free: 96.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006109/0.8852, allocations: 238.2 kB / 0.5752 GB, free: 96.59 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001752/0.8854, allocations: 17.77 kB / 0.5752 GB, free: 96.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008562/0.8863, allocations: 82.45 kB / 0.5753 GB, free: 96.59 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002425/0.8865, allocations: 93.62 kB / 0.5753 GB, free: 96.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-05/0.8866, allocations: 34.92 kB / 0.5754 GB, free: 96.59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001126/0.8878, allocations: 0.8443 MB / 0.5762 GB, free: 96.48 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.8878, allocations: 0 / 0.5762 GB, free: 96.48 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002106/0.8899, allocations: 0.6367 MB / 0.5768 GB, free: 96.31 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (converter_e.singlePhaseElectroMagneticConverter[3].Phi.re,converter_e.singlePhaseElectroMagneticConverter[3].Phi.im,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,100.0%) 21,(2,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003147/0.8902, allocations: 148.7 kB / 0.577 GB, free: 96.22 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002416/0.8926, allocations: 1.628 MB / 0.5786 GB, free: 95.95 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.8926, allocations: 2.625 kB / 0.5786 GB, free: 95.95 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001343/0.894, allocations: 1.039 MB / 0.5796 GB, free: 95.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/0.8953, allocations: 250.5 kB / 0.5798 GB, free: 95.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006275/0.9016, allocations: 3.619 MB / 0.5834 GB, free: 93.99 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001598/0.9032, allocations: 2.226 MB / 0.5855 GB, free: 92.96 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001092/0.9043, allocations: 333.2 kB / 0.5858 GB, free: 92.93 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002121/0.9045, allocations: 77.84 kB / 0.5859 GB, free: 92.92 MB / 426.7 MB Notification: Performance of SimCode: time 1.583e-06/0.9045, allocations: 3.609 kB / 0.5859 GB, free: 92.92 MB / 426.7 MB Notification: Performance of Templates: time 0.03979/0.9443, allocations: 17.08 MB / 0.6026 GB, free: 92.17 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches