Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.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.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_3.2.3_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_3.2.3_Modelica.Magnetic.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.001219/0.001219, allocations: 179.1 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.323/1.323, allocations: 205.3 MB / 214.4 MB, free: 1.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008983/0.0008983, allocations: 90.38 kB / 262.4 MB, free: 1.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.443e-05/1.445e-05, allocations: 0 / 315.5 MB, free: 22.7 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08677/0.0868, allocations: 47.58 MB / 363.1 MB, free: 7.062 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3099/0.3968, allocations: 87.28 MB / 450.4 MB, free: 8.496 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/0.3971, allocations: 90.05 kB / 450.4 MB, free: 8.445 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1215/0.5186, allocations: 53.31 MB / 0.4919 GB, free: 8.496 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.5187, allocations: 3.938 kB / 0.4919 GB, free: 8.492 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001488/0.5188, allocations: 71.86 kB / 0.492 GB, free: 8.422 MB / 378.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.006706/0.5255, allocations: 2.737 MB / 0.4947 GB, free: 5.621 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.5256, allocations: 12.03 kB / 0.4947 GB, free: 5.609 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003161/0.5287, allocations: 0.5937 MB / 0.4953 GB, free: 5.012 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003926/0.5327, allocations: 1.818 MB / 0.4971 GB, free: 3.133 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.233e-05/0.5328, allocations: 91.95 kB / 0.4971 GB, free: 3.043 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003977/0.5332, allocations: 155.9 kB / 0.4973 GB, free: 2.891 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004806/0.538, allocations: 2.627 MB / 0.4999 GB, free: 264 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004912/0.543, allocations: 3.083 MB / 0.5029 GB, free: 13.05 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.685e-05/0.543, allocations: 0 / 0.5029 GB, free: 13.05 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002146/0.5432, allocations: 4 kB / 0.5029 GB, free: 13.05 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001018/0.5434, allocations: 101.4 kB / 0.503 GB, free: 12.95 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01576/0.5591, allocations: 10.01 MB / 0.5127 GB, free: 2.609 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004662/0.5638, allocations: 4.569 MB / 0.5172 GB, free: 13.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001125/0.565, allocations: 0.8413 MB / 0.518 GB, free: 12.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004014/0.569, allocations: 2.409 MB / 0.5204 GB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.5691, allocations: 51.38 kB / 0.5204 GB, free: 9.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=102): time 3.587e-06/0.5691, allocations: 0 / 0.5204 GB, free: 9.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=102): time 0.002807/0.5719, allocations: 1.51 MB / 0.5219 GB, free: 8.457 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.572, allocations: 101.9 kB / 0.522 GB, free: 8.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001555/0.5735, allocations: 1.101 MB / 0.5231 GB, free: 7.227 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.359e-05/0.5736, allocations: 25.7 kB / 0.5231 GB, free: 7.195 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008704/0.5745, allocations: 1.16 MB / 0.5242 GB, free: 6.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002754/0.5748, allocations: 331 kB / 0.5246 GB, free: 5.691 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.287e-05/0.5748, allocations: 0 / 0.5246 GB, free: 5.691 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.575, allocations: 357.9 kB / 0.5249 GB, free: 5.336 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007057/0.5757, allocations: 0.5101 MB / 0.5254 GB, free: 4.824 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009146/0.5766, allocations: 0.7717 MB / 0.5261 GB, free: 3.941 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00137/0.578, allocations: 0.7887 MB / 0.5269 GB, free: 3.148 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.578, allocations: 0 / 0.5269 GB, free: 3.148 MB / 410.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003218/0.5813, allocations: 1.906 MB / 0.5288 GB, free: 1.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.5813, allocations: 8 kB / 0.5288 GB, free: 1.223 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.655e-05/0.5813, allocations: 12 kB / 0.5288 GB, free: 1.211 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001019/0.5823, allocations: 395.8 kB / 0.5292 GB, free: 0.8203 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008244/0.5832, allocations: 219.7 kB / 0.5294 GB, free: 0.6055 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2119/0.7951, allocations: 5.838 MB / 0.5351 GB, free: 100.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001204/0.7963, allocations: 121.4 kB / 0.5352 GB, free: 100.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/0.7964, allocations: 48.64 kB / 0.5352 GB, free: 100.6 MB / 410.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.0002427/0.7967, allocations: 126.2 kB / 0.5354 GB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000229/0.7969, allocations: 136.8 kB / 0.5355 GB, free: 100.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003388/0.8003, allocations: 1.64 MB / 0.5371 GB, free: 100.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/0.8003, allocations: 11.94 kB / 0.5371 GB, free: 100.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/0.8004, allocations: 8 kB / 0.5371 GB, free: 100.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.629e-05/0.8004, allocations: 5.109 kB / 0.5371 GB, free: 100.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006675/0.8071, allocations: 3.597 MB / 0.5406 GB, free: 99.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/0.8071, allocations: 3.219 kB / 0.5406 GB, free: 99.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005977/0.8077, allocations: 140.6 kB / 0.5408 GB, free: 99.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009305/0.8087, allocations: 378.6 kB / 0.5411 GB, free: 99.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.899e-05/0.8087, allocations: 20.44 kB / 0.5412 GB, free: 99.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006589/0.8153, allocations: 5.843 MB / 0.5469 GB, free: 97.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.094e-06/0.8154, allocations: 2.312 kB / 0.5469 GB, free: 97.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003874/0.8193, allocations: 2.548 MB / 0.5493 GB, free: 96.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005028/0.8198, allocations: 233.8 kB / 0.5496 GB, free: 96.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001705/0.82, allocations: 21.89 kB / 0.5496 GB, free: 96.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007947/0.8208, allocations: 88.75 kB / 0.5497 GB, free: 96.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000238/0.821, allocations: 91.91 kB / 0.5498 GB, free: 96.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.942e-05/0.8211, allocations: 33.11 kB / 0.5498 GB, free: 96.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001287/0.8224, allocations: 0.8428 MB / 0.5506 GB, free: 96.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.8224, allocations: 3.031 kB / 0.5506 GB, free: 96.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002194/0.8246, allocations: 0.6336 MB / 0.5512 GB, free: 96.3 MB / 410.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.000325/0.825, allocations: 142.7 kB / 0.5514 GB, free: 96.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002253/0.8272, allocations: 1.619 MB / 0.553 GB, free: 95.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.8272, allocations: 7.344 kB / 0.553 GB, free: 95.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001331/0.8286, allocations: 1.043 MB / 0.554 GB, free: 95.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001426/0.83, allocations: 245.5 kB / 0.5542 GB, free: 95.69 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005538/0.8356, allocations: 3.637 MB / 0.5578 GB, free: 94.81 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001417/0.837, allocations: 2.229 MB / 0.5599 GB, free: 94.04 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001044/0.8381, allocations: 324.2 kB / 0.5603 GB, free: 94 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002098/0.8383, allocations: 80.27 kB / 0.5603 GB, free: 93.99 MB / 410.7 MB Notification: Performance of SimCode: time 7.31e-07/0.8383, allocations: 0 / 0.5603 GB, free: 93.99 MB / 410.7 MB Notification: Performance of Templates: time 0.02616/0.8645, allocations: 17.09 MB / 0.577 GB, free: 93.01 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.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/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches