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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009597/0.0009598, allocations: 97.52 kB / 16.93 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 182.8 kB / 17.83 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.521/1.521, allocations: 205.4 MB / 224 MB, free: 13.19 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004246/0.0004247, allocations: 12.78 kB / 280.7 MB, free: 3.77 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.096/0.09644, allocations: 47.59 MB / 328.3 MB, free: 4.109 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.006853/0.1033, allocations: 5.804 MB / 334.1 MB, free: 14.28 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004628/0.108, allocations: 2.12 MB / 336.3 MB, free: 12.15 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001343/0.1094, allocations: 39.81 kB / 336.3 MB, free: 12.11 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001471/0.1109, allocations: 350.1 kB / 336.6 MB, free: 11.77 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003109/0.114, allocations: 0.7164 MB / 337.4 MB, free: 11.05 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001236/0.1153, allocations: 259.6 kB / 337.6 MB, free: 10.79 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003731/0.119, allocations: 2.016 MB / 339.6 MB, free: 8.77 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002627/0.1216, allocations: 1.972 MB / 341.6 MB, free: 6.766 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001378/0.123, allocations: 0.9731 MB / 342.6 MB, free: 5.789 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001889/0.1249, allocations: 1.167 MB / 343.7 MB, free: 4.617 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004581/0.1254, allocations: 152 kB / 343.9 MB, free: 4.469 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008028/0.1262, allocations: 259.9 kB / 344.1 MB, free: 4.215 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005769/0.1268, allocations: 0.6152 MB / 344.8 MB, free: 3.598 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005246/0.1273, allocations: 0.5471 MB / 345.3 MB, free: 3.043 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00323/0.1306, allocations: 3.709 MB / 349 MB, free: 15.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.1306, allocations: 0 / 349 MB, free: 15.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1306, allocations: 0 / 349 MB, free: 15.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.585e-05/0.1307, allocations: 0 / 349 MB, free: 15.32 MB / 302.1 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.006699/0.1374, allocations: 3.145 MB / 352.2 MB, free: 12.12 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.1375, allocations: 8.031 kB / 352.2 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003373/0.1408, allocations: 0.6912 MB / 352.9 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003208/0.1441, allocations: 1.631 MB / 354.5 MB, free: 9.723 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000138/0.1442, allocations: 205.3 kB / 354.7 MB, free: 9.52 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003919/0.1446, allocations: 263.9 kB / 354.9 MB, free: 9.262 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00574/0.1504, allocations: 3.583 MB / 358.5 MB, free: 5.625 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4e-05/0.1504, allocations: 0 / 358.5 MB, free: 5.625 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002279/0.1507, allocations: 108 kB / 358.6 MB, free: 5.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.792e-05/0.1508, allocations: 105.4 kB / 358.7 MB, free: 5.414 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004942/0.1557, allocations: 3.097 MB / 361.8 MB, free: 2.305 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01738/0.1731, allocations: 10.55 MB / 372.4 MB, free: 7.406 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00529/0.1785, allocations: 4.676 MB / 377.1 MB, free: 2.078 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1669/0.3454, allocations: 2.505 MB / 379.6 MB, free: 49.16 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.3455, allocations: 47.48 kB / 379.6 MB, free: 49.12 MB / 318.1 MB Notification: Performance of pre-optimization done (n=108): time 3.026e-06/0.3455, allocations: 1.406 kB / 379.6 MB, free: 49.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=108): time 0.006173/0.3517, allocations: 2.768 MB / 382.4 MB, free: 48.85 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.3518, allocations: 92.61 kB / 382.5 MB, free: 48.75 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001832/0.3536, allocations: 1.352 MB / 383.8 MB, free: 48.58 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.522e-05/0.3537, allocations: 42.92 kB / 383.9 MB, free: 48.54 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006287/0.3543, allocations: 1.152 MB / 385 MB, free: 47.79 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002136/0.3545, allocations: 376.2 kB / 385.4 MB, free: 47.51 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.287e-05/0.3546, allocations: 28.31 kB / 385.4 MB, free: 47.49 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.412e-05/0.3547, allocations: 353.8 kB / 385.8 MB, free: 47.16 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009164/0.3556, allocations: 0.601 MB / 386.4 MB, free: 46.97 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001056/0.3567, allocations: 0.8539 MB / 387.2 MB, free: 46.48 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.3578, allocations: 0.7373 MB / 388 MB, free: 46.2 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.3578, allocations: 1.562 kB / 388 MB, free: 46.2 MB / 318.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003101/0.3609, allocations: 2.029 MB / 390 MB, free: 45.42 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.3609, allocations: 7.125 kB / 390 MB, free: 45.42 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.361, allocations: 7.594 kB / 390 MB, free: 45.42 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008827/0.3618, allocations: 408.1 kB / 390.4 MB, free: 45.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008233/0.3627, allocations: 231.5 kB / 390.6 MB, free: 45.3 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005799/0.3685, allocations: 6.225 MB / 396.8 MB, free: 41.06 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000928/0.3694, allocations: 144.3 kB / 397 MB, free: 40.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.291e-05/0.3695, allocations: 51.5 kB / 397 MB, free: 40.97 MB / 318.1 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.001293/0.3708, allocations: 0.8644 MB / 397.9 MB, free: 40.55 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002007/0.371, allocations: 138.1 kB / 398 MB, free: 40.48 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002463/0.3735, allocations: 1.747 MB / 399.8 MB, free: 39.79 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.3735, allocations: 11.69 kB / 399.8 MB, free: 39.79 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.3735, allocations: 8.375 kB / 399.8 MB, free: 39.79 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.3736, allocations: 7.844 kB / 399.8 MB, free: 39.79 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005323/0.3789, allocations: 4.1 MB / 403.9 MB, free: 37.31 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/0.3789, allocations: 2.375 kB / 403.9 MB, free: 37.31 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005766/0.3795, allocations: 154.9 kB / 404.1 MB, free: 37.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007585/0.3803, allocations: 401 kB / 404.5 MB, free: 37.08 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.567e-05/0.3803, allocations: 31.98 kB / 404.5 MB, free: 37.05 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005325/0.3857, allocations: 6.22 MB / 410.7 MB, free: 30.57 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.3857, allocations: 7.969 kB / 410.7 MB, free: 30.56 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003317/0.389, allocations: 2.687 MB / 413.4 MB, free: 27.82 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003543/0.3894, allocations: 243 kB / 413.6 MB, free: 27.56 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001548/0.3895, allocations: 39.08 kB / 413.7 MB, free: 27.53 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007123/0.3903, allocations: 95.91 kB / 413.8 MB, free: 27.43 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002021/0.3905, allocations: 104.6 kB / 413.9 MB, free: 27.33 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.271e-05/0.3906, allocations: 35.98 kB / 413.9 MB, free: 27.3 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001074/0.3916, allocations: 0.9392 MB / 414.8 MB, free: 26.35 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3916, allocations: 0 / 414.8 MB, free: 26.35 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001787/0.3934, allocations: 0.6843 MB / 415.5 MB, free: 25.66 MB / 318.1 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.0002816/0.3937, allocations: 154.1 kB / 415.7 MB, free: 25.51 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002528/0.3963, allocations: 1.853 MB / 417.5 MB, free: 23.63 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.3963, allocations: 0 / 417.5 MB, free: 23.63 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001435/0.3977, allocations: 1.164 MB / 418.7 MB, free: 22.44 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009962/0.3987, allocations: 279.8 kB / 419 MB, free: 22.16 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005947/0.4047, allocations: 5.582 MB / 424.6 MB, free: 16.54 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001294/0.406, allocations: 2.228 MB / 426.8 MB, free: 14.27 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0008025/0.4068, allocations: 346.9 kB / 427.1 MB, free: 13.93 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001991/0.407, allocations: 91.42 kB / 427.2 MB, free: 13.84 MB / 318.1 MB Notification: Performance of SimCode: time 9.02e-07/0.407, allocations: 0 / 427.2 MB, free: 13.84 MB / 318.1 MB Notification: Performance of Templates: time 0.02795/0.435, allocations: 19.22 MB / 446.4 MB, free: 10.63 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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