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.001346/0.001346, allocations: 196.3 kB / 17.38 MB, free: 4.43 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 226.6 MB / 244.7 MB, free: 8.164 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007163/0.0007162, allocations: 91.91 kB / 296.8 MB, free: 6.895 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000214/0.000214, allocations: 11.98 kB / 356.8 MB, free: 10.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2194, allocations: 51.29 MB / 408.1 MB, free: 27.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01022/0.2297, allocations: 14.38 MB / 422.4 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007558/0.2373, allocations: 4.306 MB / 426.7 MB, free: 8.973 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002331/0.2396, allocations: 119.7 kB / 426.9 MB, free: 8.855 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002561/0.2422, allocations: 0.8428 MB / 427.7 MB, free: 8.008 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004611/0.2468, allocations: 1.676 MB / 429.4 MB, free: 6.332 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00265/0.2495, allocations: 1.215 MB / 430.6 MB, free: 5.125 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01307/0.2626, allocations: 12.25 MB / 442.8 MB, free: 8.832 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03096/0.2936, allocations: 20.59 MB / 463.4 MB, free: 4.109 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005887/0.2995, allocations: 3.953 MB / 467.4 MB, free: 148 kB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006546/0.3061, allocations: 4.34 MB / 471.7 MB, free: 11.79 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002/0.3081, allocations: 0.5625 MB / 472.3 MB, free: 11.23 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003845/0.312, allocations: 0.8667 MB / 473.2 MB, free: 10.36 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001685/0.3137, allocations: 1.752 MB / 474.9 MB, free: 8.602 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007247/0.3209, allocations: 4.089 MB / 479 MB, free: 4.488 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0158/0.3368, allocations: 15.42 MB / 494.4 MB, free: 5.027 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.655e-06/0.3368, allocations: 0 / 494.4 MB, free: 5.027 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.577e-06/0.3368, allocations: 0 / 494.4 MB, free: 5.027 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0005344/0.3374, allocations: 0 / 494.4 MB, free: 5.027 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.02778/0.3651, allocations: 10.28 MB / 0.4929 GB, free: 10.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3652, allocations: 12.03 kB / 0.4929 GB, free: 10.65 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03268/0.3979, allocations: 6.237 MB / 0.499 GB, free: 4.398 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3428/0.7408, allocations: 5.669 MB / 0.5045 GB, free: 76.29 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006111/0.7414, allocations: 0.6725 MB / 0.5052 GB, free: 76.27 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002893/0.7443, allocations: 0.8735 MB / 0.506 GB, free: 76.01 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02648/0.7708, allocations: 14.68 MB / 0.5204 GB, free: 70.48 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001643/0.771, allocations: 10.22 kB / 0.5204 GB, free: 70.48 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008515/0.7719, allocations: 373.3 kB / 0.5207 GB, free: 70.2 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003328/0.7722, allocations: 0.4887 MB / 0.5212 GB, free: 70.15 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01949/0.7917, allocations: 13.49 MB / 0.5344 GB, free: 58.6 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05611/0.8479, allocations: 45.2 MB / 0.5785 GB, free: 12.73 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009946/0.8579, allocations: 11.69 MB / 0.5899 GB, free: 15.95 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005467/0.8634, allocations: 3.218 MB / 0.5931 GB, free: 12.73 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004393/0.8638, allocations: 257.6 kB / 0.5933 GB, free: 12.46 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.199e-05/0.8639, allocations: 82.56 kB / 0.5934 GB, free: 12.37 MB / 394.8 MB Notification: Performance of pre-optimization done (n=421): time 6.442e-06/0.8639, allocations: 0 / 0.5934 GB, free: 12.37 MB / 394.8 MB Notification: Performance of matching and sorting (n=421): time 0.02082/0.8848, allocations: 9.723 MB / 0.6029 GB, free: 2.602 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/0.8849, allocations: 121.1 kB / 0.603 GB, free: 2.465 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005262/0.8902, allocations: 3.128 MB / 0.6061 GB, free: 15.32 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007779/0.891, allocations: 93.7 kB / 0.6062 GB, free: 15.22 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002765/0.8938, allocations: 3.671 MB / 0.6097 GB, free: 11.52 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002164/0.896, allocations: 1.433 MB / 0.6111 GB, free: 10.1 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000384/0.8964, allocations: 120 kB / 0.6113 GB, free: 9.984 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0004368/0.8968, allocations: 0.5459 MB / 0.6118 GB, free: 9.43 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004838/0.9017, allocations: 2.888 MB / 0.6146 GB, free: 6.535 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006314/0.908, allocations: 4.955 MB / 0.6194 GB, free: 0.6367 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01133/0.9193, allocations: 8.366 MB / 0.6276 GB, free: 7.309 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.396e-05/0.9195, allocations: 16 kB / 0.6276 GB, free: 7.293 MB / 426.8 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01694/0.9364, allocations: 9.195 MB / 0.6366 GB, free: 14.04 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.582e-05/0.9365, allocations: 32 kB / 0.6366 GB, free: 14.01 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001324/0.9367, allocations: 68 kB / 0.6367 GB, free: 13.95 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003008/0.9397, allocations: 1.123 MB / 0.6378 GB, free: 12.82 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004378/0.9441, allocations: 1.295 MB / 0.6391 GB, free: 11.52 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01411/0.9582, allocations: 9.922 MB / 0.6488 GB, free: 1.324 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004334/0.9626, allocations: 0.7394 MB / 0.6495 GB, free: 0.5781 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009472/0.9635, allocations: 280 kB / 0.6497 GB, free: 312 kB / 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.006443/0.97, allocations: 3.435 MB / 0.6531 GB, free: 12.85 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008752/0.9709, allocations: 351.7 kB / 0.6534 GB, free: 12.5 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01222/0.9831, allocations: 7 MB / 0.6603 GB, free: 5.445 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00892/0.9921, allocations: 5.855 MB / 0.666 GB, free: 15.54 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.452e-05/0.9921, allocations: 12 kB / 0.666 GB, free: 15.53 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-05/0.9922, allocations: 23.91 kB / 0.666 GB, free: 15.5 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2533/1.245, allocations: 15.51 MB / 0.6812 GB, free: 152.2 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001129/1.246, allocations: 13.16 kB / 0.6812 GB, free: 152.2 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005399/1.251, allocations: 0.7879 MB / 0.682 GB, free: 152.2 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003046/1.254, allocations: 1.026 MB / 0.683 GB, free: 152.2 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006779/1.255, allocations: 111.9 kB / 0.6831 GB, free: 152.2 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01797/1.273, allocations: 9.675 MB / 0.6925 GB, free: 148.3 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.71e-05/1.273, allocations: 24.62 kB / 0.6925 GB, free: 148.3 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02164/1.295, allocations: 10.87 MB / 0.7031 GB, free: 143.8 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002757/1.297, allocations: 1.011 MB / 0.7041 GB, free: 143.3 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007951/1.298, allocations: 95.03 kB / 0.7042 GB, free: 143.2 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003315/1.301, allocations: 278.7 kB / 0.7045 GB, free: 143.1 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009023/1.302, allocations: 342.2 kB / 0.7048 GB, free: 143.1 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000391/1.303, allocations: 145.9 kB / 0.705 GB, free: 143 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.004433/1.307, allocations: 2.102 MB / 0.707 GB, free: 142.3 MB / 474.8 MB Notification: Performance of sort global known variables: time 2.91e-07/1.307, allocations: 0 / 0.707 GB, free: 142.3 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.008951/1.316, allocations: 2.227 MB / 0.7092 GB, free: 141.6 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.001058/1.317, allocations: 296.4 kB / 0.7095 GB, free: 141.4 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.01611/1.333, allocations: 7.545 MB / 0.7168 GB, free: 138.6 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.257e-05/1.334, allocations: 7.25 kB / 0.7168 GB, free: 138.6 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.008228/1.342, allocations: 3.711 MB / 0.7205 GB, free: 136.7 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01286/1.355, allocations: 0.7716 MB / 0.7212 GB, free: 136 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04287/1.398, allocations: 18.95 MB / 0.7397 GB, free: 118.5 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0103/1.408, allocations: 5.754 MB / 0.7453 GB, free: 113.5 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002893/1.411, allocations: 359.4 kB / 0.7457 GB, free: 113.2 MB / 474.8 MB Notification: Performance of SimCode: time 2.104e-06/1.411, allocations: 0 / 0.7457 GB, free: 113.2 MB / 474.8 MB Notification: Performance of Templates: time 0.433/1.844, allocations: 193.7 MB / 0.9349 GB, free: 87.62 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