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.0009681/0.0009682, allocations: 172.9 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.327/1.327, 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.00085/0.00085, allocations: 78.72 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.597e-05/2.616e-05, allocations: 4 kB / 322.5 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08383/0.08387, allocations: 47.57 MB / 370 MB, free: 1.711 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3191/0.403, allocations: 87.71 MB / 457.7 MB, free: 5.684 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003042/0.4034, allocations: 79.61 kB / 457.8 MB, free: 5.645 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1278/0.5312, allocations: 53.93 MB / 0.4997 GB, free: 0.6133 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.5312, allocations: 0 / 0.4997 GB, free: 0.6133 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001449/0.5314, allocations: 75.8 kB / 0.4998 GB, free: 0.5391 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.007354/0.5388, allocations: 2.741 MB / 0.5025 GB, free: 13.74 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.5388, allocations: 8.031 kB / 0.5025 GB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003497/0.5423, allocations: 0.6015 MB / 0.5031 GB, free: 13.12 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004184/0.5465, allocations: 1.811 MB / 0.5049 GB, free: 11.25 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001536/0.5467, allocations: 205.3 kB / 0.5051 GB, free: 11.05 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005136/0.5472, allocations: 263.9 kB / 0.5053 GB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006255/0.5535, allocations: 3.461 MB / 0.5087 GB, free: 7.203 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.381e-05/0.5536, allocations: 0 / 0.5087 GB, free: 7.203 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002757/0.5539, allocations: 116 kB / 0.5088 GB, free: 7.09 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001022/0.554, allocations: 101.4 kB / 0.5089 GB, free: 6.988 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004734/0.5587, allocations: 2.786 MB / 0.5116 GB, free: 4.191 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01725/0.576, allocations: 10.52 MB / 0.5219 GB, free: 9.328 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004738/0.5808, allocations: 4.628 MB / 0.5264 GB, free: 4.039 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001227/0.5821, allocations: 0.8882 MB / 0.5273 GB, free: 3.148 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004084/0.5862, allocations: 2.444 MB / 0.5297 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.949e-05/0.5862, allocations: 55.36 kB / 0.5297 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of pre-optimization done (n=102): time 3.507e-06/0.5862, allocations: 4 kB / 0.5297 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of matching and sorting (n=102): time 0.223/0.8093, allocations: 1.442 MB / 0.5311 GB, free: 100.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.8094, allocations: 93.23 kB / 0.5312 GB, free: 100.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002171/0.8116, allocations: 1.205 MB / 0.5324 GB, free: 100.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001997/0.8118, allocations: 45.42 kB / 0.5324 GB, free: 100.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008415/0.8126, allocations: 1.152 MB / 0.5336 GB, free: 99.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004252/0.8131, allocations: 358.3 kB / 0.5339 GB, free: 99.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.044e-05/0.8131, allocations: 21.75 kB / 0.5339 GB, free: 99.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.8133, allocations: 357.5 kB / 0.5343 GB, free: 99.37 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009477/0.8143, allocations: 0.5366 MB / 0.5348 GB, free: 99.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009728/0.8152, allocations: 0.8058 MB / 0.5356 GB, free: 99.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.8163, allocations: 0.6699 MB / 0.5362 GB, free: 99.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/0.8164, allocations: 6.781 kB / 0.5362 GB, free: 99.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.00345/0.8198, allocations: 1.896 MB / 0.5381 GB, free: 98.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.084e-05/0.8199, allocations: 9.656 kB / 0.5381 GB, free: 98.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.96e-05/0.8199, allocations: 7.609 kB / 0.5381 GB, free: 98.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001029/0.8209, allocations: 402.5 kB / 0.5385 GB, free: 98.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008264/0.8218, allocations: 220.5 kB / 0.5387 GB, free: 98.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006957/0.8287, allocations: 6.054 MB / 0.5446 GB, free: 96.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/0.8299, allocations: 144.7 kB / 0.5447 GB, free: 96.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-05/0.83, allocations: 52.42 kB / 0.5448 GB, free: 96.08 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.0002252/0.8303, allocations: 165.9 kB / 0.545 GB, free: 95.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002023/0.8305, allocations: 137.1 kB / 0.5451 GB, free: 95.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002883/0.8334, allocations: 1.603 MB / 0.5467 GB, free: 95.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.8334, allocations: 9.812 kB / 0.5467 GB, free: 95.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.8334, allocations: 6.5 kB / 0.5467 GB, free: 95.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.468e-05/0.8334, allocations: 6.234 kB / 0.5467 GB, free: 95.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006096/0.8395, allocations: 3.918 MB / 0.5505 GB, free: 95.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.8396, allocations: 3.797 kB / 0.5505 GB, free: 95.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005971/0.8402, allocations: 136.5 kB / 0.5506 GB, free: 95.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008783/0.8411, allocations: 396 kB / 0.551 GB, free: 95.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.558e-05/0.8412, allocations: 36.36 kB / 0.551 GB, free: 95.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005373/0.8465, allocations: 6.034 MB / 0.5569 GB, free: 92.49 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.8466, allocations: 3.781 kB / 0.5569 GB, free: 92.49 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002849/0.8494, allocations: 2.498 MB / 0.5594 GB, free: 91.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003542/0.8498, allocations: 244.4 kB / 0.5596 GB, free: 91.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001478/0.8499, allocations: 31.31 kB / 0.5596 GB, free: 91.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007331/0.8507, allocations: 103.4 kB / 0.5597 GB, free: 91.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001934/0.8509, allocations: 93.38 kB / 0.5598 GB, free: 91.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.226e-05/0.851, allocations: 34.73 kB / 0.5599 GB, free: 91.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00111/0.8521, allocations: 0.9285 MB / 0.5608 GB, free: 91.22 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.8521, allocations: 0 / 0.5608 GB, free: 91.22 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001784/0.8539, allocations: 0.6797 MB / 0.5614 GB, free: 91.02 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.0003356/0.8542, allocations: 178 kB / 0.5616 GB, free: 90.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002274/0.8565, allocations: 1.71 MB / 0.5633 GB, free: 90.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.8565, allocations: 0 / 0.5633 GB, free: 90.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001277/0.8578, allocations: 1.098 MB / 0.5643 GB, free: 89.63 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.8589, allocations: 288.7 kB / 0.5646 GB, free: 89.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005037/0.8639, allocations: 3.685 MB / 0.5682 GB, free: 88.11 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001365/0.8653, allocations: 2.228 MB / 0.5704 GB, free: 87.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000874/0.8662, allocations: 336.5 kB / 0.5707 GB, free: 87.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002061/0.8664, allocations: 84.67 kB / 0.5708 GB, free: 87.02 MB / 410.7 MB Notification: Performance of SimCode: time 6.32e-07/0.8664, allocations: 0 / 0.5708 GB, free: 87.02 MB / 410.7 MB Notification: Performance of Templates: time 0.02835/0.8948, allocations: 19.44 MB / 0.5898 GB, free: 85.9 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