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.0007108/0.0007108, allocations: 102 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008155/0.0008155, allocations: 191.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 227.7 MB / 246.4 MB, free: 9.82 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002103/0.0002104, allocations: 8 kB / 307.1 MB, free: 0.9453 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0921/0.09233, allocations: 51.53 MB / 358.7 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.172/0.2644, allocations: 14.28 MB / 372.9 MB, free: 8.648 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007789/0.2722, allocations: 4.308 MB / 377.2 MB, free: 8.574 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002067/0.2743, allocations: 121.7 kB / 377.4 MB, free: 8.574 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002019/0.2763, allocations: 0.8469 MB / 378.2 MB, free: 8.371 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003863/0.2802, allocations: 1.648 MB / 379.9 MB, free: 7.996 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002547/0.2827, allocations: 1.215 MB / 381.1 MB, free: 7.871 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01397/0.2967, allocations: 12.24 MB / 393.3 MB, free: 5.008 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02587/0.3226, allocations: 17.38 MB / 410.7 MB, free: 7.762 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005742/0.3284, allocations: 3.965 MB / 414.6 MB, free: 3.785 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005783/0.3342, allocations: 4.343 MB / 419 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000847/0.335, allocations: 0.5625 MB / 419.6 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002203/0.3373, allocations: 0.8629 MB / 420.4 MB, free: 14 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001379/0.3386, allocations: 1.756 MB / 422.2 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001841/0.3405, allocations: 1.779 MB / 424 MB, free: 10.45 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0132/0.3537, allocations: 15.4 MB / 439.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3537, allocations: 0 / 439.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.3538, allocations: 4 kB / 439.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003857/0.3542, allocations: 0 / 439.4 MB, free: 11.02 MB / 350.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.02641/0.3806, allocations: 10.37 MB / 449.7 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.3806, allocations: 8.031 kB / 449.7 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03383/0.4145, allocations: 6.239 MB / 456 MB, free: 10.37 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01055/0.425, allocations: 5.613 MB / 461.6 MB, free: 4.691 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005472/0.4256, allocations: 0.6704 MB / 462.3 MB, free: 4.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002459/0.4281, allocations: 0.8788 MB / 463.1 MB, free: 3.141 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02931/0.4574, allocations: 14.67 MB / 477.8 MB, free: 4.414 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001636/0.4576, allocations: 11.89 kB / 477.8 MB, free: 4.402 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009439/0.4585, allocations: 372 kB / 478.2 MB, free: 4.039 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004319/0.459, allocations: 495.3 kB / 478.7 MB, free: 3.551 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02371/0.4827, allocations: 13.5 MB / 492.2 MB, free: 6.023 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06481/0.5475, allocations: 45.17 MB / 0.5247 GB, free: 7.605 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3321/0.8797, allocations: 11.68 MB / 0.5362 GB, free: 124 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004808/0.8845, allocations: 3.219 MB / 0.5393 GB, free: 123.6 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003996/0.885, allocations: 261.3 kB / 0.5395 GB, free: 123.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.665e-05/0.885, allocations: 81.62 kB / 0.5396 GB, free: 123.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=421): time 6.663e-06/0.885, allocations: 3.938 kB / 0.5396 GB, free: 123.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=421): time 0.02403/0.9091, allocations: 11 MB / 0.5504 GB, free: 120.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.532e-05/0.9092, allocations: 119.5 kB / 0.5505 GB, free: 120.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004159/0.9133, allocations: 3.133 MB / 0.5535 GB, free: 119.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003391/0.9137, allocations: 93.52 kB / 0.5536 GB, free: 119.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001545/0.9152, allocations: 3.677 MB / 0.5572 GB, free: 116.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001015/0.9163, allocations: 1.433 MB / 0.5586 GB, free: 115.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002823/0.9165, allocations: 123.5 kB / 0.5587 GB, free: 115.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002247/0.9168, allocations: 0.5493 MB / 0.5593 GB, free: 114.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003826/0.9206, allocations: 2.882 MB / 0.5621 GB, free: 113.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004817/0.9254, allocations: 4.955 MB / 0.5669 GB, free: 110.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004864/0.9303, allocations: 4.003 MB / 0.5708 GB, free: 108.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-05/0.9304, allocations: 23.38 kB / 0.5709 GB, free: 108.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01341/0.9438, allocations: 9.187 MB / 0.5798 GB, free: 104.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.906e-05/0.9439, allocations: 36.86 kB / 0.5799 GB, free: 104.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.682e-05/0.944, allocations: 67.09 kB / 0.5799 GB, free: 104.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002643/0.9467, allocations: 1.126 MB / 0.581 GB, free: 104.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004241/0.9509, allocations: 1.288 MB / 0.5823 GB, free: 103.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0108/0.9617, allocations: 9.926 MB / 0.592 GB, free: 93.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0039/0.9657, allocations: 0.7394 MB / 0.5927 GB, free: 92.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008655/0.9665, allocations: 276 kB / 0.593 GB, free: 92.18 MB / 446.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 (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.005004/0.9716, allocations: 3.429 MB / 0.5963 GB, free: 88.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007526/0.9723, allocations: 351.6 kB / 0.5967 GB, free: 88.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01033/0.9827, allocations: 7.023 MB / 0.6035 GB, free: 81.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007484/0.9902, allocations: 5.839 MB / 0.6092 GB, free: 75.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.319e-05/0.9902, allocations: 16 kB / 0.6092 GB, free: 75.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.274e-05/0.9903, allocations: 23.91 kB / 0.6093 GB, free: 75.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02159/1.012, allocations: 15.51 MB / 0.6244 GB, free: 59.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.991e-05/1.012, allocations: 17.25 kB / 0.6244 GB, free: 59.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002639/1.015, allocations: 0.7926 MB / 0.6252 GB, free: 58.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002402/1.017, allocations: 1.032 MB / 0.6262 GB, free: 57.87 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002623/1.017, allocations: 108 kB / 0.6263 GB, free: 57.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01018/1.027, allocations: 9.657 MB / 0.6357 GB, free: 47.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.889e-06/1.027, allocations: 23.94 kB / 0.6358 GB, free: 47.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01258/1.04, allocations: 10.88 MB / 0.6464 GB, free: 36.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001626/1.042, allocations: 0.9991 MB / 0.6474 GB, free: 35.69 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004551/1.042, allocations: 97.19 kB / 0.6475 GB, free: 35.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001823/1.044, allocations: 283.4 kB / 0.6477 GB, free: 35.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005084/1.045, allocations: 355.2 kB / 0.6481 GB, free: 34.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002258/1.045, allocations: 136 kB / 0.6482 GB, free: 34.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002453/1.047, allocations: 2.097 MB / 0.6502 GB, free: 32.74 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/1.047, allocations: 0 / 0.6502 GB, free: 32.74 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005192/1.052, allocations: 2.235 MB / 0.6524 GB, free: 30.5 MB / 446.1 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.0005556/1.053, allocations: 302.2 kB / 0.6527 GB, free: 30.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009409/1.062, allocations: 7.539 MB / 0.6601 GB, free: 22.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/1.062, allocations: 0 / 0.6601 GB, free: 22.65 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004502/1.067, allocations: 3.709 MB / 0.6637 GB, free: 18.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003438/1.07, allocations: 0.7744 MB / 0.6645 GB, free: 18.17 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02257/1.093, allocations: 19.19 MB / 0.6832 GB, free: 14.77 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007256/1.1, allocations: 5.934 MB / 0.689 GB, free: 8.793 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.01044/1.111, allocations: 2.162 MB / 0.6911 GB, free: 6.625 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001791/1.113, allocations: 319.4 kB / 0.6914 GB, free: 6.312 MB / 462.1 MB Notification: Performance of SimCode: time 2.715e-06/1.113, allocations: 0 / 0.6914 GB, free: 6.312 MB / 462.1 MB Notification: Performance of Templates: time 0.3921/1.505, allocations: 57.16 MB / 0.7472 GB, free: 137.2 MB / 478.1 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","/var/lib/jenkins/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