Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007315/0.0007315, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008294/0.0008294, allocations: 170 kB / 23.95 MB, free: 0.6055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9078/0.9078, allocations: 177.1 MB / 204.3 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 324.5 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.351e-05/1.524e-05, allocations: 4.953 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002324/0.00234, allocations: 1.952 MB / 326.5 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007261/0.003066, allocations: 0.6467 MB / 327.2 MB, free: 13.33 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.675e-05/0.003142, allocations: 11.94 kB / 327.2 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001072/0.00325, allocations: 19.78 kB / 327.2 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.599e-05/0.003316, allocations: 47.58 kB / 327.2 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002118/0.003527, allocations: 55.78 kB / 327.3 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001338/0.003661, allocations: 155.2 kB / 327.4 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.00377, allocations: 25.02 kB / 327.5 MB, free: 13.02 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.859e-05/0.003858, allocations: 79.86 kB / 327.5 MB, free: 12.94 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.489e-05/0.003923, allocations: 47.83 kB / 327.6 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.825e-05/0.003941, allocations: 12 kB / 327.6 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.908e-05/0.004001, allocations: 31.97 kB / 327.6 MB, free: 12.85 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.017e-05/0.004021, allocations: 15.92 kB / 327.6 MB, free: 12.83 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.517e-05/0.004056, allocations: 47.91 kB / 327.7 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001869/0.004243, allocations: 159.4 kB / 327.8 MB, free: 12.63 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.053e-06/0.004245, allocations: 0 / 327.8 MB, free: 12.63 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.004246, allocations: 4 kB / 327.8 MB, free: 12.62 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.00425, allocations: 0 / 327.8 MB, free: 12.62 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0004192/0.00467, allocations: 368.8 kB / 328.2 MB, free: 12.24 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.004702, allocations: 12.03 kB / 328.2 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.351e-05/0.004735, allocations: 50.73 kB / 328.3 MB, free: 12.17 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.983e-05/0.004835, allocations: 28.83 kB / 328.3 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.004977, allocations: 141.6 kB / 328.4 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.004987, allocations: 12.36 kB / 328.4 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.005009, allocations: 12.38 kB / 328.5 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.005179, allocations: 110.2 kB / 328.6 MB, free: 11.84 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.005192, allocations: 11.88 kB / 328.6 MB, free: 11.83 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.005203, allocations: 4 kB / 328.6 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-06/0.005208, allocations: 4 kB / 328.6 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001487/0.005356, allocations: 87.94 kB / 328.7 MB, free: 11.73 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004824/0.005839, allocations: 442.7 kB / 329.1 MB, free: 11.25 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.006053, allocations: 114.5 kB / 329.2 MB, free: 11.13 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.549e-05/0.006129, allocations: 48.88 kB / 329.3 MB, free: 11.08 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.728e-06/0.006139, allocations: 3.938 kB / 329.3 MB, free: 11.08 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.451e-05/0.006153, allocations: 30.56 kB / 329.3 MB, free: 11.04 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/0.006154, allocations: 0 / 329.3 MB, free: 11.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005846/0.006739, allocations: 409 kB / 329.7 MB, free: 10.61 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/0.006762, allocations: 51.41 kB / 329.7 MB, free: 10.54 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.789e-05/0.00683, allocations: 134.2 kB / 329.9 MB, free: 10.4 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.006843, allocations: 33.69 kB / 329.9 MB, free: 10.36 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.838e-05/0.006891, allocations: 116.2 kB / 330 MB, free: 10.24 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.573e-05/0.006917, allocations: 51.53 kB / 330.1 MB, free: 10.19 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.102e-05/0.006958, allocations: 29.72 kB / 330.1 MB, free: 10.16 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.336e-05/0.007031, allocations: 318.8 kB / 330.4 MB, free: 9.836 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.849e-05/0.00711, allocations: 47.97 kB / 330.5 MB, free: 9.789 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.75e-05/0.007197, allocations: 82.31 kB / 330.5 MB, free: 9.699 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.007342, allocations: 115.4 kB / 330.7 MB, free: 9.574 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.007343, allocations: 0 / 330.7 MB, free: 9.574 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001826/0.007525, allocations: 173.5 kB / 330.8 MB, free: 9.398 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.007537, allocations: 11.94 kB / 330.8 MB, free: 9.387 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.007542, allocations: 3.984 kB / 330.8 MB, free: 9.383 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.007553, allocations: 3.938 kB / 330.8 MB, free: 9.379 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.768e-05/0.00764, allocations: 35.98 kB / 330.9 MB, free: 9.344 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.007645, allocations: 3.938 kB / 330.9 MB, free: 9.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.344e-05/0.007689, allocations: 11.98 kB / 330.9 MB, free: 9.328 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.007695, allocations: 8 kB / 330.9 MB, free: 9.32 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.006e-05/0.007755, allocations: 121.8 kB / 331 MB, free: 9.191 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.745e-05/0.007773, allocations: 15.97 kB / 331 MB, free: 9.176 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.616e-05/0.007799, allocations: 24.77 kB / 331.1 MB, free: 9.156 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.007801, allocations: 3.984 kB / 331.1 MB, free: 9.152 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.007805, allocations: 3.984 kB / 331.1 MB, free: 9.148 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.007808, allocations: 4 kB / 331.1 MB, free: 9.145 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003809/0.008189, allocations: 423.1 kB / 331.5 MB, free: 8.676 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.00819, allocations: 64 / 331.5 MB, free: 8.676 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.073e-05/0.008281, allocations: 39.97 kB / 331.5 MB, free: 8.637 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.008282, allocations: 0 / 331.5 MB, free: 8.637 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.008294, allocations: 15.94 kB / 331.5 MB, free: 8.621 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.008294, allocations: 0 / 331.5 MB, free: 8.621 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.008295, allocations: 0 / 331.5 MB, free: 8.621 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002714/0.008567, allocations: 312.7 kB / 331.8 MB, free: 8.297 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.418e-06/0.008576, allocations: 7.953 kB / 331.9 MB, free: 8.289 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.008589, allocations: 8.031 kB / 331.9 MB, free: 8.281 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.376e-05/0.008643, allocations: 8 kB / 331.9 MB, free: 8.273 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.637e-05/0.008669, allocations: 7.984 kB / 331.9 MB, free: 8.266 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.008674, allocations: 4 kB / 331.9 MB, free: 8.262 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.308e-05/0.008717, allocations: 114.1 kB / 332 MB, free: 8.152 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008717, allocations: 0 / 332 MB, free: 8.152 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001606/0.008877, allocations: 28 kB / 332 MB, free: 8.125 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (mass.s,mass.v,heatCapacitor.T) * 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004172/0.009295, allocations: 0.8359 MB / 332.9 MB, free: 7.254 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000167/0.009462, allocations: 107.9 kB / 333 MB, free: 7.148 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.009463, allocations: 4 kB / 333 MB, free: 7.145 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.102e-05/0.009534, allocations: 55.91 kB / 333 MB, free: 7.09 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001965/0.009731, allocations: 20.39 kB / 333 MB, free: 7.07 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.01119, allocations: 1.913 MB / 335 MB, free: 5.047 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.579e-05/0.01125, allocations: 94.28 kB / 335 MB, free: 4.938 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.341e-05/0.01129, allocations: 12.64 kB / 335.1 MB, free: 4.926 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.299e-05/0.01134, allocations: 40.48 kB / 335.1 MB, free: 4.887 MB / 298.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01134, allocations: 0 / 335.1 MB, free: 4.887 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01587/0.02721, allocations: 3.769 MB / 338.9 MB, free: 1.258 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.895/6.922, allocations: 7.859 kB / 338.9 MB, free: 1.25 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake.fmu > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.csv. Warning: Get data of variable Time from file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.csv failed! Error: Could not read variable eddyCurrentForce.lossPower in file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.csv. Warning: Get data of variable eddyCurrentForce.lossPower from file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.623992612585425]