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.001786/0.001786, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.002103/0.002103, allocations: 209.7 kB / 23.73 MB, free: 4.387 MB / 14.72 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 1.41/1.41, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001578/0.001578, allocations: 47.92 kB / 377.7 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2298, allocations: 53.37 MB / 431.1 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003333/0.2332, allocations: 1.948 MB / 433 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001143/0.2343, allocations: 0.6468 MB / 433.7 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.086e-05/0.2344, allocations: 15.88 kB / 433.7 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001137/0.2345, allocations: 15.8 kB / 433.7 MB, free: 4 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.043e-05/0.2346, allocations: 47.62 kB / 433.7 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002273/0.2348, allocations: 47.86 kB / 433.8 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000204/0.235, allocations: 147.3 kB / 433.9 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.2351, allocations: 21.28 kB / 434 MB, free: 3.738 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.905e-05/0.2352, allocations: 51.8 kB / 434 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.2353, allocations: 55.7 kB / 434.1 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.435e-05/0.2353, allocations: 16 kB / 434.1 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.222e-05/0.2354, allocations: 27.98 kB / 434.1 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.971e-05/0.2354, allocations: 23.92 kB / 434.1 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.87e-05/0.2355, allocations: 55.72 kB / 434.2 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002372/0.2358, allocations: 149.1 kB / 434.3 MB, free: 3.367 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2358, allocations: 0 / 434.3 MB, free: 3.367 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2358, allocations: 0 / 434.3 MB, free: 3.367 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.2358, allocations: 0 / 434.3 MB, free: 3.367 MB / 334.1 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.0006496/0.2364, allocations: 380.4 kB / 434.7 MB, free: 2.969 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.2364, allocations: 11.97 kB / 434.7 MB, free: 2.957 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.964e-05/0.2365, allocations: 46.73 kB / 434.8 MB, free: 2.902 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001712/0.2367, allocations: 28.83 kB / 434.8 MB, free: 2.875 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002382/0.2369, allocations: 142.3 kB / 434.9 MB, free: 2.711 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.2369, allocations: 8.375 kB / 434.9 MB, free: 2.703 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.297e-05/0.237, allocations: 16.12 kB / 434.9 MB, free: 2.688 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003006/0.2373, allocations: 117.6 kB / 435.1 MB, free: 2.566 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.2373, allocations: 3.953 kB / 435.1 MB, free: 2.562 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.2373, allocations: 4 kB / 435.1 MB, free: 2.559 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.2373, allocations: 0 / 435.1 MB, free: 2.559 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002769/0.2376, allocations: 95.92 kB / 435.2 MB, free: 2.465 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007974/0.2384, allocations: 430.5 kB / 435.6 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003468/0.2387, allocations: 122.5 kB / 435.7 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/0.2388, allocations: 44.88 kB / 435.7 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.2389, allocations: 0 / 435.7 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.2389, allocations: 42.5 kB / 435.8 MB, free: 1.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 9.92e-07/0.2389, allocations: 0 / 435.8 MB, free: 1.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009857/0.2399, allocations: 409 kB / 436.2 MB, free: 1.336 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.2399, allocations: 55.39 kB / 436.2 MB, free: 1.27 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.24, allocations: 138.1 kB / 436.4 MB, free: 1.121 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.2401, allocations: 25.7 kB / 436.4 MB, free: 1.09 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.967e-05/0.2401, allocations: 120.2 kB / 436.5 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.161e-05/0.2402, allocations: 47.58 kB / 436.6 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.919e-05/0.2402, allocations: 37.62 kB / 436.6 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.2404, allocations: 322.8 kB / 436.9 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001951/0.2406, allocations: 43.97 kB / 437 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/0.2407, allocations: 86.3 kB / 437 MB, free: 428 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002878/0.241, allocations: 122.3 kB / 437.2 MB, free: 296 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.241, allocations: 4 kB / 437.2 MB, free: 292 kB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003564/0.2414, allocations: 173.5 kB / 437.3 MB, free: 112 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.2414, allocations: 8 kB / 437.3 MB, free: 104 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.2414, allocations: 0 / 437.3 MB, free: 104 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.2414, allocations: 0 / 437.3 MB, free: 104 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.2416, allocations: 43.91 kB / 437.4 MB, free: 60 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.2416, allocations: 0 / 437.4 MB, free: 60 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.513e-05/0.2417, allocations: 8 kB / 437.4 MB, free: 52 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.2417, allocations: 8 kB / 437.4 MB, free: 44 kB / 334.1 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 0.0001133/0.2418, allocations: 125.8 kB / 437.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.052e-05/0.2419, allocations: 19.88 kB / 437.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.964e-05/0.2419, allocations: 16.78 kB / 437.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.2419, allocations: 4 kB / 437.6 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.2419, allocations: 0 / 437.6 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2419, allocations: 0 / 437.6 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007098/0.2426, allocations: 427.9 kB / 438 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2426, allocations: 0 / 438 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000198/0.2428, allocations: 36.05 kB / 438 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.2428, allocations: 4 kB / 438 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.2428, allocations: 0 / 438 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2428, allocations: 0 / 438 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.2429, allocations: 4 kB / 438 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005295/0.2434, allocations: 315.6 kB / 438.3 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.672e-05/0.2434, allocations: 7.953 kB / 438.3 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.2434, allocations: 4 kB / 438.3 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.2436, allocations: 16.03 kB / 438.4 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.712e-05/0.2436, allocations: 7.984 kB / 438.4 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.2436, allocations: 4 kB / 438.4 MB, free: 14.99 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.681e-05/0.2437, allocations: 102 kB / 438.5 MB, free: 14.89 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2437, allocations: 0 / 438.5 MB, free: 14.89 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.2439, allocations: 31.94 kB / 438.5 MB, free: 14.86 MB / 350.1 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.0008544/0.2448, allocations: 0.8507 MB / 439.4 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003189/0.2451, allocations: 110.8 kB / 439.5 MB, free: 13.87 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2451, allocations: 0 / 439.5 MB, free: 13.87 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.2453, allocations: 55.91 kB / 439.5 MB, free: 13.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003334/0.2456, allocations: 27.92 kB / 439.5 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002458/0.248, allocations: 1.994 MB / 441.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.299e-05/0.2481, allocations: 98.28 kB / 441.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.374e-05/0.2482, allocations: 8.641 kB / 441.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.863e-05/0.2483, allocations: 39.42 kB / 441.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2483, allocations: 4 kB / 441.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03027/0.2786, allocations: 3.618 MB / 445.3 MB, free: 8.051 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.53, allocations: 11.94 kB / 445.3 MB, free: 8.039 MB / 350.1 MB " [Timeout remaining time 648] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/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: 13.977705436758697]