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.0008121/0.0008121, allocations: 97.58 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001016/0.001016, allocations: 202.7 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 227.7 MB / 247.5 MB, free: 11.06 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002453/0.0002454, allocations: 4 kB / 308.4 MB, free: 0.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09382/0.09409, allocations: 51.52 MB / 359.9 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.2105/0.3047, allocations: 15.46 MB / 375.4 MB, free: 8.875 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008911/0.3136, allocations: 4.637 MB / 380 MB, free: 8.688 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003077/0.3167, allocations: 123.9 kB / 380.1 MB, free: 8.664 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004298/0.3211, allocations: 1.159 MB / 381.3 MB, free: 8.332 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008234/0.3293, allocations: 1.773 MB / 383.1 MB, free: 7.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004455/0.3338, allocations: 1.44 MB / 384.5 MB, free: 6.992 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01285/0.3467, allocations: 9.605 MB / 394.1 MB, free: 2.961 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03626/0.383, allocations: 21 MB / 415.1 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007143/0.3901, allocations: 3.749 MB / 418.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008153/0.3983, allocations: 4.552 MB / 423.4 MB, free: 11.56 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002162/0.4005, allocations: 0.5625 MB / 424 MB, free: 11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004162/0.4047, allocations: 0.8681 MB / 424.8 MB, free: 10.13 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002519/0.4072, allocations: 1.795 MB / 426.6 MB, free: 8.375 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007186/0.4144, allocations: 4.263 MB / 430.9 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01595/0.4304, allocations: 15.42 MB / 446.3 MB, free: 5.027 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.4304, allocations: 0 / 446.3 MB, free: 5.027 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.4305, allocations: 0 / 446.3 MB, free: 5.027 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003923/0.4309, allocations: 0 / 446.3 MB, free: 5.027 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.02855/0.4594, allocations: 10.29 MB / 456.6 MB, free: 10.68 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.4595, allocations: 8.031 kB / 456.6 MB, free: 10.67 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03585/0.4953, allocations: 6.244 MB / 462.9 MB, free: 4.406 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0115/0.5069, allocations: 5.663 MB / 468.5 MB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006884/0.5076, allocations: 0.6743 MB / 469.2 MB, free: 14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003188/0.5108, allocations: 0.8787 MB / 470.1 MB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04806/0.5589, allocations: 14.76 MB / 484.8 MB, free: 14.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003504/0.5593, allocations: 7.906 kB / 484.9 MB, free: 14.31 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002833/0.5621, allocations: 372 kB / 485.2 MB, free: 13.95 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000766/0.5629, allocations: 499.3 kB / 485.7 MB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03642/0.5993, allocations: 13.57 MB / 499.3 MB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07445/0.6738, allocations: 45.21 MB / 0.5317 GB, free: 1.402 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.419/1.093, allocations: 11.7 MB / 0.5431 GB, free: 119.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006283/1.099, allocations: 3.218 MB / 0.5463 GB, free: 118.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005823/1.1, allocations: 261.6 kB / 0.5465 GB, free: 118.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001104/1.1, allocations: 83.7 kB / 0.5466 GB, free: 118.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=421): time 8.205e-06/1.1, allocations: 0 / 0.5466 GB, free: 118.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=421): time 0.02432/1.124, allocations: 9.764 MB / 0.5561 GB, free: 115.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.881e-05/1.124, allocations: 123.6 kB / 0.5563 GB, free: 115.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004802/1.129, allocations: 3.147 MB / 0.5593 GB, free: 114.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008636/1.13, allocations: 97.48 kB / 0.5594 GB, free: 114.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002186/1.132, allocations: 3.681 MB / 0.563 GB, free: 111.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001762/1.134, allocations: 1.43 MB / 0.5644 GB, free: 110.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007634/1.135, allocations: 471 kB / 0.5649 GB, free: 110.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.808e-05/1.135, allocations: 305.1 kB / 0.5652 GB, free: 110 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004407/1.139, allocations: 2.91 MB / 0.568 GB, free: 109 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004564/1.144, allocations: 4.978 MB / 0.5729 GB, free: 105.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008193/1.152, allocations: 8.402 MB / 0.5811 GB, free: 99.87 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.214e-05/1.152, allocations: 18.69 kB / 0.5811 GB, free: 99.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01379/1.166, allocations: 9.238 MB / 0.5901 GB, free: 94.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.787e-05/1.166, allocations: 40.03 kB / 0.5901 GB, free: 94.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001087/1.166, allocations: 67.94 kB / 0.5902 GB, free: 94.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002842/1.169, allocations: 1.118 MB / 0.5913 GB, free: 93.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004357/1.174, allocations: 1.287 MB / 0.5926 GB, free: 92.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01231/1.186, allocations: 9.941 MB / 0.6023 GB, free: 82.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005015/1.191, allocations: 0.7355 MB / 0.603 GB, free: 81.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001361/1.192, allocations: 280 kB / 0.6033 GB, free: 81.19 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.008713/1.201, allocations: 3.427 MB / 0.6066 GB, free: 77.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001398/1.202, allocations: 351.6 kB / 0.6069 GB, free: 77.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01301/1.215, allocations: 7.047 MB / 0.6138 GB, free: 70.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00806/1.224, allocations: 5.875 MB / 0.6196 GB, free: 64.37 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.684e-05/1.224, allocations: 12 kB / 0.6196 GB, free: 64.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.701e-05/1.224, allocations: 19.92 kB / 0.6196 GB, free: 64.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02442/1.248, allocations: 15.56 MB / 0.6348 GB, free: 48.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.002e-05/1.248, allocations: 12 kB / 0.6348 GB, free: 48.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002632/1.251, allocations: 0.7848 MB / 0.6356 GB, free: 47.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002611/1.253, allocations: 1.032 MB / 0.6366 GB, free: 46.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003309/1.254, allocations: 115.8 kB / 0.6367 GB, free: 46.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01079/1.265, allocations: 9.673 MB / 0.6461 GB, free: 36.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-05/1.265, allocations: 27.86 kB / 0.6462 GB, free: 36.72 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01446/1.279, allocations: 10.93 MB / 0.6568 GB, free: 25.56 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002383/1.281, allocations: 1.007 MB / 0.6578 GB, free: 24.53 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007792/1.282, allocations: 95.98 kB / 0.6579 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002551/1.285, allocations: 283.7 kB / 0.6582 GB, free: 24.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006643/1.286, allocations: 347.2 kB / 0.6585 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00025/1.286, allocations: 136 kB / 0.6586 GB, free: 23.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002904/1.289, allocations: 2.129 MB / 0.6607 GB, free: 21.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/1.289, allocations: 0 / 0.6607 GB, free: 21.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006822/1.296, allocations: 2.225 MB / 0.6629 GB, free: 19.32 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.00112/1.297, allocations: 302 kB / 0.6632 GB, free: 19.03 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01065/1.307, allocations: 7.575 MB / 0.6706 GB, free: 11.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.595e-05/1.307, allocations: 4 kB / 0.6706 GB, free: 11.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005345/1.313, allocations: 3.729 MB / 0.6742 GB, free: 7.684 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008998/1.322, allocations: 0.7584 MB / 0.675 GB, free: 6.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02713/1.349, allocations: 19.77 MB / 0.6943 GB, free: 2.949 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005765/1.355, allocations: 5.761 MB / 0.6999 GB, free: 13.15 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001558/1.356, allocations: 371.4 kB / 0.7002 GB, free: 12.79 MB / 478.1 MB Notification: Performance of SimCode: time 7.11e-07/1.356, allocations: 0 / 0.7002 GB, free: 12.79 MB / 478.1 MB Notification: Performance of Templates: time 0.395/1.751, allocations: 193.7 MB / 0.8894 GB, free: 7.277 MB / 494.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/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