Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001457/0.001457, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00157/0.00157, allocations: 215.5 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 230.5 MB / 257.4 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] 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.Mechanics.Translational.Examples.CompareBrakingForce,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_CompareBrakingForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.CompareBrakingForce,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_CompareBrakingForce",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 71.89 kB / 377.8 MB, free: 2.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2793, allocations: 53.39 MB / 431.2 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.003841/0.2832, allocations: 2.386 MB / 433.6 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001492/0.2847, allocations: 0.7751 MB / 434.3 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.2848, allocations: 7.938 kB / 434.3 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001614/0.2849, allocations: 39.58 kB / 434.4 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002807/0.2852, allocations: 91.27 kB / 434.5 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003333/0.2856, allocations: 115.7 kB / 434.6 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003542/0.2859, allocations: 306.7 kB / 434.9 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/0.2861, allocations: 48.86 kB / 434.9 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.2862, allocations: 119.6 kB / 435 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001837/0.2864, allocations: 119.5 kB / 435.2 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.86e-05/0.2864, allocations: 27.94 kB / 435.2 MB, free: 2.648 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.888e-05/0.2865, allocations: 20 kB / 435.2 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.749e-05/0.2865, allocations: 55.77 kB / 435.3 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.2867, allocations: 127.3 kB / 435.4 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003203/0.287, allocations: 275.2 kB / 435.7 MB, free: 2.184 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.287, allocations: 0 / 435.7 MB, free: 2.184 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.287, allocations: 0 / 435.7 MB, free: 2.184 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.438e-05/0.287, allocations: 3.984 kB / 435.7 MB, free: 2.18 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009041/0.2879, allocations: 489.4 kB / 436.1 MB, free: 1.672 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.2879, allocations: 12.03 kB / 436.2 MB, free: 1.66 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.18e-05/0.288, allocations: 58.72 kB / 436.2 MB, free: 1.594 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.776e-05/0.2881, allocations: 32.75 kB / 436.2 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003916/0.2885, allocations: 191.5 kB / 436.4 MB, free: 1.348 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/0.2885, allocations: 12.81 kB / 436.4 MB, free: 1.336 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.269e-05/0.2885, allocations: 28.36 kB / 436.5 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000459/0.289, allocations: 250.7 kB / 436.7 MB, free: 1.047 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.289, allocations: 3.953 kB / 436.7 MB, free: 1.043 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.518e-05/0.289, allocations: 12 kB / 436.7 MB, free: 1.031 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.289, allocations: 4 kB / 436.7 MB, free: 1.027 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003707/0.2894, allocations: 163.5 kB / 436.9 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/0.2908, allocations: 0.9804 MB / 437.9 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005439/0.2914, allocations: 278.3 kB / 438.1 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/0.2915, allocations: 91.34 kB / 438.2 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.2916, allocations: 0 / 438.2 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/0.2916, allocations: 46.55 kB / 438.3 MB, free: 15.35 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.082e-06/0.2916, allocations: 0 / 438.3 MB, free: 15.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001864/0.2935, allocations: 1.044 MB / 439.3 MB, free: 14.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.81e-05/0.2935, allocations: 140.4 kB / 439.5 MB, free: 14.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/0.2938, allocations: 210.7 kB / 439.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.2938, allocations: 29.7 kB / 439.7 MB, free: 13.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.2939, allocations: 156.7 kB / 439.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.294, allocations: 135 kB / 440 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.035e-05/0.2941, allocations: 62.14 kB / 440 MB, free: 13.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.2942, allocations: 338.8 kB / 440.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/0.2944, allocations: 80.83 kB / 440.4 MB, free: 12.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002745/0.2947, allocations: 204.9 kB / 440.6 MB, free: 12.74 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000455/0.2952, allocations: 293.8 kB / 440.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2952, allocations: 4 kB / 440.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005894/0.2957, allocations: 345.3 kB / 441.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.2958, allocations: 8 kB / 441.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.2958, allocations: 0 / 441.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.2958, allocations: 8 kB / 441.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000378/0.2962, allocations: 96.08 kB / 441.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.65e-05/0.2962, allocations: 16.05 kB / 441.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/0.2963, allocations: 15.94 kB / 441.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.658e-05/0.2964, allocations: 16 kB / 441.4 MB, free: 11.9 MB / 350.1 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 0.0001432/0.2965, allocations: 149.7 kB / 441.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.703e-05/0.2966, allocations: 23.86 kB / 441.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.404e-05/0.2967, allocations: 33.39 kB / 441.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.2967, allocations: 4 kB / 441.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.2967, allocations: 4 kB / 441.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.2967, allocations: 11.92 kB / 441.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/0.2981, allocations: 0.9353 MB / 442.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.2981, allocations: 4 kB / 442.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003537/0.2985, allocations: 79.89 kB / 442.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.2985, allocations: 8 kB / 442.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.125e-05/0.2985, allocations: 8 kB / 442.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.095e-06/0.2985, allocations: 7.938 kB / 442.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.2985, allocations: 4 kB / 442.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008018/0.2993, allocations: 0.7004 MB / 443.4 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.063e-05/0.2994, allocations: 27.78 kB / 443.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.815e-05/0.2994, allocations: 8 kB / 443.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000254/0.2996, allocations: 12 kB / 443.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.885e-05/0.2997, allocations: 35.83 kB / 443.5 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.077e-05/0.2997, allocations: 16 kB / 443.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001297/0.2999, allocations: 148.6 kB / 443.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2999, allocations: 0 / 443.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004777/0.3003, allocations: 60 kB / 443.7 MB, free: 9.5 MB / 350.1 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.001136/0.3015, allocations: 1.253 MB / 445 MB, free: 8.191 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004971/0.302, allocations: 232.1 kB / 445.2 MB, free: 7.965 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.302, allocations: 0 / 445.2 MB, free: 7.965 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00025/0.3022, allocations: 115.8 kB / 445.3 MB, free: 7.852 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007508/0.303, allocations: 75.67 kB / 445.4 MB, free: 7.781 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004493/0.3075, allocations: 3.495 MB / 448.9 MB, free: 4.062 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004169/0.3079, allocations: 0.7643 MB / 449.6 MB, free: 3.27 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001364/0.308, allocations: 34.97 kB / 449.7 MB, free: 3.234 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.3082, allocations: 87.39 kB / 449.7 MB, free: 3.148 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3082, allocations: 0 / 449.7 MB, free: 3.148 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03524/0.3434, allocations: 6.099 MB / 455.8 MB, free: 13.17 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.37, allocations: 11.2 kB / 455.9 MB, free: 13.16 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Mechanics_Translational_Examples_CompareBrakingForce.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/CompareBrakingForce/CompareBrakingForce.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce_res.csv. Warning: Get data of variable Time from file Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce_res.csv failed! Error: Could not read variable mass3.v in file Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce_res.csv. Warning: Get data of variable mass3.v from file Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce_res.csv failed! Error: Could not read variable mass4.v in file Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce_res.csv. Warning: Get data of variable mass4.v from file Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.860979992001376]