Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009095/0.0009095, allocations: 196.9 kB / 17.05 MB, free: 5.102 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 226.6 MB / 244.3 MB, free: 8.207 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007426/0.0007427, allocations: 98.97 kB / 296.4 MB, free: 6.953 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000199/0.0001991, allocations: 4 kB / 356.2 MB, free: 11.15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1741, allocations: 51.29 MB / 407.5 MB, free: 27.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.00895/0.1831, allocations: 14.3 MB / 421.8 MB, free: 13.44 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005105/0.1882, allocations: 4.292 MB / 426.1 MB, free: 9.145 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008048/0.1891, allocations: 123.7 kB / 426.2 MB, free: 9.023 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001357/0.1904, allocations: 0.8506 MB / 427.1 MB, free: 8.168 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002542/0.193, allocations: 1.645 MB / 428.7 MB, free: 6.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001917/0.1949, allocations: 1.223 MB / 429.9 MB, free: 5.305 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.009798/0.2047, allocations: 12.24 MB / 442.2 MB, free: 9.031 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02547/0.2302, allocations: 17.37 MB / 459.5 MB, free: 7.566 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005324/0.2355, allocations: 3.972 MB / 463.5 MB, free: 3.582 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006376/0.2419, allocations: 4.332 MB / 467.8 MB, free: 15.23 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001997/0.244, allocations: 0.5625 MB / 468.4 MB, free: 14.67 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003178/0.2471, allocations: 0.8589 MB / 469.3 MB, free: 13.81 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001422/0.2486, allocations: 1.76 MB / 471 MB, free: 12.05 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001926/0.2505, allocations: 1.771 MB / 472.8 MB, free: 10.27 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01224/0.2628, allocations: 15.41 MB / 488.2 MB, free: 10.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.2628, allocations: 4 kB / 488.2 MB, free: 10.81 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.2628, allocations: 3.938 kB / 488.2 MB, free: 10.81 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002983/0.2631, allocations: 4 kB / 488.2 MB, free: 10.8 MB / 362.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.02653/0.2896, allocations: 10.36 MB / 498.6 MB, free: 372 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.2897, allocations: 12.03 kB / 498.6 MB, free: 360 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03295/0.3227, allocations: 6.239 MB / 0.493 GB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01131/0.334, allocations: 5.613 MB / 0.4985 GB, free: 4.418 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006451/0.3347, allocations: 0.6703 MB / 0.4991 GB, free: 3.746 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002662/0.3374, allocations: 0.8827 MB / 0.5 GB, free: 2.863 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.326/0.6633, allocations: 14.68 MB / 0.5143 GB, free: 71.53 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001556/0.6635, allocations: 6.781 kB / 0.5143 GB, free: 71.53 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008561/0.6644, allocations: 371.6 kB / 0.5147 GB, free: 71.25 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003459/0.6648, allocations: 497.1 kB / 0.5152 GB, free: 71.2 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01819/0.683, allocations: 13.49 MB / 0.5283 GB, free: 64.09 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0562/0.7392, allocations: 45.18 MB / 0.5725 GB, free: 18.21 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009344/0.7486, allocations: 11.68 MB / 0.5839 GB, free: 5.422 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003653/0.7523, allocations: 3.217 MB / 0.587 GB, free: 2.211 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000356/0.7526, allocations: 265.5 kB / 0.5873 GB, free: 1.926 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5e-05/0.7527, allocations: 82.52 kB / 0.5873 GB, free: 1.836 MB / 378.8 MB Notification: Performance of pre-optimization done (n=421): time 6.442e-06/0.7527, allocations: 0 / 0.5873 GB, free: 1.836 MB / 378.8 MB Notification: Performance of matching and sorting (n=421): time 0.02427/0.777, allocations: 10.99 MB / 0.5981 GB, free: 6.797 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.501e-05/0.7771, allocations: 133 kB / 0.5982 GB, free: 6.648 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005563/0.7827, allocations: 3.128 MB / 0.6013 GB, free: 3.5 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002901/0.783, allocations: 89.7 kB / 0.6013 GB, free: 3.406 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002343/0.7853, allocations: 3.679 MB / 0.6049 GB, free: 15.7 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001258/0.7866, allocations: 1.43 MB / 0.6063 GB, free: 14.29 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004155/0.787, allocations: 120 kB / 0.6064 GB, free: 14.17 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0003801/0.7874, allocations: 0.542 MB / 0.607 GB, free: 13.62 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004294/0.7917, allocations: 2.888 MB / 0.6098 GB, free: 10.72 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005946/0.7977, allocations: 4.956 MB / 0.6146 GB, free: 4.824 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005674/0.8034, allocations: 4.009 MB / 0.6186 GB, free: 0.793 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.112e-05/0.8034, allocations: 20 kB / 0.6186 GB, free: 0.7734 MB / 410.8 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01482/0.8183, allocations: 9.18 MB / 0.6275 GB, free: 7.539 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.138e-05/0.8184, allocations: 32 kB / 0.6276 GB, free: 7.508 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001113/0.8185, allocations: 71.98 kB / 0.6276 GB, free: 7.438 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003098/0.8216, allocations: 1.138 MB / 0.6287 GB, free: 6.293 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004339/0.8259, allocations: 1.283 MB / 0.63 GB, free: 5.008 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01371/0.8397, allocations: 9.93 MB / 0.6397 GB, free: 10.8 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004315/0.844, allocations: 0.7278 MB / 0.6404 GB, free: 10.07 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001016/0.845, allocations: 288 kB / 0.6407 GB, free: 9.789 MB / 442.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.006624/0.8517, allocations: 3.423 MB / 0.644 GB, free: 6.352 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001078/0.8528, allocations: 351.6 kB / 0.6444 GB, free: 6.004 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01306/0.8658, allocations: 7.031 MB / 0.6512 GB, free: 14.91 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009736/0.8756, allocations: 5.839 MB / 0.6569 GB, free: 9.02 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.224e-05/0.8757, allocations: 8 kB / 0.6569 GB, free: 9.012 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.056e-05/0.8758, allocations: 23.92 kB / 0.657 GB, free: 8.988 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03173/0.9075, allocations: 15.52 MB / 0.6721 GB, free: 9.312 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.807e-05/0.9077, allocations: 12 kB / 0.6721 GB, free: 9.301 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003342/0.911, allocations: 0.784 MB / 0.6729 GB, free: 8.516 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003131/0.9142, allocations: 1.02 MB / 0.6739 GB, free: 7.488 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007969/0.915, allocations: 116 kB / 0.674 GB, free: 7.375 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2674/1.182, allocations: 9.663 MB / 0.6834 GB, free: 151.5 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-05/1.182, allocations: 16.16 kB / 0.6835 GB, free: 151.5 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01652/1.199, allocations: 10.89 MB / 0.6941 GB, free: 148.1 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002516/1.202, allocations: 1.014 MB / 0.6951 GB, free: 147.7 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006345/1.202, allocations: 96.16 kB / 0.6952 GB, free: 147.6 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002631/1.205, allocations: 281.3 kB / 0.6954 GB, free: 147.6 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007227/1.206, allocations: 344.8 kB / 0.6958 GB, free: 147.5 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004888/1.206, allocations: 144.2 kB / 0.6959 GB, free: 147.5 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.003494/1.21, allocations: 2.103 MB / 0.698 GB, free: 146.7 MB / 474.8 MB Notification: Performance of sort global known variables: time 3.7e-07/1.21, allocations: 0 / 0.698 GB, free: 146.7 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.007028/1.217, allocations: 2.221 MB / 0.7001 GB, free: 146 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * 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 (421): * Single equations (assignments): 411 * 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.0008581/1.218, allocations: 302.2 kB / 0.7004 GB, free: 145.8 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.01196/1.229, allocations: 7.544 MB / 0.7078 GB, free: 143 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.792e-05/1.23, allocations: 0 / 0.7078 GB, free: 143 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006158/1.236, allocations: 3.709 MB / 0.7114 GB, free: 141.5 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006623/1.242, allocations: 0.7788 MB / 0.7122 GB, free: 141.2 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03552/1.278, allocations: 18.94 MB / 0.7307 GB, free: 126 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005361/1.283, allocations: 5.766 MB / 0.7363 GB, free: 121.5 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001764/1.285, allocations: 370.3 kB / 0.7366 GB, free: 121.1 MB / 474.8 MB Notification: Performance of SimCode: time 2.094e-06/1.285, allocations: 0 / 0.7366 GB, free: 121.1 MB / 474.8 MB Notification: Performance of Templates: time 0.4086/1.694, allocations: 194 MB / 0.9261 GB, free: 97.48 MB / 474.8 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches