Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 102 kB / 16.5 MB, free: 6.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009855/0.0009855, allocations: 193.9 kB / 17.42 MB, free: 6.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 241.1 MB, free: 13.78 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009741/0.0009741, allocations: 46.48 kB / 300 MB, free: 6.094 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08373/0.08472, allocations: 49.45 MB / 349.4 MB, free: 4.633 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01634/0.1011, allocations: 16.31 MB / 365.7 MB, free: 4.234 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1738/0.2749, allocations: 4.603 MB / 370.3 MB, free: 8.891 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003462/0.2784, allocations: 128.8 kB / 370.5 MB, free: 8.891 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01474/0.2932, allocations: 6.804 MB / 377.3 MB, free: 8.676 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006897/0.3001, allocations: 1.805 MB / 379.1 MB, free: 8.598 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00383/0.3039, allocations: 1.444 MB / 380.5 MB, free: 8.539 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01108/0.315, allocations: 9.494 MB / 390 MB, free: 5.105 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02773/0.3428, allocations: 17.63 MB / 407.6 MB, free: 8.5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007846/0.3506, allocations: 4.66 MB / 412.3 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00874/0.3594, allocations: 5.73 MB / 418 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002875/0.3623, allocations: 1.004 MB / 419 MB, free: 13.37 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005219/0.3676, allocations: 1.29 MB / 420.3 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00378/0.3714, allocations: 2.42 MB / 422.7 MB, free: 9.699 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00875/0.3801, allocations: 4.975 MB / 427.7 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01737/0.3975, allocations: 17.99 MB / 445.7 MB, free: 3.086 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3975, allocations: 0 / 445.7 MB, free: 3.086 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3976, allocations: 0 / 445.7 MB, free: 3.086 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0004163/0.398, allocations: 0 / 445.7 MB, free: 3.086 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.03225/0.4302, allocations: 12.21 MB / 457.9 MB, free: 6.883 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.4303, allocations: 12.03 kB / 457.9 MB, free: 6.871 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03405/0.4644, allocations: 6.186 MB / 464.1 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01157/0.476, allocations: 5.636 MB / 469.8 MB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005329/0.4765, allocations: 0.6822 MB / 470.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002953/0.4795, allocations: 0.8711 MB / 471.3 MB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02779/0.5073, allocations: 14.75 MB / 486.1 MB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001588/0.5075, allocations: 11.84 kB / 486.1 MB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009774/0.5085, allocations: 376 kB / 486.4 MB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004265/0.5089, allocations: 0.4915 MB / 486.9 MB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02362/0.5325, allocations: 13.56 MB / 0.4888 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3651/0.8976, allocations: 44.6 MB / 0.5323 GB, free: 122.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01306/0.9107, allocations: 11.71 MB / 0.5438 GB, free: 115.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004482/0.9153, allocations: 3.236 MB / 0.5469 GB, free: 115.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00035/0.9156, allocations: 175.2 kB / 0.5471 GB, free: 115.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.689e-05/0.9157, allocations: 81.64 kB / 0.5472 GB, free: 115.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=421): time 6.172e-06/0.9157, allocations: 0 / 0.5472 GB, free: 115.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=421): time 0.0181/0.9338, allocations: 9.723 MB / 0.5567 GB, free: 114.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.574e-05/0.9339, allocations: 124.4 kB / 0.5568 GB, free: 114.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005545/0.9395, allocations: 3.154 MB / 0.5599 GB, free: 113 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002671/0.9397, allocations: 89.58 kB / 0.5599 GB, free: 112.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001892/0.9416, allocations: 3.679 MB / 0.5635 GB, free: 110.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00102/0.9427, allocations: 1.429 MB / 0.5649 GB, free: 109.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002071/0.9447, allocations: 1.141 MB / 0.566 GB, free: 108.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.32e-05/0.9448, allocations: 303.1 kB / 0.5663 GB, free: 108.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003803/0.9486, allocations: 2.911 MB / 0.5692 GB, free: 107.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004548/0.9532, allocations: 4.977 MB / 0.574 GB, free: 103.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00861/0.9618, allocations: 8.412 MB / 0.5823 GB, free: 98.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.674e-05/0.9619, allocations: 18.69 kB / 0.5823 GB, free: 98.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01383/0.9757, allocations: 9.243 MB / 0.5913 GB, free: 94.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.359e-05/0.9758, allocations: 34.97 kB / 0.5913 GB, free: 94.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001118/0.9759, allocations: 66.47 kB / 0.5914 GB, free: 94.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002949/0.9789, allocations: 1.119 MB / 0.5925 GB, free: 94.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004205/0.9831, allocations: 1.293 MB / 0.5937 GB, free: 93.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01095/0.9941, allocations: 9.926 MB / 0.6034 GB, free: 83.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003673/0.9978, allocations: 0.7395 MB / 0.6042 GB, free: 83.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006867/0.9985, allocations: 284 kB / 0.6044 GB, free: 82.94 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 (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.004759/1.003, allocations: 3.423 MB / 0.6078 GB, free: 79.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008301/1.004, allocations: 351.6 kB / 0.6081 GB, free: 79.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01037/1.014, allocations: 7.05 MB / 0.615 GB, free: 72.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007432/1.022, allocations: 5.866 MB / 0.6207 GB, free: 66.13 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.213e-05/1.022, allocations: 8 kB / 0.6207 GB, free: 66.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-05/1.022, allocations: 27.91 kB / 0.6208 GB, free: 66.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02583/1.048, allocations: 15.55 MB / 0.6359 GB, free: 50.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-05/1.048, allocations: 20.19 kB / 0.636 GB, free: 50.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002719/1.051, allocations: 0.7899 MB / 0.6367 GB, free: 49.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002684/1.053, allocations: 1.032 MB / 0.6377 GB, free: 48.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003679/1.054, allocations: 112 kB / 0.6378 GB, free: 48.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01067/1.064, allocations: 9.676 MB / 0.6473 GB, free: 38.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.678e-06/1.064, allocations: 19.94 kB / 0.6473 GB, free: 38.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01364/1.078, allocations: 10.94 MB / 0.658 GB, free: 27.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002407/1.08, allocations: 1.007 MB / 0.659 GB, free: 26.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009712/1.081, allocations: 95.98 kB / 0.6591 GB, free: 26.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00326/1.085, allocations: 275.7 kB / 0.6593 GB, free: 25.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008735/1.086, allocations: 351.2 kB / 0.6597 GB, free: 25.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004049/1.086, allocations: 140 kB / 0.6598 GB, free: 25.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004442/1.091, allocations: 2.125 MB / 0.6619 GB, free: 23.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.61e-07/1.091, allocations: 0 / 0.6619 GB, free: 23.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.008285/1.099, allocations: 2.222 MB / 0.664 GB, free: 21.09 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 (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 Backend phase and start with SimCode phase: time 0.0008565/1.1, allocations: 314.1 kB / 0.6643 GB, free: 20.79 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01296/1.113, allocations: 7.567 MB / 0.6717 GB, free: 13.19 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.159e-05/1.113, allocations: 5 kB / 0.6717 GB, free: 13.19 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007678/1.12, allocations: 3.723 MB / 0.6754 GB, free: 9.453 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006296/1.127, allocations: 0.7614 MB / 0.6761 GB, free: 8.707 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02696/1.154, allocations: 19.96 MB / 0.6956 GB, free: 4.539 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1725/1.326, allocations: 5.934 MB / 0.7014 GB, free: 132 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.005955/1.332, allocations: 2.158 MB / 0.7035 GB, free: 132 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009653/1.333, allocations: 320.5 kB / 0.7038 GB, free: 131.9 MB / 462.1 MB Notification: Performance of SimCode: time 9.22e-07/1.333, allocations: 3.25 kB / 0.7038 GB, free: 131.9 MB / 462.1 MB Notification: Performance of Templates: time 0.09091/1.424, allocations: 59.56 MB / 0.762 GB, free: 101.9 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches