Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001564/0.001564, allocations: 181.4 kB / 13.66 MB, free: 1.664 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.953/1.953, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001065/0.001065, allocations: 74.72 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.544e-05/2.555e-05, allocations: 0 / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09215/0.0922, allocations: 47.59 MB / 369.1 MB, free: 2.18 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4208/0.5131, allocations: 87.7 MB / 456.8 MB, free: 5.59 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003039/0.5134, allocations: 86.25 kB / 456.9 MB, free: 5.543 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2125/0.7259, allocations: 53.92 MB / 0.4988 GB, free: 0.9336 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.726, allocations: 0 / 0.4988 GB, free: 0.9336 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002549/0.7262, allocations: 63.94 kB / 0.4989 GB, free: 0.8711 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.01177/0.738, allocations: 2.749 MB / 0.5016 GB, free: 14.06 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.7381, allocations: 12.03 kB / 0.5016 GB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005042/0.7431, allocations: 0.5898 MB / 0.5022 GB, free: 13.46 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006306/0.7495, allocations: 1.822 MB / 0.504 GB, free: 11.57 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002939/0.7498, allocations: 201.3 kB / 0.5041 GB, free: 11.38 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001076/0.7509, allocations: 267.9 kB / 0.5044 GB, free: 11.11 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01131/0.7623, allocations: 3.461 MB / 0.5078 GB, free: 7.523 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001039/0.7624, allocations: 3.984 kB / 0.5078 GB, free: 7.52 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005811/0.763, allocations: 112 kB / 0.5079 GB, free: 7.41 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001709/0.7632, allocations: 101.4 kB / 0.508 GB, free: 7.309 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009145/0.7724, allocations: 2.782 MB / 0.5107 GB, free: 4.516 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03057/0.803, allocations: 10.52 MB / 0.521 GB, free: 9.652 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008833/0.8119, allocations: 4.619 MB / 0.5255 GB, free: 4.371 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002436/0.8144, allocations: 0.892 MB / 0.5264 GB, free: 3.477 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007008/0.8214, allocations: 2.46 MB / 0.5288 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.035e-05/0.8215, allocations: 47.38 kB / 0.5288 GB, free: 0.875 MB / 410.7 MB Notification: Performance of pre-optimization done (n=102): time 4.138e-06/0.8215, allocations: 4 kB / 0.5288 GB, free: 0.8711 MB / 410.7 MB Notification: Performance of matching and sorting (n=102): time 0.2716/1.093, allocations: 1.444 MB / 0.5302 GB, free: 100.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/1.093, allocations: 93.12 kB / 0.5303 GB, free: 100.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003328/1.097, allocations: 1.207 MB / 0.5315 GB, free: 100.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002776/1.097, allocations: 44.2 kB / 0.5315 GB, free: 100.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009522/1.098, allocations: 1.127 MB / 0.5326 GB, free: 99.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005586/1.098, allocations: 349.8 kB / 0.533 GB, free: 99.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/1.099, allocations: 26.28 kB / 0.533 GB, free: 99.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001348/1.099, allocations: 359.1 kB / 0.5333 GB, free: 99.31 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001568/1.1, allocations: 0.5341 MB / 0.5339 GB, free: 99.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001923/1.102, allocations: 0.8061 MB / 0.5346 GB, free: 99.01 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001915/1.104, allocations: 0.6762 MB / 0.5353 GB, free: 99 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.431e-05/1.104, allocations: 4.75 kB / 0.5353 GB, free: 99 MB / 410.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.005762/1.11, allocations: 1.805 MB / 0.5371 GB, free: 98.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.176e-05/1.11, allocations: 8.562 kB / 0.5371 GB, free: 98.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.989e-05/1.11, allocations: 15.06 kB / 0.5371 GB, free: 98.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001838/1.112, allocations: 398.7 kB / 0.5375 GB, free: 98.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001827/1.114, allocations: 212.8 kB / 0.5377 GB, free: 98.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01082/1.125, allocations: 6.064 MB / 0.5436 GB, free: 96.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001792/1.127, allocations: 146 kB / 0.5437 GB, free: 96.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001573/1.127, allocations: 48.8 kB / 0.5438 GB, free: 96.07 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.0003696/1.127, allocations: 169.6 kB / 0.5439 GB, free: 95.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004682/1.128, allocations: 136.8 kB / 0.5441 GB, free: 95.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005041/1.133, allocations: 1.603 MB / 0.5456 GB, free: 95.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-05/1.133, allocations: 16.05 kB / 0.5457 GB, free: 95.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.537e-05/1.133, allocations: 6.594 kB / 0.5457 GB, free: 95.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.859e-05/1.133, allocations: 5.109 kB / 0.5457 GB, free: 95.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01226/1.145, allocations: 3.906 MB / 0.5495 GB, free: 95.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.919e-05/1.145, allocations: 8.047 kB / 0.5495 GB, free: 95.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001235/1.147, allocations: 131.9 kB / 0.5496 GB, free: 95.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001755/1.148, allocations: 404.7 kB / 0.55 GB, free: 95.24 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002583/1.149, allocations: 33.38 kB / 0.55 GB, free: 95.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01004/1.159, allocations: 6.031 MB / 0.5559 GB, free: 92.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/1.159, allocations: 6.469 kB / 0.5559 GB, free: 92.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005326/1.164, allocations: 2.499 MB / 0.5584 GB, free: 91.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006609/1.165, allocations: 241.4 kB / 0.5586 GB, free: 91.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004194/1.165, allocations: 35.5 kB / 0.5586 GB, free: 91.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001723/1.167, allocations: 103.3 kB / 0.5587 GB, free: 91.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004789/1.168, allocations: 92.95 kB / 0.5588 GB, free: 91.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001247/1.168, allocations: 36.31 kB / 0.5589 GB, free: 91.69 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00201/1.17, allocations: 0.93 MB / 0.5598 GB, free: 91.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.32e-07/1.17, allocations: 0 / 0.5598 GB, free: 91.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003186/1.173, allocations: 0.6765 MB / 0.5604 GB, free: 91.12 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.0006554/1.174, allocations: 189.8 kB / 0.5606 GB, free: 91.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003986/1.178, allocations: 1.711 MB / 0.5623 GB, free: 90.28 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.345e-06/1.178, allocations: 0 / 0.5623 GB, free: 90.28 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002504/1.18, allocations: 1.093 MB / 0.5633 GB, free: 89.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002176/1.182, allocations: 281.5 kB / 0.5636 GB, free: 89.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008859/1.191, allocations: 3.654 MB / 0.5672 GB, free: 88.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002298/1.194, allocations: 2.17 MB / 0.5693 GB, free: 87.19 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006544/1.194, allocations: 94.33 kB / 0.5694 GB, free: 87.18 MB / 410.7 MB Notification: Performance of SimCode: time 1.543e-06/1.194, allocations: 0 / 0.5694 GB, free: 87.18 MB / 410.7 MB Notification: Performance of Templates: time 0.07988/1.274, allocations: 50.56 MB / 0.6188 GB, free: 58.59 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches