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.00114/0.00114, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001161/0.001162, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001042/0.001042, allocations: 60.14 kB / 358.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2426, allocations: 50.54 MB / 409.3 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01541/0.258, allocations: 16.61 MB / 425.9 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008998/0.2671, allocations: 4.704 MB / 430.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002237/0.2693, allocations: 131.6 kB / 430.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01399/0.2833, allocations: 7.166 MB / 437.9 MB, free: 4.875 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005597/0.289, allocations: 1.947 MB / 439.8 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003236/0.2922, allocations: 1.545 MB / 441.4 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009364/0.3016, allocations: 9.492 MB / 450.9 MB, free: 7.855 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02363/0.3252, allocations: 20.85 MB / 471.7 MB, free: 2.855 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00631/0.3316, allocations: 5.237 MB / 476.9 MB, free: 13.61 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007785/0.3394, allocations: 5.919 MB / 482.9 MB, free: 7.668 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0023/0.3417, allocations: 1.359 MB / 484.2 MB, free: 6.309 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003308/0.345, allocations: 1.66 MB / 485.9 MB, free: 4.648 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00223/0.3473, allocations: 2.794 MB / 488.7 MB, free: 1.848 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005888/0.3532, allocations: 5.354 MB / 494 MB, free: 12.47 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.018/0.3712, allocations: 18.41 MB / 0.5004 GB, free: 10.01 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.3712, allocations: 0 / 0.5004 GB, free: 10.01 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.846e-06/0.3712, allocations: 0 / 0.5004 GB, free: 10.01 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.00051/0.3717, allocations: 3.938 kB / 0.5004 GB, free: 10 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.03549/0.4072, allocations: 12.33 MB / 0.5125 GB, free: 13.58 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.4073, allocations: 8.031 kB / 0.5125 GB, free: 13.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03568/0.443, allocations: 6.316 MB / 0.5186 GB, free: 7.242 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0119/0.4549, allocations: 5.834 MB / 0.5243 GB, free: 1.348 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00064/0.4556, allocations: 0.6742 MB / 0.525 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003167/0.4588, allocations: 0.875 MB / 0.5258 GB, free: 15.79 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03505/0.4939, allocations: 14.71 MB / 0.5402 GB, free: 1.031 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003656/0.4943, allocations: 15.89 kB / 0.5402 GB, free: 1.016 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002582/0.4969, allocations: 372 kB / 0.5406 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005126/0.4974, allocations: 499.3 kB / 0.5411 GB, free: 164 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4169/0.9143, allocations: 13.54 MB / 0.5543 GB, free: 108.9 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06857/0.983, allocations: 44.66 MB / 0.5979 GB, free: 67.98 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01075/0.9938, allocations: 11.65 MB / 0.6093 GB, free: 55.24 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004194/0.998, allocations: 3.162 MB / 0.6124 GB, free: 52.09 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005184/0.9986, allocations: 261.1 kB / 0.6126 GB, free: 51.81 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.056e-05/0.9986, allocations: 82.5 kB / 0.6127 GB, free: 51.72 MB / 462.1 MB Notification: Performance of pre-optimization done (n=409): time 6.753e-06/0.9987, allocations: 0 / 0.6127 GB, free: 51.72 MB / 462.1 MB Notification: Performance of matching and sorting (n=409): time 0.02061/1.019, allocations: 9.586 MB / 0.622 GB, free: 42.12 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.861e-05/1.019, allocations: 129 kB / 0.6222 GB, free: 41.97 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005421/1.025, allocations: 3.16 MB / 0.6253 GB, free: 38.84 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006386/1.025, allocations: 89.7 kB / 0.6253 GB, free: 38.75 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002157/1.028, allocations: 3.829 MB / 0.6291 GB, free: 35.38 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001576/1.029, allocations: 1.465 MB / 0.6305 GB, free: 33.93 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002572/1.032, allocations: 1.128 MB / 0.6316 GB, free: 32.79 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.317e-05/1.032, allocations: 305.1 kB / 0.6319 GB, free: 32.49 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003993/1.036, allocations: 2.834 MB / 0.6347 GB, free: 29.65 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004727/1.041, allocations: 4.904 MB / 0.6395 GB, free: 23.81 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008681/1.049, allocations: 8.255 MB / 0.6475 GB, free: 14.62 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.785e-05/1.049, allocations: 20 kB / 0.6475 GB, free: 14.6 MB / 462.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01466/1.064, allocations: 9.125 MB / 0.6564 GB, free: 5.461 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.978e-05/1.064, allocations: 32 kB / 0.6565 GB, free: 5.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001203/1.064, allocations: 68 kB / 0.6565 GB, free: 5.363 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003191/1.068, allocations: 1.142 MB / 0.6577 GB, free: 4.215 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004136/1.072, allocations: 1.295 MB / 0.6589 GB, free: 2.918 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0144/1.086, allocations: 10.82 MB / 0.6695 GB, free: 7.828 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00483/1.091, allocations: 0.7531 MB / 0.6702 GB, free: 7.07 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001203/1.092, allocations: 272.2 kB / 0.6705 GB, free: 6.805 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.007899/1.1, allocations: 3.427 MB / 0.6738 GB, free: 3.363 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001286/1.101, allocations: 361.7 kB / 0.6742 GB, free: 3.008 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01455/1.116, allocations: 6.921 MB / 0.6809 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01017/1.126, allocations: 5.733 MB / 0.6865 GB, free: 6.312 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.624e-05/1.126, allocations: 12 kB / 0.6865 GB, free: 6.301 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.705e-05/1.126, allocations: 19.92 kB / 0.6866 GB, free: 6.281 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03275/1.159, allocations: 15.24 MB / 0.7015 GB, free: 6.863 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.715e-05/1.159, allocations: 12 kB / 0.7015 GB, free: 6.852 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00338/1.163, allocations: 0.7918 MB / 0.7022 GB, free: 6.059 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00341/1.166, allocations: 1.06 MB / 0.7033 GB, free: 4.992 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007246/1.167, allocations: 108 kB / 0.7034 GB, free: 4.887 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0153/1.182, allocations: 10.58 MB / 0.7137 GB, free: 10.03 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.941e-05/1.182, allocations: 19.94 kB / 0.7137 GB, free: 10.01 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0284/1.211, allocations: 10.7 MB / 0.7242 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003739/1.214, allocations: 1.005 MB / 0.7252 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001584/1.216, allocations: 100.2 kB / 0.7252 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004539/1.221, allocations: 279.8 kB / 0.7255 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001358/1.222, allocations: 343.2 kB / 0.7258 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007989/1.223, allocations: 140 kB / 0.726 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006295/1.229, allocations: 2.125 MB / 0.7281 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6.61e-07/1.229, allocations: 7.938 kB / 0.7281 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0108/1.24, allocations: 2.251 MB / 0.7303 GB, free: 8.801 MB / 0.5294 GB 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.00132/1.241, allocations: 294.3 kB / 0.7305 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01637/1.258, allocations: 7.447 MB / 0.7378 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-05/1.258, allocations: 4.812 kB / 0.7378 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.2202/1.478, allocations: 3.654 MB / 0.7414 GB, free: 176.7 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004244/1.482, allocations: 0.7996 MB / 0.7422 GB, free: 176.6 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02064/1.503, allocations: 16.19 MB / 0.758 GB, free: 170.9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004693/1.508, allocations: 5.93 MB / 0.7638 GB, free: 168.7 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004412/1.512, allocations: 2.162 MB / 0.7659 GB, free: 168.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008694/1.513, allocations: 321.4 kB / 0.7662 GB, free: 168.6 MB / 0.5294 GB Notification: Performance of SimCode: time 1.002e-06/1.513, allocations: 0 / 0.7662 GB, free: 168.6 MB / 0.5294 GB Notification: Performance of Templates: time 0.07608/1.589, allocations: 58.48 MB / 0.8233 GB, free: 113.6 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/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