Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.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.0008358/0.0008358, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.001296/0.001296, allocations: 170 kB / 23.95 MB, free: 0.6094 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.8478/0.8478, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.CompareBrakingForce,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_CompareBrakingForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.CompareBrakingForce,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_CompareBrakingForce",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.724e-05/1.924e-05, allocations: 2.281 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.00322/0.003239, allocations: 2.238 MB / 326.8 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.004618, allocations: 0.7282 MB / 327.5 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.004722, allocations: 7.938 kB / 327.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001151/0.004837, allocations: 43.58 kB / 327.6 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002069/0.005044, allocations: 83.27 kB / 327.7 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002494/0.005294, allocations: 127.6 kB / 327.8 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002377/0.005531, allocations: 310.5 kB / 328.1 MB, free: 12.39 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.005653, allocations: 56.69 kB / 328.1 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.005782, allocations: 155.7 kB / 328.3 MB, free: 12.19 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.005889, allocations: 103.6 kB / 328.4 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.55e-05/0.005914, allocations: 20 kB / 328.4 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.121e-05/0.005935, allocations: 20 kB / 328.4 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.336e-05/0.005969, allocations: 55.77 kB / 328.5 MB, free: 12 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.207e-05/0.006031, allocations: 99.73 kB / 328.6 MB, free: 11.9 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002066/0.006237, allocations: 275 kB / 328.8 MB, free: 11.63 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.00624, allocations: 0 / 328.8 MB, free: 11.63 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.006241, allocations: 0 / 328.8 MB, free: 11.63 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.006245, allocations: 0 / 328.8 MB, free: 11.63 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0005692/0.006814, allocations: 485.5 kB / 329.3 MB, free: 11.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.006846, allocations: 12.03 kB / 329.3 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.113e-05/0.006887, allocations: 54.73 kB / 329.4 MB, free: 11.05 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.868e-05/0.006926, allocations: 32.75 kB / 329.4 MB, free: 11.02 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.007152, allocations: 199 kB / 329.6 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.007169, allocations: 12.88 kB / 329.6 MB, free: 10.79 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.155e-05/0.007201, allocations: 28.36 kB / 329.7 MB, free: 10.76 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/0.007465, allocations: 232.1 kB / 329.9 MB, free: 10.51 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.007479, allocations: 8.078 kB / 329.9 MB, free: 10.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.007498, allocations: 20.12 kB / 329.9 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.007505, allocations: 4 kB / 329.9 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002286/0.007734, allocations: 167.9 kB / 330.1 MB, free: 10.32 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.008787, allocations: 0.9262 MB / 331 MB, free: 9.309 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003251/0.009112, allocations: 282 kB / 331.3 MB, free: 8.996 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.009215, allocations: 96.02 kB / 331.4 MB, free: 8.891 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.009232, allocations: 4 kB / 331.4 MB, free: 8.887 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.009254, allocations: 46.48 kB / 331.4 MB, free: 8.832 MB / 298.7 MB Notification: Performance of pre-optimization done (n=28): time 1.493e-06/0.009256, allocations: 0 / 331.4 MB, free: 8.832 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.001049/0.0103, allocations: 1.035 MB / 332.5 MB, free: 7.68 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.01035, allocations: 136.5 kB / 332.6 MB, free: 7.516 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.01047, allocations: 210.7 kB / 332.8 MB, free: 7.301 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.01049, allocations: 29.7 kB / 332.8 MB, free: 7.266 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.59e-05/0.01056, allocations: 152.8 kB / 333 MB, free: 7.109 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.758e-05/0.01061, allocations: 119 kB / 333.1 MB, free: 6.992 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.056e-05/0.01067, allocations: 78.12 kB / 333.2 MB, free: 6.91 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.281e-05/0.01076, allocations: 338.8 kB / 333.5 MB, free: 6.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.01087, allocations: 80.95 kB / 333.6 MB, free: 6.492 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/0.01102, allocations: 202.6 kB / 333.8 MB, free: 6.246 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002894/0.01131, allocations: 302.6 kB / 334.1 MB, free: 5.902 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.01131, allocations: 0 / 334.1 MB, free: 5.902 MB / 298.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003594/0.01167, allocations: 345.1 kB / 334.4 MB, free: 5.559 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.01169, allocations: 8 kB / 334.4 MB, free: 5.551 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.0117, allocations: 4 kB / 334.4 MB, free: 5.547 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.01171, allocations: 4 kB / 334.4 MB, free: 5.543 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001954/0.0119, allocations: 91.89 kB / 334.5 MB, free: 5.453 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.01191, allocations: 11.94 kB / 334.5 MB, free: 5.441 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.191e-05/0.012, allocations: 20.23 kB / 334.5 MB, free: 5.422 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/0.01202, allocations: 16 kB / 334.6 MB, free: 5.406 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (48): * Single equations (assignments): 48 * 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 9.777e-05/0.01211, allocations: 145.7 kB / 334.7 MB, free: 5.254 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.488e-05/0.01217, allocations: 27.86 kB / 334.7 MB, free: 5.227 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.665e-05/0.01221, allocations: 37.45 kB / 334.8 MB, free: 5.191 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.01222, allocations: 4 kB / 334.8 MB, free: 5.188 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.01222, allocations: 0 / 334.8 MB, free: 5.188 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.01223, allocations: 0 / 334.8 MB, free: 5.188 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008332/0.01306, allocations: 0.9156 MB / 335.7 MB, free: 4.195 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.01307, allocations: 4 kB / 335.7 MB, free: 4.191 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/0.01325, allocations: 83.89 kB / 335.8 MB, free: 4.109 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.01326, allocations: 7.938 kB / 335.8 MB, free: 4.102 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.01327, allocations: 8 kB / 335.8 MB, free: 4.094 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.01328, allocations: 4 kB / 335.8 MB, free: 4.09 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.01328, allocations: 4 kB / 335.8 MB, free: 4.086 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004991/0.01378, allocations: 0.6926 MB / 336.5 MB, free: 3.344 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.555e-05/0.0138, allocations: 27.78 kB / 336.5 MB, free: 3.316 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.01383, allocations: 12.25 kB / 336.5 MB, free: 3.305 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.01396, allocations: 8 kB / 336.5 MB, free: 3.297 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.258e-05/0.01402, allocations: 39.83 kB / 336.6 MB, free: 3.258 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.01403, allocations: 12 kB / 336.6 MB, free: 3.246 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.307e-05/0.0141, allocations: 148.5 kB / 336.7 MB, free: 3.102 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0141, allocations: 4 kB / 336.7 MB, free: 3.098 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000297/0.0144, allocations: 68 kB / 336.8 MB, free: 3.031 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 8 (mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.v,mass1.s,mass1.v) * 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 (32): * Single equations (assignments): 32 * 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.0008304/0.01523, allocations: 1.238 MB / 338 MB, free: 1.742 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002987/0.01553, allocations: 237.7 kB / 338.3 MB, free: 1.512 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01553, allocations: 0 / 338.3 MB, free: 1.512 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001343/0.01566, allocations: 119.8 kB / 338.4 MB, free: 1.395 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004644/0.01613, allocations: 67.3 kB / 338.4 MB, free: 1.332 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002517/0.01864, allocations: 3.339 MB / 341.8 MB, free: 13.75 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001132/0.01876, allocations: 155.1 kB / 341.9 MB, free: 13.57 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.682e-05/0.01884, allocations: 34.95 kB / 342 MB, free: 13.54 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.761e-05/0.01894, allocations: 84.47 kB / 342.1 MB, free: 13.46 MB / 314.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01894, allocations: 0 / 342.1 MB, free: 13.46 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01801/0.03695, allocations: 6.635 MB / 348.7 MB, free: 6.996 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.027/7.064, allocations: 6.859 kB / 348.7 MB, free: 6.992 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_CompareBrakingForce.fmu > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/CompareBrakingForce/CompareBrakingForce.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.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.CompareBrakingForce_res.csv. Warning: Get data of variable Time from file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce_res.csv failed! Error: Could not read variable mass3.v in file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce_res.csv. Warning: Get data of variable mass3.v from file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce_res.csv failed! Error: Could not read variable mass4.v in file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce_res.csv. Warning: Get data of variable mass4.v from file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.592985876835883]