Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_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_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_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001021/0.001021, allocations: 204.5 kB / 8.542 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.291/1.291, allocations: 225.5 MB / 234.4 MB, free: 3.297 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008285/0.0008286, allocations: 92.28 kB / 286.3 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.133e-06/7.153e-06, allocations: 0 / 343.1 MB, free: 8.672 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1012, allocations: 51.48 MB / 394.6 MB, free: 5.145 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2777/0.3789, allocations: 100.8 MB / 495.5 MB, free: 8.469 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002098/0.3792, allocations: 83.8 kB / 495.5 MB, free: 8.426 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.9731/1.352, allocations: 322.7 MB / 0.7991 GB, free: 44.36 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0006313/1.353, allocations: 196.4 kB / 0.7993 GB, free: 44.34 MB / 442.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.02981/1.383, allocations: 8.667 MB / 0.8077 GB, free: 41.82 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/1.383, allocations: 11.56 kB / 0.8077 GB, free: 41.81 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02399/1.407, allocations: 3.902 MB / 0.8115 GB, free: 41.32 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01395/1.421, allocations: 6.024 MB / 0.8174 GB, free: 40.28 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005599/1.421, allocations: 287.5 kB / 0.8177 GB, free: 40.27 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00298/1.424, allocations: 0.4904 MB / 0.8182 GB, free: 40.27 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02428/1.449, allocations: 11.58 MB / 0.8295 GB, free: 40.23 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03202/1.481, allocations: 13.19 MB / 0.8424 GB, free: 37.07 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002672/1.481, allocations: 7.25 kB / 0.8424 GB, free: 37.07 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001654/1.483, allocations: 10.12 kB / 0.8424 GB, free: 37.07 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006102/1.483, allocations: 0.7168 MB / 0.8431 GB, free: 36.89 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07359/1.557, allocations: 44.17 MB / 0.8862 GB, free: 7.23 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006646/1.564, allocations: 5.16 MB / 0.8913 GB, free: 2.641 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00429/1.568, allocations: 3.232 MB / 0.8944 GB, free: 15.85 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005232/1.568, allocations: 264.4 kB / 0.8947 GB, free: 15.59 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.614e-05/1.569, allocations: 78.56 kB / 0.8947 GB, free: 15.51 MB / 458.7 MB Notification: Performance of pre-optimization done (n=421): time 5.75e-06/1.569, allocations: 4 kB / 0.8947 GB, free: 15.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=421): time 0.01483/1.583, allocations: 6.509 MB / 0.9011 GB, free: 10.02 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.197e-05/1.584, allocations: 127.9 kB / 0.9012 GB, free: 9.883 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005038/1.589, allocations: 2.662 MB / 0.9038 GB, free: 7.555 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000844/1.589, allocations: 29.7 kB / 0.9039 GB, free: 7.52 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002078/1.592, allocations: 3.38 MB / 0.9072 GB, free: 4.535 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00194/1.593, allocations: 1.382 MB / 0.9085 GB, free: 3.266 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003913/1.594, allocations: 4 kB / 0.9085 GB, free: 3.262 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003882/1.594, allocations: 0.5431 MB / 0.909 GB, free: 2.781 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004236/1.599, allocations: 3.082 MB / 0.912 GB, free: 76 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2196/1.818, allocations: 5.474 MB / 0.9174 GB, free: 95.68 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007873/1.826, allocations: 4.409 MB / 0.9217 GB, free: 95.63 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000112/1.826, allocations: 17.06 kB / 0.9217 GB, free: 95.63 MB / 458.7 MB Notification: Performance of matching and sorting (n=754) (initialization): time 0.01923/1.845, allocations: 9.33 MB / 0.9308 GB, free: 95.46 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/1.845, allocations: 3.938 kB / 0.9308 GB, free: 95.46 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001748/1.846, allocations: 68.88 kB / 0.9309 GB, free: 95.46 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003318/1.849, allocations: 1.102 MB / 0.932 GB, free: 95.45 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005916/1.855, allocations: 1.27 MB / 0.9332 GB, free: 95.45 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01179/1.867, allocations: 9.067 MB / 0.9421 GB, free: 92.91 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005634/1.872, allocations: 0.5962 MB / 0.9426 GB, free: 92.82 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001456/1.874, allocations: 285.6 kB / 0.9429 GB, free: 92.82 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 302 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (680): * Single equations (assignments): 670 * 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.001084/1.875, allocations: 283.3 kB / 0.9432 GB, free: 92.72 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007894/1.876, allocations: 346.2 kB / 0.9435 GB, free: 92.54 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01296/1.889, allocations: 7.63 MB / 0.951 GB, free: 92.25 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00972/1.898, allocations: 6.25 MB / 0.9571 GB, free: 92.04 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.668e-05/1.899, allocations: 11.16 kB / 0.9571 GB, free: 92.04 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-05/1.899, allocations: 22.73 kB / 0.9571 GB, free: 92.04 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0253/1.924, allocations: 14.93 MB / 0.9717 GB, free: 90.71 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.23e-05/1.924, allocations: 13.59 kB / 0.9717 GB, free: 90.71 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003274/1.927, allocations: 0.7732 MB / 0.9725 GB, free: 90.71 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002863/1.93, allocations: 1.025 MB / 0.9735 GB, free: 90.68 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004006/1.931, allocations: 54.89 kB / 0.9735 GB, free: 90.67 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01086/1.941, allocations: 8.872 MB / 0.9822 GB, free: 87.93 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.781e-05/1.941, allocations: 25 kB / 0.9822 GB, free: 87.93 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01889/1.96, allocations: 12.98 MB / 0.9949 GB, free: 84.17 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003044/1.963, allocations: 1.058 MB / 0.9959 GB, free: 83.66 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008256/1.964, allocations: 21.5 kB / 0.9959 GB, free: 83.66 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002575/1.967, allocations: 178 kB / 0.9961 GB, free: 83.66 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005216/1.967, allocations: 281.6 kB / 0.9964 GB, free: 83.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003729/1.968, allocations: 145.2 kB / 0.9965 GB, free: 83.57 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.002953/1.971, allocations: 1.961 MB / 0.9984 GB, free: 82.82 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006734/1.977, allocations: 2.06 MB / 1 GB, free: 82.55 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * Number of states: 2 (converter_m.port_p.reference.gamma,loss_e.conductor[1].pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete 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.000788/1.978, allocations: 234.8 kB / 1.001 GB, free: 82.44 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01095/1.989, allocations: 7.671 MB / 1.008 GB, free: 79.71 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.405e-05/1.989, allocations: 5.516 kB / 1.008 GB, free: 79.71 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005906/1.995, allocations: 3.714 MB / 1.012 GB, free: 78.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003594/1.999, allocations: 0.5832 MB / 1.012 GB, free: 78.16 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0285/2.027, allocations: 13.95 MB / 1.026 GB, free: 71.35 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009335/2.037, allocations: 6.407 MB / 1.032 GB, free: 66.38 MB / 458.7 MB Notification: Performance of SimCode: time 1.573e-06/2.037, allocations: 0 / 1.032 GB, free: 66.38 MB / 458.7 MB Notification: Performance of Templates: time 0.1086/2.145, allocations: 70.59 MB / 1.101 GB, free: 14.91 MB / 458.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches