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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001534/0.001534, allocations: 113.9 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001882/0.001883, allocations: 204 kB / 19.41 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 63.88 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2079, allocations: 50.55 MB / 410 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01683/0.2248, allocations: 16.61 MB / 426.6 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008788/0.2336, allocations: 4.7 MB / 431.3 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002301/0.2359, allocations: 135.6 kB / 431.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01508/0.251, allocations: 7.159 MB / 438.6 MB, free: 4.848 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005798/0.2568, allocations: 1.954 MB / 440.5 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003776/0.2606, allocations: 1.545 MB / 442.1 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01026/0.2709, allocations: 9.496 MB / 451.6 MB, free: 7.812 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02782/0.2987, allocations: 20.84 MB / 472.4 MB, free: 2.824 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006581/0.3053, allocations: 5.249 MB / 477.6 MB, free: 13.56 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008044/0.3134, allocations: 5.915 MB / 483.6 MB, free: 7.629 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002982/0.3164, allocations: 1.359 MB / 484.9 MB, free: 6.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004258/0.3207, allocations: 1.664 MB / 486.6 MB, free: 4.605 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003286/0.324, allocations: 2.794 MB / 489.4 MB, free: 1.805 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006253/0.3303, allocations: 5.354 MB / 494.7 MB, free: 12.43 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01575/0.346, allocations: 18.37 MB / 0.5011 GB, free: 10.01 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3461, allocations: 0 / 0.5011 GB, free: 10.01 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3461, allocations: 0 / 0.5011 GB, free: 10.01 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003144/0.3464, allocations: 0 / 0.5011 GB, free: 10.01 MB / 430.1 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.03045/0.3768, allocations: 12.13 MB / 0.5129 GB, free: 13.79 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.3769, allocations: 8.031 kB / 0.5129 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03677/0.4137, allocations: 6.264 MB / 0.519 GB, free: 7.504 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01266/0.4264, allocations: 5.823 MB / 0.5247 GB, free: 1.617 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005509/0.4269, allocations: 0.6665 MB / 0.5254 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002363/0.4293, allocations: 0.8788 MB / 0.5262 GB, free: 72 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02844/0.4577, allocations: 14.71 MB / 0.5406 GB, free: 1.309 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002339/0.458, allocations: 15.91 kB / 0.5406 GB, free: 1.293 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001606/0.4596, allocations: 372 kB / 0.541 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004736/0.4601, allocations: 0.4953 MB / 0.5414 GB, free: 440 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3452/0.8054, allocations: 13.52 MB / 0.5547 GB, free: 109.1 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04633/0.8517, allocations: 44.55 MB / 0.5982 GB, free: 68.21 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008672/0.8604, allocations: 11.64 MB / 0.6095 GB, free: 55.48 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003392/0.8638, allocations: 3.17 MB / 0.6126 GB, free: 52.32 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000317/0.8642, allocations: 257 kB / 0.6129 GB, free: 52.05 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.691e-05/0.8642, allocations: 78.56 kB / 0.6129 GB, free: 51.96 MB / 462.1 MB Notification: Performance of pre-optimization done (n=409): time 6.392e-06/0.8643, allocations: 0 / 0.6129 GB, free: 51.96 MB / 462.1 MB Notification: Performance of matching and sorting (n=409): time 0.01692/0.8812, allocations: 9.577 MB / 0.6223 GB, free: 42.36 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.8812, allocations: 117.1 kB / 0.6224 GB, free: 42.23 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003911/0.8852, allocations: 3.163 MB / 0.6255 GB, free: 39.05 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002181/0.8854, allocations: 93.7 kB / 0.6256 GB, free: 38.95 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001327/0.8867, allocations: 3.69 MB / 0.6292 GB, free: 35.23 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007678/0.8875, allocations: 1.394 MB / 0.6306 GB, free: 33.85 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001441/0.889, allocations: 1.12 MB / 0.6316 GB, free: 32.72 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.023e-05/0.889, allocations: 301.1 kB / 0.6319 GB, free: 32.42 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003318/0.8923, allocations: 2.841 MB / 0.6347 GB, free: 29.57 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003962/0.8963, allocations: 4.892 MB / 0.6395 GB, free: 23.74 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007583/0.9039, allocations: 8.263 MB / 0.6476 GB, free: 14.54 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.963e-05/0.9039, allocations: 16 kB / 0.6476 GB, free: 14.53 MB / 462.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01202/0.916, allocations: 9.115 MB / 0.6565 GB, free: 5.395 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.62e-05/0.916, allocations: 32 kB / 0.6565 GB, free: 5.363 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.897e-05/0.9161, allocations: 75.97 kB / 0.6566 GB, free: 5.289 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002905/0.919, allocations: 1.142 MB / 0.6577 GB, free: 4.141 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00389/0.9229, allocations: 1.291 MB / 0.6589 GB, free: 2.848 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01389/0.9368, allocations: 10.81 MB / 0.6695 GB, free: 7.777 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003771/0.9406, allocations: 0.7318 MB / 0.6702 GB, free: 7.039 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006917/0.9413, allocations: 279.9 kB / 0.6705 GB, free: 6.766 MB / 478.1 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 (675): * Single equations (assignments): 671 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,24,100.0%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005253/0.9466, allocations: 3.427 MB / 0.6738 GB, free: 3.324 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007526/0.9473, allocations: 347.7 kB / 0.6742 GB, free: 2.98 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0119/0.9593, allocations: 6.905 MB / 0.6809 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.989e-05/0.9593, allocations: 23.92 kB / 0.6809 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/0.9593, allocations: 3.984 kB / 0.6809 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0018/0.9611, allocations: 0.9407 MB / 0.6819 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005475/0.9617, allocations: 72 kB / 0.6819 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001949/0.9636, allocations: 259.9 kB / 0.6822 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005316/0.9642, allocations: 307.5 kB / 0.6825 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01127/0.9755, allocations: 6.594 MB / 0.6889 GB, free: 3.895 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01097/0.9865, allocations: 8.143 MB / 0.6969 GB, free: 11.7 MB / 0.4982 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003177/0.9896, allocations: 2.498 MB / 0.6993 GB, free: 9.199 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.003303/0.993, allocations: 2.121 MB / 0.7014 GB, free: 7.074 MB / 0.4982 GB Notification: Performance of Backend: time 3.61e-07/0.993, allocations: 0 / 0.7014 GB, free: 7.074 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.00993/1.003, allocations: 5.399 MB / 0.7066 GB, free: 1.66 MB / 0.4982 GB Notification: Performance of SimCode: time 0.02338/1.026, allocations: 14.51 MB / 0.7208 GB, free: 3.086 MB / 0.5138 GB Notification: Performance of Templates: time 0.2736/1.3, allocations: 71.22 MB / 0.7904 GB, free: 145 MB / 0.5294 GB 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches