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.002819/0.002825, allocations: 186.7 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.966/3.966, allocations: 205.4 MB / 222.5 MB, free: 13.76 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.001784/0.001785, allocations: 94.86 kB / 270.9 MB, free: 13.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006278/0.000628, allocations: 8 kB / 327 MB, free: 15.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2705, allocations: 47.58 MB / 374.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.0284/0.299, allocations: 5.803 MB / 380.3 MB, free: 9.586 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01329/0.3124, allocations: 2.124 MB / 382.5 MB, free: 7.453 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006181/0.3187, allocations: 39.81 kB / 382.5 MB, free: 7.414 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002432/0.3212, allocations: 350.1 kB / 382.9 MB, free: 7.07 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009604/0.3309, allocations: 0.7165 MB / 383.6 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002428/0.3334, allocations: 271.5 kB / 383.8 MB, free: 6.086 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01591/0.3493, allocations: 2.016 MB / 385.8 MB, free: 4.062 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01111/0.3605, allocations: 1.96 MB / 387.8 MB, free: 2.07 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00766/0.3682, allocations: 0.9731 MB / 388.8 MB, free: 1.094 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.4231/0.7914, allocations: 1.164 MB / 389.9 MB, free: 10.24 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001594/0.7931, allocations: 153.8 kB / 390.1 MB, free: 10.24 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003468/0.7966, allocations: 253.9 kB / 390.3 MB, free: 10.24 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00283/0.7995, allocations: 0.6086 MB / 391 MB, free: 10.24 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00271/0.8023, allocations: 0.5484 MB / 391.5 MB, free: 10.21 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01166/0.814, allocations: 3.713 MB / 395.2 MB, free: 9.969 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.8141, allocations: 3.5 kB / 395.2 MB, free: 9.969 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.509e-06/0.8141, allocations: 1.219 kB / 395.2 MB, free: 9.969 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002675/0.8144, allocations: 0 / 395.2 MB, free: 9.969 MB / 282.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.02132/0.8357, allocations: 3.142 MB / 398.4 MB, free: 8.719 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.844e-05/0.8358, allocations: 8.875 kB / 398.4 MB, free: 8.719 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01075/0.8466, allocations: 0.6917 MB / 399.1 MB, free: 8.562 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009311/0.856, allocations: 1.628 MB / 400.7 MB, free: 8.004 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000539/0.8566, allocations: 204.2 kB / 400.9 MB, free: 7.992 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002334/0.8589, allocations: 266.2 kB / 401.1 MB, free: 7.988 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0233/0.8823, allocations: 3.578 MB / 404.7 MB, free: 7.082 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001827/0.8826, allocations: 3.531 kB / 404.7 MB, free: 7.082 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001561/0.8841, allocations: 107.4 kB / 404.8 MB, free: 7.082 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002867/0.8845, allocations: 109 kB / 404.9 MB, free: 7.07 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01645/0.9009, allocations: 3.098 MB / 408 MB, free: 6.238 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04482/0.9458, allocations: 10.56 MB / 418.6 MB, free: 14.98 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01272/0.9586, allocations: 4.683 MB / 423.3 MB, free: 9.805 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01148/0.9702, allocations: 2.503 MB / 425.8 MB, free: 7.246 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.096e-05/0.9703, allocations: 51.52 kB / 425.8 MB, free: 7.188 MB / 298.7 MB Notification: Performance of pre-optimization done (n=108): time 6.953e-06/0.9703, allocations: 0 / 425.8 MB, free: 7.188 MB / 298.7 MB Notification: Performance of matching and sorting (n=108): time 0.01781/0.9882, allocations: 2.769 MB / 428.6 MB, free: 4.398 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.9883, allocations: 86.11 kB / 428.7 MB, free: 4.297 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005503/0.9939, allocations: 1.35 MB / 430 MB, free: 2.934 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004534/0.9944, allocations: 45.7 kB / 430.1 MB, free: 2.883 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001768/0.9962, allocations: 1.124 MB / 431.2 MB, free: 1.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009652/0.9972, allocations: 378.3 kB / 431.6 MB, free: 1.383 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002295/0.9974, allocations: 24 kB / 431.6 MB, free: 1.359 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002934/0.9978, allocations: 358.8 kB / 432 MB, free: 1 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002846/1.001, allocations: 0.5998 MB / 432.6 MB, free: 412 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00343/1.004, allocations: 0.8541 MB / 433.4 MB, free: 15.45 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003439/1.008, allocations: 0.7448 MB / 434.2 MB, free: 14.71 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.004e-05/1.008, allocations: 4 kB / 434.2 MB, free: 14.71 MB / 314.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.009421/1.017, allocations: 1.939 MB / 436.1 MB, free: 12.82 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.131e-05/1.017, allocations: 10.52 kB / 436.1 MB, free: 12.81 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.668e-05/1.017, allocations: 8 kB / 436.1 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002649/1.02, allocations: 406.1 kB / 436.5 MB, free: 12.4 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002782/1.023, allocations: 229.5 kB / 436.7 MB, free: 12.19 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0186/1.041, allocations: 6.234 MB / 443 MB, free: 5.727 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002845/1.044, allocations: 150.8 kB / 443.1 MB, free: 5.578 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004612/1.045, allocations: 47.98 kB / 443.2 MB, free: 5.531 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 108 * 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.004503/1.049, allocations: 0.8667 MB / 444 MB, free: 4.668 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009546/1.05, allocations: 134.3 kB / 444.2 MB, free: 4.535 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009316/1.06, allocations: 1.742 MB / 445.9 MB, free: 2.801 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.825e-05/1.06, allocations: 8 kB / 445.9 MB, free: 2.793 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-05/1.06, allocations: 11.98 kB / 445.9 MB, free: 2.781 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.818e-05/1.06, allocations: 3.984 kB / 445.9 MB, free: 2.777 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02119/1.081, allocations: 4.099 MB / 450 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-05/1.081, allocations: 0 / 450 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002055/1.083, allocations: 155.4 kB / 450.2 MB, free: 14.49 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002905/1.086, allocations: 393.5 kB / 450.6 MB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004231/1.087, allocations: 31.98 kB / 450.6 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01899/1.106, allocations: 6.235 MB / 456.8 MB, free: 7.594 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-05/1.106, allocations: 4.031 kB / 456.8 MB, free: 7.59 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01208/1.118, allocations: 2.699 MB / 459.5 MB, free: 4.855 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001153/1.119, allocations: 235.3 kB / 459.8 MB, free: 4.605 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007708/1.12, allocations: 46.23 kB / 459.8 MB, free: 4.562 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002896/1.123, allocations: 95.91 kB / 459.9 MB, free: 4.469 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007759/1.124, allocations: 96.72 kB / 460 MB, free: 4.375 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002307/1.124, allocations: 35.98 kB / 460 MB, free: 4.34 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.004655/1.129, allocations: 0.9431 MB / 461 MB, free: 3.391 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.833e-06/1.129, allocations: 0 / 461 MB, free: 3.391 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.005555/1.134, allocations: 0.6727 MB / 461.6 MB, free: 2.715 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 65 * 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.000897/1.135, allocations: 150.3 kB / 461.8 MB, free: 2.566 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.008395/1.144, allocations: 1.858 MB / 463.6 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.465e-05/1.144, allocations: 0 / 463.6 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005738/1.15, allocations: 1.177 MB / 464.8 MB, free: 15.51 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004032/1.154, allocations: 284.3 kB / 465.1 MB, free: 15.23 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02204/1.176, allocations: 5.542 MB / 470.6 MB, free: 9.641 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006403/1.182, allocations: 2.167 MB / 472.8 MB, free: 7.441 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001181/1.184, allocations: 95.41 kB / 472.9 MB, free: 7.348 MB / 346.7 MB Notification: Performance of SimCode: time 1.703e-06/1.184, allocations: 4 kB / 472.9 MB, free: 7.344 MB / 346.7 MB Notification: Performance of Templates: time 0.1628/1.346, allocations: 50.61 MB / 0.5113 GB, free: 4.668 MB / 394.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