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.001182/0.001187, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001347/0.001347, allocations: 202 kB / 18.74 MB, free: 4.332 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 / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 59.89 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2783, allocations: 50.54 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.01642/0.2947, allocations: 16.61 MB / 425.4 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01049/0.3053, allocations: 4.704 MB / 430.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003896/0.3092, allocations: 131.6 kB / 430.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01572/0.325, allocations: 7.182 MB / 437.4 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006949/0.332, allocations: 1.97 MB / 439.4 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004174/0.3362, allocations: 1.544 MB / 440.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01093/0.3471, allocations: 9.496 MB / 450.4 MB, free: 7.762 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02781/0.3749, allocations: 20.83 MB / 471.2 MB, free: 2.777 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007132/0.3821, allocations: 5.257 MB / 476.5 MB, free: 13.51 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008912/0.3911, allocations: 5.915 MB / 482.4 MB, free: 7.574 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002991/0.3941, allocations: 1.359 MB / 483.8 MB, free: 6.215 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004439/0.3985, allocations: 1.664 MB / 485.4 MB, free: 4.551 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003242/0.4018, allocations: 2.794 MB / 488.2 MB, free: 1.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008222/0.41, allocations: 5.354 MB / 493.6 MB, free: 12.38 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01919/0.4293, allocations: 18.41 MB / 0.5 GB, free: 9.91 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.817e-06/0.4293, allocations: 3.984 kB / 0.5 GB, free: 9.906 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.4293, allocations: 0 / 0.5 GB, free: 9.906 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004607/0.4298, allocations: 7.938 kB / 0.5 GB, free: 9.898 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.03399/0.4638, allocations: 12.33 MB / 0.512 GB, free: 13.47 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.4638, allocations: 8.031 kB / 0.512 GB, free: 13.46 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003624/0.4675, allocations: 1.509 MB / 0.5135 GB, free: 11.94 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03575/0.5032, allocations: 6.319 MB / 0.5197 GB, free: 5.609 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01344/0.5167, allocations: 5.832 MB / 0.5254 GB, free: 15.71 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006703/0.5174, allocations: 0.6704 MB / 0.526 GB, free: 15.04 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003316/0.5208, allocations: 0.8827 MB / 0.5269 GB, free: 14.16 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4249/0.9457, allocations: 14.71 MB / 0.5413 GB, free: 106.5 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003833/0.9461, allocations: 8.109 kB / 0.5413 GB, free: 106.5 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002283/0.9484, allocations: 372.5 kB / 0.5416 GB, free: 106.5 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007976/0.9492, allocations: 497.8 kB / 0.5421 GB, free: 106.5 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02259/0.9718, allocations: 13.53 MB / 0.5553 GB, free: 102.3 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0597/1.032, allocations: 44.71 MB / 0.599 GB, free: 65.2 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009316/1.041, allocations: 11.63 MB / 0.6103 GB, free: 52.48 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003681/1.045, allocations: 3.168 MB / 0.6134 GB, free: 49.32 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003356/1.045, allocations: 260.5 kB / 0.6137 GB, free: 49.04 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.4e-05/1.045, allocations: 86.44 kB / 0.6138 GB, free: 48.95 MB / 462.1 MB Notification: Performance of pre-optimization done (n=409): time 5.58e-06/1.045, allocations: 0 / 0.6138 GB, free: 48.95 MB / 462.1 MB Notification: Performance of matching and sorting (n=409): time 0.01775/1.063, allocations: 9.583 MB / 0.6231 GB, free: 39.34 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/1.063, allocations: 117.1 kB / 0.6232 GB, free: 39.2 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003684/1.067, allocations: 3.159 MB / 0.6263 GB, free: 36.07 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004334/1.067, allocations: 101.6 kB / 0.6264 GB, free: 35.96 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00153/1.069, allocations: 3.834 MB / 0.6302 GB, free: 32.59 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001017/1.07, allocations: 1.457 MB / 0.6316 GB, free: 31.16 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001345/1.071, allocations: 1.132 MB / 0.6327 GB, free: 30.01 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.388e-05/1.071, allocations: 309.1 kB / 0.633 GB, free: 29.71 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003258/1.074, allocations: 2.841 MB / 0.6358 GB, free: 26.86 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003891/1.078, allocations: 4.896 MB / 0.6405 GB, free: 21.02 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007862/1.086, allocations: 8.263 MB / 0.6486 GB, free: 11.82 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-05/1.086, allocations: 20 kB / 0.6486 GB, free: 11.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01298/1.099, allocations: 9.117 MB / 0.6575 GB, free: 2.676 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.851e-05/1.099, allocations: 32 kB / 0.6576 GB, free: 2.645 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.001e-05/1.099, allocations: 68 kB / 0.6576 GB, free: 2.578 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002847/1.102, allocations: 1.15 MB / 0.6588 GB, free: 1.422 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00418/1.106, allocations: 1.295 MB / 0.66 GB, free: 128 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01497/1.121, allocations: 10.82 MB / 0.6706 GB, free: 5.039 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004503/1.126, allocations: 0.7533 MB / 0.6713 GB, free: 4.281 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009884/1.127, allocations: 280 kB / 0.6716 GB, free: 4.008 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.006312/1.133, allocations: 3.424 MB / 0.6749 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001128/1.134, allocations: 373.7 kB / 0.6753 GB, free: 208 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01304/1.147, allocations: 6.905 MB / 0.682 GB, free: 9.27 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009926/1.157, allocations: 5.733 MB / 0.6876 GB, free: 3.523 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.057e-05/1.157, allocations: 12 kB / 0.6876 GB, free: 3.512 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.796e-05/1.157, allocations: 23.91 kB / 0.6877 GB, free: 3.488 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02989/1.187, allocations: 15.24 MB / 0.7025 GB, free: 4.07 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.831e-05/1.187, allocations: 12 kB / 0.7026 GB, free: 4.059 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003289/1.191, allocations: 0.7879 MB / 0.7033 GB, free: 3.27 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003401/1.194, allocations: 1.064 MB / 0.7044 GB, free: 2.199 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001009/1.195, allocations: 104 kB / 0.7045 GB, free: 2.098 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01427/1.209, allocations: 10.58 MB / 0.7148 GB, free: 7.238 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.72e-05/1.21, allocations: 24.12 kB / 0.7148 GB, free: 7.215 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01671/1.226, allocations: 10.7 MB / 0.7253 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003028/1.229, allocations: 1.009 MB / 0.7262 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001231/1.231, allocations: 96 kB / 0.7263 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003091/1.234, allocations: 287.7 kB / 0.7266 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009969/1.235, allocations: 335.2 kB / 0.7269 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000527/1.235, allocations: 148 kB / 0.7271 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003976/1.239, allocations: 2.121 MB / 0.7291 GB, free: 8.277 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.11e-07/1.239, allocations: 0 / 0.7291 GB, free: 8.277 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007991/1.247, allocations: 2.258 MB / 0.7314 GB, free: 6.012 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.01922/1.266, allocations: 11.44 MB / 0.7425 GB, free: 10.33 MB / 0.5451 GB Notification: Performance of simCode: created initialization part: time 0.01435/1.281, allocations: 7.452 MB / 0.7498 GB, free: 2.855 MB / 0.5451 GB Notification: Performance of simCode: created event and clocks part: time 1.727e-05/1.281, allocations: 320 / 0.7498 GB, free: 2.855 MB / 0.5451 GB Notification: Performance of simCode: created simulation system equations: time 0.2316/1.513, allocations: 3.654 MB / 0.7534 GB, free: 197.8 MB / 0.5451 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004698/1.517, allocations: 0.8027 MB / 0.7542 GB, free: 197.8 MB / 0.5451 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06612/1.583, allocations: 51.9 MB / 0.8048 GB, free: 162 MB / 0.5451 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004841/1.588, allocations: 5.93 MB / 0.8106 GB, free: 156 MB / 0.5451 GB Notification: Performance of simCode: alias equations: time 0.004589/1.593, allocations: 2.158 MB / 0.8127 GB, free: 153.9 MB / 0.5451 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003197/1.596, allocations: 3.01 MB / 0.8157 GB, free: 150.8 MB / 0.5451 GB Notification: Performance of SimCode: time 1.322e-06/1.596, allocations: 0 / 0.8157 GB, free: 150.8 MB / 0.5451 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1507/1.747, allocations: 113.8 MB / 0.9268 GB, free: 37.51 MB / 0.5451 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.57/19.32, allocations: 15.81 kB / 0.9268 GB, free: 37.5 MB / 0.5451 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.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