Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.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.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.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.002716/0.002715, allocations: 188.8 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.442/3.442, allocations: 205.4 MB / 222.5 MB, free: 13.86 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.002066/0.002066, allocations: 98.84 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006639/0.0006642, allocations: 8 kB / 327 MB, free: 15.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1733, allocations: 47.58 MB / 374.6 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.04005/0.2135, allocations: 13.21 MB / 387.8 MB, free: 2.164 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.4782/0.6918, allocations: 4.387 MB / 392.2 MB, free: 8.512 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005683/0.6976, allocations: 107.6 kB / 392.3 MB, free: 8.512 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007369/0.705, allocations: 0.901 MB / 393.2 MB, free: 8.512 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01388/0.719, allocations: 1.535 MB / 394.7 MB, free: 8.492 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009601/0.7286, allocations: 1.277 MB / 396 MB, free: 8.461 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.03101/0.7597, allocations: 9.12 MB / 405.1 MB, free: 7.781 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06495/0.8247, allocations: 17.19 MB / 422.3 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01454/0.8393, allocations: 3.575 MB / 425.9 MB, free: 9.75 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01523/0.8546, allocations: 3.923 MB / 429.8 MB, free: 5.812 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004322/0.859, allocations: 0.5625 MB / 430.3 MB, free: 5.25 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00842/0.8675, allocations: 0.7889 MB / 431.1 MB, free: 4.469 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006232/0.8738, allocations: 1.713 MB / 432.8 MB, free: 2.75 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007358/0.8812, allocations: 1.771 MB / 434.6 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03796/0.9193, allocations: 15.22 MB / 449.8 MB, free: 1.738 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.9194, allocations: 2.625 kB / 449.8 MB, free: 1.738 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.979e-06/0.9194, allocations: 0 / 449.8 MB, free: 1.738 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0006098/0.92, allocations: 3.938 kB / 449.8 MB, free: 1.734 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2497 * Number of variables: 2497 Notification: Performance of Generate backend data structure: time 0.06922/0.9893, allocations: 10.31 MB / 460.1 MB, free: 7.371 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.705e-05/0.9894, allocations: 8.031 kB / 460.2 MB, free: 7.363 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09793/1.087, allocations: 6.267 MB / 466.4 MB, free: 1.078 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02688/1.114, allocations: 5.099 MB / 471.5 MB, free: 11.92 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001714/1.116, allocations: 0.6741 MB / 472.2 MB, free: 11.24 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006696/1.123, allocations: 0.8749 MB / 473.1 MB, free: 10.37 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07807/1.201, allocations: 14.59 MB / 487.7 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007353/1.202, allocations: 15.84 kB / 487.7 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005553/1.207, allocations: 368 kB / 488 MB, free: 11.35 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001392/1.209, allocations: 0.4992 MB / 488.5 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06902/1.278, allocations: 13.48 MB / 0.4903 GB, free: 13.33 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.051/2.329, allocations: 44.69 MB / 0.5339 GB, free: 102.5 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03284/2.361, allocations: 11.69 MB / 0.5453 GB, free: 95.71 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001181/2.363, allocations: 179 kB / 0.5455 GB, free: 95.62 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001516/2.363, allocations: 80.44 kB / 0.5456 GB, free: 95.58 MB / 410.8 MB Notification: Performance of pre-optimization done (n=421): time 1.432e-05/2.363, allocations: 0 / 0.5456 GB, free: 95.58 MB / 410.8 MB Notification: Performance of matching and sorting (n=421): time 0.05884/2.422, allocations: 10.31 MB / 0.5556 GB, free: 94.41 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001465/2.422, allocations: 125 kB / 0.5557 GB, free: 94.3 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01167/2.434, allocations: 3.13 MB / 0.5588 GB, free: 93.27 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001301/2.435, allocations: 93.52 kB / 0.5589 GB, free: 93.19 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004616/2.44, allocations: 3.611 MB / 0.5624 GB, free: 90.51 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003329/2.443, allocations: 1.432 MB / 0.5638 GB, free: 89.41 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001636/2.445, allocations: 119.8 kB / 0.5639 GB, free: 89.32 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0009826/2.446, allocations: 0.5515 MB / 0.5645 GB, free: 88.9 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01241/2.458, allocations: 2.901 MB / 0.5673 GB, free: 87.88 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01538/2.474, allocations: 4.953 MB / 0.5721 GB, free: 84.2 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01524/2.489, allocations: 4.024 MB / 0.5761 GB, free: 82.52 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001428/2.489, allocations: 23.53 kB / 0.5761 GB, free: 82.51 MB / 410.8 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.03997/2.529, allocations: 9.086 MB / 0.585 GB, free: 79.04 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001222/2.53, allocations: 33.19 kB / 0.585 GB, free: 79.04 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002153/2.53, allocations: 71.47 kB / 0.5851 GB, free: 79.04 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008554/2.538, allocations: 1.111 MB / 0.5861 GB, free: 78.83 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01313/2.552, allocations: 1.298 MB / 0.5874 GB, free: 78.7 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03459/2.586, allocations: 10.07 MB / 0.5972 GB, free: 71.7 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01063/2.597, allocations: 0.7374 MB / 0.598 GB, free: 71.2 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002117/2.599, allocations: 282.6 kB / 0.5982 GB, free: 71.13 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 303 * 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 (681): * Single equations (assignments): 671 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(6,100.0%) 24,(5,80.0%) 33} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0139/2.613, allocations: 3.424 MB / 0.6016 GB, free: 67.69 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001978/2.615, allocations: 351.6 kB / 0.6019 GB, free: 67.34 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03119/2.646, allocations: 7.054 MB / 0.6088 GB, free: 60.23 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02541/2.672, allocations: 5.859 MB / 0.6145 GB, free: 54.32 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001139/2.672, allocations: 15.95 kB / 0.6145 GB, free: 54.3 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000187/2.672, allocations: 23.92 kB / 0.6146 GB, free: 54.28 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06703/2.739, allocations: 15.11 MB / 0.6293 GB, free: 39.09 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.399e-05/2.739, allocations: 11.98 kB / 0.6293 GB, free: 39.07 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009196/2.749, allocations: 0.7607 MB / 0.6301 GB, free: 38.31 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008347/2.757, allocations: 1.012 MB / 0.6311 GB, free: 37.29 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001537/2.759, allocations: 104 kB / 0.6312 GB, free: 37.19 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03365/2.792, allocations: 9.954 MB / 0.6409 GB, free: 26.98 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.349e-05/2.793, allocations: 8 kB / 0.6409 GB, free: 26.97 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04212/2.835, allocations: 11.15 MB / 0.6518 GB, free: 15.43 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005356/2.84, allocations: 0.9912 MB / 0.6527 GB, free: 14.41 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00258/2.843, allocations: 87.98 kB / 0.6528 GB, free: 14.33 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007417/2.85, allocations: 271.8 kB / 0.6531 GB, free: 14.06 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002534/2.853, allocations: 311.4 kB / 0.6534 GB, free: 13.76 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001504/2.854, allocations: 131.9 kB / 0.6535 GB, free: 13.63 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.008619/2.863, allocations: 2.097 MB / 0.6556 GB, free: 11.53 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.082e-06/2.863, allocations: 0 / 0.6556 GB, free: 11.53 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.01697/2.88, allocations: 2.231 MB / 0.6577 GB, free: 9.289 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (sineVoltage_m.plug_p.reference.gamma,sineVoltage_e.plug_p.reference.gamma) * 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 (401): * Single equations (assignments): 391 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(6,100.0%) 24,(5,80.0%) 33} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002172/2.882, allocations: 289.1 kB / 0.658 GB, free: 9.012 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.02985/2.912, allocations: 7.535 MB / 0.6654 GB, free: 1.43 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-05/2.912, allocations: 0 / 0.6654 GB, free: 1.43 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01724/2.93, allocations: 3.662 MB / 0.6689 GB, free: 13.75 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009904/2.94, allocations: 0.6857 MB / 0.6696 GB, free: 13.07 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07719/3.017, allocations: 18.66 MB / 0.6878 GB, free: 10.28 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0206/3.038, allocations: 5.881 MB / 0.6936 GB, free: 4.359 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004379/3.042, allocations: 359.4 kB / 0.6939 GB, free: 4.008 MB / 442.8 MB Notification: Performance of SimCode: time 3.096e-06/3.042, allocations: 8 kB / 0.6939 GB, free: 4 MB / 442.8 MB Notification: Performance of Templates: time 1.498/4.54, allocations: 186.1 MB / 0.8756 GB, free: 140.8 MB / 458.8 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.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/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches