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.001103/0.001103, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001108/0.001108, allocations: 199.5 kB / 19.36 MB, free: 3.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 57.44 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0797/0.08083, allocations: 50.53 MB / 358.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.1561/0.237, allocations: 16.6 MB / 375.5 MB, free: 9.707 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00752/0.2445, allocations: 4.703 MB / 380.2 MB, free: 9.211 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001307/0.2459, allocations: 133.6 kB / 380.4 MB, free: 9.188 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0126/0.2585, allocations: 7.173 MB / 387.5 MB, free: 6.578 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005017/0.2635, allocations: 1.952 MB / 389.5 MB, free: 5.398 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00301/0.2665, allocations: 1.542 MB / 391 MB, free: 4.477 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01013/0.2767, allocations: 9.501 MB / 400.5 MB, free: 15.17 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02584/0.3025, allocations: 20.84 MB / 421.4 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006635/0.3092, allocations: 5.241 MB / 426.6 MB, free: 7.723 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007018/0.3162, allocations: 5.907 MB / 432.5 MB, free: 1.797 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001607/0.3179, allocations: 1.359 MB / 433.9 MB, free: 448 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002649/0.3205, allocations: 1.668 MB / 435.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002093/0.3226, allocations: 2.794 MB / 438.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005364/0.328, allocations: 5.354 MB / 443.7 MB, free: 6.594 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01595/0.344, allocations: 18.36 MB / 462 MB, free: 4.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.344, allocations: 0 / 462 MB, free: 4.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.344, allocations: 0 / 462 MB, free: 4.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003894/0.3444, allocations: 0 / 462 MB, free: 4.18 MB / 366.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.03204/0.3765, allocations: 12.13 MB / 474.2 MB, free: 7.965 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.3765, allocations: 11.97 kB / 474.2 MB, free: 7.953 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03647/0.413, allocations: 6.268 MB / 480.5 MB, free: 1.668 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0134/0.4264, allocations: 5.811 MB / 486.3 MB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007378/0.4272, allocations: 0.6742 MB / 486.9 MB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003625/0.4308, allocations: 0.871 MB / 487.8 MB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03185/0.4627, allocations: 14.72 MB / 0.4908 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000287/0.463, allocations: 11.91 kB / 0.4908 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002193/0.4652, allocations: 376 kB / 0.4911 GB, free: 11.1 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004785/0.4657, allocations: 499.3 kB / 0.4916 GB, free: 10.61 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02596/0.4917, allocations: 13.53 MB / 0.5048 GB, free: 13.05 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3864/0.8781, allocations: 44.54 MB / 0.5483 GB, free: 113.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009871/0.888, allocations: 11.64 MB / 0.5597 GB, free: 106.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003506/0.8916, allocations: 3.152 MB / 0.5628 GB, free: 105.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003437/0.8919, allocations: 255.5 kB / 0.563 GB, free: 105.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.24e-05/0.892, allocations: 81.94 kB / 0.5631 GB, free: 105.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=409): time 6.091e-06/0.892, allocations: 0 / 0.5631 GB, free: 105.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=409): time 0.01723/0.9092, allocations: 9.572 MB / 0.5724 GB, free: 102.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.9093, allocations: 120 kB / 0.5725 GB, free: 102.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003551/0.9129, allocations: 3.154 MB / 0.5756 GB, free: 101.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000236/0.9131, allocations: 92.8 kB / 0.5757 GB, free: 101.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001338/0.9145, allocations: 3.695 MB / 0.5793 GB, free: 98.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006998/0.9152, allocations: 1.391 MB / 0.5807 GB, free: 96.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001321/0.9165, allocations: 1.125 MB / 0.5818 GB, free: 96.35 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.724e-05/0.9165, allocations: 309.1 kB / 0.5821 GB, free: 96.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003153/0.9197, allocations: 2.837 MB / 0.5848 GB, free: 94.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003801/0.9235, allocations: 4.907 MB / 0.5896 GB, free: 90.31 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00733/0.9308, allocations: 8.257 MB / 0.5977 GB, free: 84.19 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.598e-05/0.9309, allocations: 20.36 kB / 0.5977 GB, free: 84.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01145/0.9424, allocations: 9.105 MB / 0.6066 GB, free: 75.99 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.121e-05/0.9424, allocations: 32 kB / 0.6066 GB, free: 75.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.063e-05/0.9425, allocations: 68 kB / 0.6067 GB, free: 75.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002728/0.9452, allocations: 1.15 MB / 0.6078 GB, free: 74.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003875/0.9491, allocations: 1.291 MB / 0.6091 GB, free: 73.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01157/0.9607, allocations: 10.81 MB / 0.6196 GB, free: 62.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003653/0.9644, allocations: 0.7356 MB / 0.6204 GB, free: 61.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004112/0.9648, allocations: 275.9 kB / 0.6206 GB, free: 61.34 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 (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.004155/0.9689, allocations: 3.423 MB / 0.624 GB, free: 57.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005669/0.9695, allocations: 343.7 kB / 0.6243 GB, free: 57.56 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009467/0.979, allocations: 6.917 MB / 0.6311 GB, free: 50.62 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007006/0.986, allocations: 5.737 MB / 0.6367 GB, free: 44.87 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.701e-05/0.986, allocations: 12.25 kB / 0.6367 GB, free: 44.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.004e-05/0.9861, allocations: 23.86 kB / 0.6367 GB, free: 44.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02087/1.007, allocations: 15.23 MB / 0.6516 GB, free: 29.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-05/1.007, allocations: 16 kB / 0.6516 GB, free: 29.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002652/1.01, allocations: 0.784 MB / 0.6523 GB, free: 28.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002578/1.012, allocations: 1.056 MB / 0.6534 GB, free: 27.59 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002314/1.012, allocations: 108 kB / 0.6535 GB, free: 27.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01091/1.023, allocations: 10.56 MB / 0.6638 GB, free: 16.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.107e-06/1.023, allocations: 23.88 kB / 0.6638 GB, free: 16.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.012/1.035, allocations: 10.69 MB / 0.6742 GB, free: 5.719 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002136/1.038, allocations: 0.9874 MB / 0.6752 GB, free: 4.707 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004615/1.038, allocations: 99.92 kB / 0.6753 GB, free: 4.609 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001916/1.04, allocations: 275.8 kB / 0.6756 GB, free: 4.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005711/1.041, allocations: 351.1 kB / 0.6759 GB, free: 3.996 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002351/1.041, allocations: 144.2 kB / 0.676 GB, free: 3.855 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002286/1.043, allocations: 2.125 MB / 0.6781 GB, free: 1.727 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/1.043, allocations: 0 / 0.6781 GB, free: 1.727 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004636/1.048, allocations: 2.227 MB / 0.6803 GB, free: 15.48 MB / 462.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 (415): * Single equations (assignments): 411 * 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,91.7%), (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.0005297/1.048, allocations: 296.4 kB / 0.6806 GB, free: 15.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01065/1.059, allocations: 7.448 MB / 0.6878 GB, free: 7.73 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/1.059, allocations: 4 kB / 0.6878 GB, free: 7.727 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005262/1.064, allocations: 3.654 MB / 0.6914 GB, free: 4.059 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003266/1.068, allocations: 0.8094 MB / 0.6922 GB, free: 3.262 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02222/1.09, allocations: 15.95 MB / 0.7078 GB, free: 3.105 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1903/1.28, allocations: 5.924 MB / 0.7136 GB, free: 145.5 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.008642/1.289, allocations: 2.156 MB / 0.7157 GB, free: 145.4 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001606/1.29, allocations: 324.8 kB / 0.716 GB, free: 145.4 MB / 478.1 MB Notification: Performance of SimCode: time 1.001e-06/1.29, allocations: 3.828 kB / 0.716 GB, free: 145.4 MB / 478.1 MB Notification: Performance of Templates: time 0.1304/1.421, allocations: 56.23 MB / 0.7709 GB, free: 115.7 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 -s gbode -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