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.0009922/0.0009923, allocations: 97.28 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001376/0.001376, allocations: 205.3 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.7 MB / 246.8 MB, free: 11.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002183/0.0002186, allocations: 8 kB / 307.8 MB, free: 0.7734 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08704/0.08727, allocations: 51.52 MB / 359.3 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.1818/0.2692, allocations: 15.44 MB / 374.7 MB, free: 8.844 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008698/0.2779, allocations: 4.642 MB / 379.4 MB, free: 8.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002202/0.2801, allocations: 125.2 kB / 379.5 MB, free: 8.637 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002685/0.2828, allocations: 1.159 MB / 380.6 MB, free: 8.324 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00544/0.2883, allocations: 1.778 MB / 382.4 MB, free: 7.648 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003262/0.2916, allocations: 1.443 MB / 383.9 MB, free: 6.988 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.012/0.3036, allocations: 9.598 MB / 393.5 MB, free: 2.961 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03592/0.3395, allocations: 21.01 MB / 414.5 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00661/0.3462, allocations: 3.752 MB / 418.2 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007868/0.3541, allocations: 4.542 MB / 422.8 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001951/0.356, allocations: 0.5625 MB / 423.3 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005321/0.3614, allocations: 0.87 MB / 424.2 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00296/0.3644, allocations: 1.802 MB / 426 MB, free: 8.379 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008242/0.3726, allocations: 4.262 MB / 430.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01745/0.3901, allocations: 17.27 MB / 447.5 MB, free: 3.195 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3901, allocations: 4 kB / 447.5 MB, free: 3.191 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3901, allocations: 0 / 447.5 MB, free: 3.191 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0004388/0.3906, allocations: 0 / 447.5 MB, free: 3.191 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.02881/0.4194, allocations: 10.29 MB / 457.8 MB, free: 8.871 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.4195, allocations: 8.031 kB / 457.8 MB, free: 8.863 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03595/0.4554, allocations: 6.237 MB / 464.1 MB, free: 2.609 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01138/0.4669, allocations: 5.679 MB / 469.7 MB, free: 12.87 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007258/0.4676, allocations: 0.6704 MB / 470.4 MB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002971/0.4706, allocations: 0.875 MB / 471.3 MB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03632/0.5069, allocations: 14.75 MB / 486 MB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000437/0.5074, allocations: 11.89 kB / 486.1 MB, free: 12.51 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002801/0.5102, allocations: 376 kB / 486.4 MB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000572/0.5108, allocations: 0.4915 MB / 486.9 MB, free: 11.64 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02657/0.5374, allocations: 13.56 MB / 0.4887 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4304/0.9679, allocations: 45.2 MB / 0.5329 GB, free: 116.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01173/0.9796, allocations: 11.7 MB / 0.5443 GB, free: 109.6 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004763/0.9844, allocations: 3.227 MB / 0.5475 GB, free: 109.6 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004137/0.9849, allocations: 259.8 kB / 0.5477 GB, free: 109.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.123e-05/0.9849, allocations: 76.91 kB / 0.5478 GB, free: 109.4 MB / 446.1 MB Notification: Performance of pre-optimization done (n=421): time 6.001e-06/0.985, allocations: 3.656 kB / 0.5478 GB, free: 109.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=421): time 0.02061/1.006, allocations: 9.755 MB / 0.5573 GB, free: 108.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.491e-05/1.006, allocations: 120.6 kB / 0.5574 GB, free: 108.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004065/1.01, allocations: 3.166 MB / 0.5605 GB, free: 107 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004676/1.01, allocations: 89.58 kB / 0.5606 GB, free: 106.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001828/1.012, allocations: 3.683 MB / 0.5642 GB, free: 104.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00103/1.013, allocations: 1.429 MB / 0.5656 GB, free: 103.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005086/1.014, allocations: 471.9 kB / 0.566 GB, free: 103 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.604e-05/1.014, allocations: 301.1 kB / 0.5663 GB, free: 102.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003605/1.017, allocations: 2.904 MB / 0.5692 GB, free: 101.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004084/1.021, allocations: 4.979 MB / 0.574 GB, free: 97.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007672/1.029, allocations: 8.407 MB / 0.5822 GB, free: 92.58 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.33e-05/1.029, allocations: 22.69 kB / 0.5823 GB, free: 92.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.0125/1.042, allocations: 9.236 MB / 0.5913 GB, free: 89.04 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.092e-05/1.042, allocations: 32.16 kB / 0.5913 GB, free: 89.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.575e-05/1.042, allocations: 73.19 kB / 0.5914 GB, free: 89.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002751/1.045, allocations: 1.108 MB / 0.5925 GB, free: 88.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004221/1.049, allocations: 1.305 MB / 0.5937 GB, free: 88.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01126/1.06, allocations: 9.935 MB / 0.6034 GB, free: 79.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00458/1.065, allocations: 0.7394 MB / 0.6042 GB, free: 78.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001165/1.066, allocations: 276 kB / 0.6044 GB, free: 78.07 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.006597/1.072, allocations: 3.43 MB / 0.6078 GB, free: 74.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001122/1.074, allocations: 347.6 kB / 0.6081 GB, free: 74.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01215/1.086, allocations: 7.047 MB / 0.615 GB, free: 67.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00779/1.094, allocations: 5.878 MB / 0.6207 GB, free: 61.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.034e-05/1.094, allocations: 12 kB / 0.6207 GB, free: 61.24 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-05/1.094, allocations: 19.92 kB / 0.6208 GB, free: 61.22 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02094/1.115, allocations: 15.56 MB / 0.636 GB, free: 45.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-05/1.115, allocations: 12 kB / 0.636 GB, free: 45.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002784/1.117, allocations: 0.784 MB / 0.6367 GB, free: 44.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002686/1.12, allocations: 1.028 MB / 0.6377 GB, free: 43.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000358/1.121, allocations: 116 kB / 0.6378 GB, free: 43.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01093/1.132, allocations: 9.681 MB / 0.6473 GB, free: 33.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.076e-05/1.132, allocations: 19.94 kB / 0.6473 GB, free: 33.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01457/1.146, allocations: 10.94 MB / 0.658 GB, free: 22.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002521/1.149, allocations: 1.007 MB / 0.659 GB, free: 21.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005018/1.149, allocations: 95.98 kB / 0.6591 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002076/1.151, allocations: 279.8 kB / 0.6593 GB, free: 21.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005766/1.152, allocations: 343.2 kB / 0.6597 GB, free: 20.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000227/1.152, allocations: 144 kB / 0.6598 GB, free: 20.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002507/1.155, allocations: 2.125 MB / 0.6619 GB, free: 18.44 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.3e-07/1.155, allocations: 0 / 0.6619 GB, free: 18.44 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006059/1.161, allocations: 2.227 MB / 0.6641 GB, free: 16.21 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.0008248/1.162, allocations: 297.4 kB / 0.6643 GB, free: 15.92 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01056/1.172, allocations: 7.573 MB / 0.6717 GB, free: 8.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.389e-05/1.172, allocations: 4.703 kB / 0.6717 GB, free: 8.316 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005455/1.178, allocations: 3.727 MB / 0.6754 GB, free: 4.582 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008575/1.186, allocations: 0.7726 MB / 0.6761 GB, free: 3.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02893/1.215, allocations: 20.02 MB / 0.6957 GB, free: 15.59 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006595/1.222, allocations: 5.927 MB / 0.7015 GB, free: 9.625 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005937/1.228, allocations: 2.162 MB / 0.7036 GB, free: 7.457 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001043/1.229, allocations: 319.4 kB / 0.7039 GB, free: 7.145 MB / 478.1 MB Notification: Performance of SimCode: time 1.152e-06/1.229, allocations: 4 kB / 0.7039 GB, free: 7.141 MB / 478.1 MB Notification: Performance of Templates: time 0.2844/1.513, allocations: 58.4 MB / 0.7609 GB, free: 122.5 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