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: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001552/0.001552, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001739/0.001739, allocations: 201.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.485/1.485, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001833, allocations: 63.89 kB / 358.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2506, allocations: 50.55 MB / 408.8 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01889/0.2695, allocations: 16.61 MB / 425.4 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01048/0.28, allocations: 4.7 MB / 430.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003173/0.2833, allocations: 131.6 kB / 430.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01707/0.3003, allocations: 7.167 MB / 437.4 MB, free: 4.832 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006662/0.307, allocations: 1.951 MB / 439.3 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004425/0.3115, allocations: 1.547 MB / 440.9 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01329/0.3248, allocations: 9.493 MB / 450.4 MB, free: 7.805 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03348/0.3583, allocations: 20.84 MB / 471.2 MB, free: 2.812 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008408/0.3667, allocations: 5.241 MB / 476.5 MB, free: 13.56 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00999/0.3768, allocations: 5.911 MB / 482.4 MB, free: 7.629 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003796/0.3806, allocations: 1.359 MB / 483.7 MB, free: 6.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005863/0.3865, allocations: 1.668 MB / 485.4 MB, free: 4.602 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003897/0.3904, allocations: 2.786 MB / 488.2 MB, free: 1.809 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01148/0.4019, allocations: 5.358 MB / 493.5 MB, free: 12.43 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03352/0.4355, allocations: 18.41 MB / 0.4999 GB, free: 9.965 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.257e-06/0.4355, allocations: 0 / 0.4999 GB, free: 9.965 MB / 430.1 MB Notification: Performance of FrontEnd: time 5.34e-06/0.4356, allocations: 0 / 0.4999 GB, free: 9.965 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005487/0.4361, allocations: 3.938 kB / 0.4999 GB, free: 9.961 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.04042/0.4766, allocations: 12.34 MB / 0.512 GB, free: 13.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.4766, allocations: 8.031 kB / 0.512 GB, free: 13.52 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00543/0.4821, allocations: 1.509 MB / 0.5135 GB, free: 12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03774/0.5198, allocations: 6.316 MB / 0.5196 GB, free: 5.668 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01345/0.5333, allocations: 5.836 MB / 0.5253 GB, free: 15.77 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007407/0.5341, allocations: 0.6703 MB / 0.526 GB, free: 15.09 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003507/0.5376, allocations: 0.8827 MB / 0.5269 GB, free: 14.21 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4589/0.9966, allocations: 14.72 MB / 0.5412 GB, free: 111.4 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003836/0.997, allocations: 5.922 kB / 0.5412 GB, free: 111.4 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002475/0.9995, allocations: 372.3 kB / 0.5416 GB, free: 111.4 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000946/1, allocations: 0.4904 MB / 0.5421 GB, free: 111.4 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02654/1.027, allocations: 13.53 MB / 0.5553 GB, free: 107.1 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06645/1.094, allocations: 44.71 MB / 0.5989 GB, free: 65.85 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009955/1.104, allocations: 11.64 MB / 0.6103 GB, free: 53.12 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003963/1.108, allocations: 3.164 MB / 0.6134 GB, free: 49.96 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003508/1.108, allocations: 257.6 kB / 0.6136 GB, free: 49.69 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.972e-05/1.108, allocations: 89.78 kB / 0.6137 GB, free: 49.59 MB / 462.1 MB Notification: Performance of pre-optimization done (n=409): time 5.951e-06/1.108, allocations: 0 / 0.6137 GB, free: 49.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=409): time 0.01747/1.125, allocations: 9.579 MB / 0.6231 GB, free: 39.99 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.581e-05/1.126, allocations: 125.1 kB / 0.6232 GB, free: 39.85 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003893/1.129, allocations: 3.156 MB / 0.6263 GB, free: 36.72 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005954/1.13, allocations: 97.64 kB / 0.6264 GB, free: 36.62 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001755/1.132, allocations: 3.833 MB / 0.6301 GB, free: 33.25 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001453/1.133, allocations: 1.459 MB / 0.6315 GB, free: 31.81 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001601/1.135, allocations: 1.136 MB / 0.6327 GB, free: 30.66 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.629e-05/1.135, allocations: 309.1 kB / 0.633 GB, free: 30.36 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003748/1.139, allocations: 2.834 MB / 0.6357 GB, free: 27.52 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004324/1.143, allocations: 4.904 MB / 0.6405 GB, free: 21.67 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007983/1.151, allocations: 8.251 MB / 0.6486 GB, free: 12.48 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.37e-05/1.151, allocations: 20 kB / 0.6486 GB, free: 12.46 MB / 462.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01386/1.165, allocations: 9.125 MB / 0.6575 GB, free: 3.328 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.369e-05/1.165, allocations: 36 kB / 0.6575 GB, free: 3.293 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.998e-05/1.165, allocations: 64 kB / 0.6576 GB, free: 3.23 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002856/1.168, allocations: 1.15 MB / 0.6587 GB, free: 2.074 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004559/1.173, allocations: 1.291 MB / 0.66 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01581/1.189, allocations: 10.81 MB / 0.6705 GB, free: 5.699 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004864/1.193, allocations: 0.7531 MB / 0.6713 GB, free: 4.941 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001135/1.195, allocations: 280 kB / 0.6715 GB, free: 4.668 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.00735/1.202, allocations: 3.42 MB / 0.6749 GB, free: 1.234 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001033/1.203, allocations: 369.6 kB / 0.6752 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01277/1.216, allocations: 6.905 MB / 0.682 GB, free: 9.938 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009971/1.226, allocations: 5.737 MB / 0.6876 GB, free: 4.188 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.294e-05/1.226, allocations: 8 kB / 0.6876 GB, free: 4.18 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.43e-05/1.226, allocations: 23.92 kB / 0.6876 GB, free: 4.156 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03094/1.257, allocations: 15.25 MB / 0.7025 GB, free: 4.73 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001652/1.257, allocations: 16 kB / 0.7025 GB, free: 4.715 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003364/1.26, allocations: 0.7879 MB / 0.7033 GB, free: 3.926 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003255/1.264, allocations: 1.064 MB / 0.7043 GB, free: 2.855 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005701/1.264, allocations: 108 kB / 0.7044 GB, free: 2.75 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01668/1.281, allocations: 10.58 MB / 0.7147 GB, free: 7.891 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.842e-05/1.281, allocations: 27.81 kB / 0.7148 GB, free: 7.863 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01932/1.3, allocations: 10.69 MB / 0.7252 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002922/1.303, allocations: 1.017 MB / 0.7262 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008498/1.304, allocations: 92 kB / 0.7263 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002424/1.307, allocations: 279.7 kB / 0.7266 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007477/1.307, allocations: 335.2 kB / 0.7269 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003004/1.308, allocations: 144 kB / 0.727 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003562/1.311, allocations: 2.129 MB / 0.7291 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/1.311, allocations: 0 / 0.7291 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007019/1.318, allocations: 2.258 MB / 0.7313 GB, free: 6.664 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.01902/1.337, allocations: 11.43 MB / 0.7425 GB, free: 10.99 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01431/1.352, allocations: 7.452 MB / 0.7497 GB, free: 3.516 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.56e-05/1.352, allocations: 0 / 0.7497 GB, free: 3.516 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.243/1.595, allocations: 3.66 MB / 0.7533 GB, free: 196.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005311/1.6, allocations: 0.801 MB / 0.7541 GB, free: 196.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07162/1.672, allocations: 51.9 MB / 0.8048 GB, free: 162.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00543/1.677, allocations: 5.93 MB / 0.8106 GB, free: 156.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004807/1.682, allocations: 2.154 MB / 0.8127 GB, free: 153.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003391/1.686, allocations: 3.01 MB / 0.8156 GB, free: 150.9 MB / 0.545 GB Notification: Performance of SimCode: time 9.32e-07/1.686, allocations: 0 / 0.8156 GB, free: 150.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1574/1.843, allocations: 113.8 MB / 0.9267 GB, free: 37.57 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.84/20.68, allocations: 15.11 kB / 0.9268 GB, free: 37.55 MB / 0.545 GB (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv --start-time 0 --stop-time 40 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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