Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.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.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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001125/0.001125, allocations: 197.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008851/0.0008852, allocations: 90.58 kB / 292.1 MB, free: 5.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.97e-05/2.982e-05, allocations: 4 kB / 350.5 MB, free: 2.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09773/0.09778, allocations: 51.49 MB / 402 MB, free: 14.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4298/0.5276, allocations: 90.44 MB / 492.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/0.5279, allocations: 81.14 kB / 492.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1901/0.718, allocations: 56.6 MB / 0.5363 GB, free: 7.707 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.7181, allocations: 4 kB / 0.5363 GB, free: 7.703 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003444/0.7185, allocations: 67.94 kB / 0.5363 GB, free: 7.637 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.01192/0.7304, allocations: 2.768 MB / 0.539 GB, free: 4.816 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.361e-05/0.7305, allocations: 12.03 kB / 0.5391 GB, free: 4.805 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006095/0.7366, allocations: 0.6608 MB / 0.5397 GB, free: 4.141 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006995/0.7436, allocations: 1.818 MB / 0.5415 GB, free: 2.262 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003293/0.744, allocations: 197.3 kB / 0.5417 GB, free: 2.066 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001368/0.7454, allocations: 264 kB / 0.5419 GB, free: 1.809 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01242/0.7578, allocations: 3.465 MB / 0.5453 GB, free: 14.21 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.153e-05/0.758, allocations: 0 / 0.5453 GB, free: 14.21 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008358/0.7588, allocations: 108 kB / 0.5454 GB, free: 14.11 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001686/0.759, allocations: 113.3 kB / 0.5455 GB, free: 14 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008951/0.768, allocations: 2.782 MB / 0.5482 GB, free: 11.2 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02748/0.7955, allocations: 10.51 MB / 0.5585 GB, free: 364 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00503/0.8006, allocations: 4.623 MB / 0.563 GB, free: 11.08 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00128/0.8019, allocations: 0.882 MB / 0.5639 GB, free: 10.2 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006053/0.8079, allocations: 2.698 MB / 0.5665 GB, free: 7.359 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.616e-05/0.808, allocations: 51.44 kB / 0.5666 GB, free: 7.297 MB / 442.7 MB Notification: Performance of pre-optimization done (n=102): time 4.168e-06/0.8081, allocations: 0 / 0.5666 GB, free: 7.297 MB / 442.7 MB Notification: Performance of matching and sorting (n=102): time 0.003967/0.812, allocations: 1.451 MB / 0.568 GB, free: 5.832 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.634e-05/0.8121, allocations: 97.91 kB / 0.5681 GB, free: 5.719 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003076/0.8152, allocations: 1.21 MB / 0.5692 GB, free: 4.496 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001347/0.8154, allocations: 41.7 kB / 0.5693 GB, free: 4.449 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001288/0.8167, allocations: 1.172 MB / 0.5704 GB, free: 3.262 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003459/0.817, allocations: 358.8 kB / 0.5708 GB, free: 2.906 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.8e-05/0.8171, allocations: 20 kB / 0.5708 GB, free: 2.887 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.8173, allocations: 353.9 kB / 0.5711 GB, free: 2.535 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008691/0.8181, allocations: 0.5374 MB / 0.5717 GB, free: 1.996 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/0.8192, allocations: 0.8053 MB / 0.5724 GB, free: 1.082 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.8202, allocations: 0.6778 MB / 0.5731 GB, free: 412 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.014e-06/0.8202, allocations: 3.938 kB / 0.5731 GB, free: 408 kB / 442.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.286/1.106, allocations: 1.889 MB / 0.575 GB, free: 89.35 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.447e-05/1.106, allocations: 13.55 kB / 0.575 GB, free: 89.35 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.711e-05/1.106, allocations: 7.844 kB / 0.575 GB, free: 89.35 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00121/1.108, allocations: 396.9 kB / 0.5754 GB, free: 89.33 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009451/1.109, allocations: 225 kB / 0.5756 GB, free: 89.33 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006091/1.115, allocations: 6.047 MB / 0.5815 GB, free: 86.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/1.116, allocations: 149.3 kB / 0.5816 GB, free: 86.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/1.116, allocations: 47.84 kB / 0.5817 GB, free: 86.64 MB / 442.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.0002223/1.116, allocations: 168.8 kB / 0.5818 GB, free: 86.53 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003118/1.116, allocations: 136.7 kB / 0.582 GB, free: 86.46 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002467/1.119, allocations: 1.613 MB / 0.5835 GB, free: 86.37 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/1.119, allocations: 9.5 kB / 0.5835 GB, free: 86.37 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.27e-05/1.119, allocations: 6.938 kB / 0.5835 GB, free: 86.37 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/1.119, allocations: 3.422 kB / 0.5835 GB, free: 86.37 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006166/1.125, allocations: 3.908 MB / 0.5874 GB, free: 85.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/1.125, allocations: 0 / 0.5874 GB, free: 85.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005157/1.126, allocations: 143 kB / 0.5875 GB, free: 85.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007771/1.126, allocations: 395.5 kB / 0.5879 GB, free: 85.83 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.78e-05/1.127, allocations: 31.33 kB / 0.5879 GB, free: 85.83 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005354/1.132, allocations: 6.037 MB / 0.5938 GB, free: 83.07 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/1.132, allocations: 7.297 kB / 0.5938 GB, free: 83.07 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002806/1.135, allocations: 2.488 MB / 0.5962 GB, free: 82.56 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002957/1.135, allocations: 244.7 kB / 0.5965 GB, free: 82.39 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001471/1.135, allocations: 30.77 kB / 0.5965 GB, free: 82.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007354/1.136, allocations: 101.4 kB / 0.5966 GB, free: 82.39 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001667/1.136, allocations: 94.61 kB / 0.5967 GB, free: 82.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.124e-05/1.136, allocations: 32.77 kB / 0.5967 GB, free: 82.39 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001066/1.137, allocations: 0.9314 MB / 0.5976 GB, free: 82.28 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.91e-07/1.137, allocations: 3.719 kB / 0.5976 GB, free: 82.28 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001799/1.139, allocations: 0.6977 MB / 0.5983 GB, free: 82.19 MB / 442.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.0003962/1.139, allocations: 194.1 kB / 0.5985 GB, free: 82.1 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002528/1.142, allocations: 1.712 MB / 0.6002 GB, free: 81.81 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/1.142, allocations: 0 / 0.6002 GB, free: 81.81 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001361/1.143, allocations: 1.092 MB / 0.6012 GB, free: 81.54 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/1.145, allocations: 281.3 kB / 0.6015 GB, free: 81.54 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006148/1.151, allocations: 3.708 MB / 0.6051 GB, free: 80.65 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001879/1.153, allocations: 2.226 MB / 0.6073 GB, free: 79.87 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001367/1.154, allocations: 340.4 kB / 0.6076 GB, free: 79.83 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002976/1.154, allocations: 82.92 kB / 0.6077 GB, free: 79.82 MB / 442.7 MB Notification: Performance of SimCode: time 1.663e-06/1.154, allocations: 1.312 kB / 0.6077 GB, free: 79.82 MB / 442.7 MB Notification: Performance of Templates: time 0.03622/1.191, allocations: 19.48 MB / 0.6267 GB, free: 79 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches