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.001404/0.001404, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001728/0.001728, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 63.89 kB / 359.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2581, allocations: 50.53 MB / 409.9 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.0169/0.275, allocations: 16.61 MB / 426.6 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01126/0.2863, allocations: 4.7 MB / 431.3 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003655/0.29, allocations: 135.6 kB / 431.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01561/0.3056, allocations: 7.162 MB / 438.5 MB, free: 4.844 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007254/0.3129, allocations: 1.954 MB / 440.5 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004509/0.3174, allocations: 1.548 MB / 442 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01234/0.3298, allocations: 9.496 MB / 451.5 MB, free: 7.812 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0294/0.3592, allocations: 20.84 MB / 472.4 MB, free: 2.824 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008167/0.3674, allocations: 5.253 MB / 477.6 MB, free: 13.56 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00989/0.3773, allocations: 5.899 MB / 483.5 MB, free: 7.641 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003952/0.3813, allocations: 1.363 MB / 484.9 MB, free: 6.277 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005219/0.3866, allocations: 1.675 MB / 486.6 MB, free: 4.602 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003379/0.39, allocations: 2.786 MB / 489.4 MB, free: 1.809 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008019/0.398, allocations: 5.358 MB / 494.7 MB, free: 12.43 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01929/0.4173, allocations: 18.36 MB / 0.5011 GB, free: 10.02 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.4173, allocations: 0 / 0.5011 GB, free: 10.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.448e-06/0.4174, allocations: 0 / 0.5011 GB, free: 10.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004906/0.4179, allocations: 7.875 kB / 0.5011 GB, free: 10.01 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.03806/0.4559, allocations: 12.13 MB / 0.5129 GB, free: 13.79 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.456, allocations: 8.031 kB / 0.5129 GB, free: 13.78 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03783/0.4938, allocations: 6.264 MB / 0.519 GB, free: 7.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01262/0.5065, allocations: 5.819 MB / 0.5247 GB, free: 1.617 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007618/0.5073, allocations: 0.6703 MB / 0.5254 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003959/0.5113, allocations: 0.8711 MB / 0.5262 GB, free: 76 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04194/0.5532, allocations: 14.71 MB / 0.5406 GB, free: 1.305 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003781/0.5536, allocations: 15.89 kB / 0.5406 GB, free: 1.289 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00269/0.5564, allocations: 376 kB / 0.541 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005768/0.5569, allocations: 495.3 kB / 0.5414 GB, free: 444 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.484/1.041, allocations: 13.53 MB / 0.5547 GB, free: 109 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06395/1.105, allocations: 44.55 MB / 0.5982 GB, free: 68.18 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009483/1.115, allocations: 11.64 MB / 0.6095 GB, free: 55.45 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003731/1.118, allocations: 3.159 MB / 0.6126 GB, free: 52.29 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003424/1.119, allocations: 264.6 kB / 0.6129 GB, free: 52.02 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.741e-05/1.119, allocations: 78.56 kB / 0.6129 GB, free: 51.93 MB / 462.1 MB Notification: Performance of pre-optimization done (n=409): time 5.731e-06/1.119, allocations: 0 / 0.6129 GB, free: 51.93 MB / 462.1 MB Notification: Performance of matching and sorting (n=409): time 0.01768/1.136, allocations: 9.575 MB / 0.6223 GB, free: 42.32 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.038e-05/1.137, allocations: 121.1 kB / 0.6224 GB, free: 42.19 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00382/1.14, allocations: 3.16 MB / 0.6255 GB, free: 39.01 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004112/1.141, allocations: 93.64 kB / 0.6256 GB, free: 38.91 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001478/1.142, allocations: 3.69 MB / 0.6292 GB, free: 35.2 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009884/1.143, allocations: 1.396 MB / 0.6305 GB, free: 33.81 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001391/1.145, allocations: 1.124 MB / 0.6316 GB, free: 32.67 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.782e-05/1.145, allocations: 301.1 kB / 0.6319 GB, free: 32.38 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003312/1.148, allocations: 2.838 MB / 0.6347 GB, free: 29.53 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004083/1.152, allocations: 4.9 MB / 0.6395 GB, free: 23.69 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0078/1.16, allocations: 8.263 MB / 0.6476 GB, free: 14.49 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.793e-05/1.16, allocations: 20 kB / 0.6476 GB, free: 14.47 MB / 462.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01275/1.173, allocations: 9.104 MB / 0.6565 GB, free: 5.355 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.404e-05/1.173, allocations: 39.98 kB / 0.6565 GB, free: 5.316 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001003/1.173, allocations: 64 kB / 0.6566 GB, free: 5.254 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003065/1.176, allocations: 1.142 MB / 0.6577 GB, free: 4.105 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004251/1.18, allocations: 1.295 MB / 0.6589 GB, free: 2.809 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01489/1.195, allocations: 10.8 MB / 0.6695 GB, free: 7.734 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004885/1.2, allocations: 0.732 MB / 0.6702 GB, free: 6.996 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001427/1.202, allocations: 280 kB / 0.6705 GB, free: 6.723 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.007527/1.209, allocations: 3.427 MB / 0.6738 GB, free: 3.281 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001295/1.21, allocations: 343.7 kB / 0.6741 GB, free: 2.941 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01417/1.225, allocations: 6.918 MB / 0.6809 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01029/1.235, allocations: 5.733 MB / 0.6865 GB, free: 6.25 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.848e-05/1.235, allocations: 8 kB / 0.6865 GB, free: 6.242 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-05/1.235, allocations: 27.92 kB / 0.6865 GB, free: 6.215 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02937/1.264, allocations: 15.23 MB / 0.7014 GB, free: 6.82 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.522e-05/1.265, allocations: 12 kB / 0.7014 GB, free: 6.809 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003082/1.268, allocations: 0.7841 MB / 0.7022 GB, free: 6.023 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003212/1.271, allocations: 1.06 MB / 0.7032 GB, free: 4.957 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003782/1.271, allocations: 111.9 kB / 0.7033 GB, free: 4.848 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0146/1.286, allocations: 10.56 MB / 0.7136 GB, free: 10 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.689e-05/1.286, allocations: 24.17 kB / 0.7137 GB, free: 9.98 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01822/1.304, allocations: 10.68 MB / 0.7241 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002437/1.307, allocations: 0.9912 MB / 0.7251 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001004/1.308, allocations: 103.9 kB / 0.7252 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002754/1.31, allocations: 271.7 kB / 0.7254 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008538/1.311, allocations: 343.3 kB / 0.7257 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000447/1.312, allocations: 144 kB / 0.7259 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004066/1.316, allocations: 2.121 MB / 0.728 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.3e-07/1.316, allocations: 0 / 0.728 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006871/1.323, allocations: 2.226 MB / 0.7301 GB, free: 8.84 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.0008726/1.324, allocations: 292.9 kB / 0.7304 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01331/1.337, allocations: 7.451 MB / 0.7377 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-05/1.337, allocations: 4 kB / 0.7377 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.2603/1.597, allocations: 3.651 MB / 0.7413 GB, free: 176.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005198/1.603, allocations: 0.794 MB / 0.742 GB, free: 176.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02536/1.628, allocations: 15.71 MB / 0.7574 GB, free: 171.5 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004773/1.633, allocations: 5.757 MB / 0.763 GB, free: 169.4 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001604/1.634, allocations: 365.5 kB / 0.7633 GB, free: 169.3 MB / 0.5294 GB Notification: Performance of SimCode: time 1.002e-06/1.634, allocations: 0 / 0.7633 GB, free: 169.3 MB / 0.5294 GB Notification: Performance of Templates: time 0.4661/2.101, allocations: 194.8 MB / 0.9536 GB, free: 180.2 MB / 0.545 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/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