Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 194.3 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 225.7 MB / 252.5 MB, free: 12.79 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Vehicle,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Vehicle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Vehicle,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Vehicle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 47.92 kB / 370.4 MB, free: 9.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2506, allocations: 52.17 MB / 422.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.008152/0.2587, allocations: 5.52 MB / 428.1 MB, free: 8.824 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004914/0.2637, allocations: 2.088 MB / 430.2 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001056/0.2647, allocations: 39.75 kB / 430.2 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009412/0.2657, allocations: 425.3 kB / 430.6 MB, free: 6.273 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001167/0.2668, allocations: 476.8 kB / 431.1 MB, free: 5.805 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.268, allocations: 0.5168 MB / 431.6 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001657/0.2696, allocations: 1.492 MB / 433.1 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006146/0.2702, allocations: 348.9 kB / 433.4 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007295/0.271, allocations: 0.5682 MB / 434 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007497/0.2717, allocations: 0.5987 MB / 434.6 MB, free: 2.258 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001734/0.2719, allocations: 128 kB / 434.7 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003165/0.2722, allocations: 176 kB / 434.9 MB, free: 1.961 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002886/0.2725, allocations: 310.8 kB / 435.2 MB, free: 1.656 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005357/0.273, allocations: 0.509 MB / 435.7 MB, free: 1.145 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001806/0.2748, allocations: 1.655 MB / 437.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.2748, allocations: 0 / 437.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2748, allocations: 0 / 437.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.401e-05/0.2749, allocations: 0 / 437.4 MB, free: 15.48 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002864/0.2777, allocations: 1.521 MB / 438.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.2778, allocations: 8.031 kB / 438.9 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001668/0.2779, allocations: 152.4 kB / 439 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002094/0.2782, allocations: 152 kB / 439.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/0.2794, allocations: 0.6977 MB / 439.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.086e-05/0.2795, allocations: 81.94 kB / 440 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000151/0.2796, allocations: 108 kB / 440.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/0.2812, allocations: 0.904 MB / 441 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.497e-05/0.2812, allocations: 19.89 kB / 441 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-05/0.2813, allocations: 36 kB / 441 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.284e-05/0.2813, allocations: 24 kB / 441.1 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001267/0.2826, allocations: 0.6441 MB / 441.7 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004517/0.2871, allocations: 2.753 MB / 444.5 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001285/0.2884, allocations: 0.5697 MB / 445 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005033/0.2889, allocations: 274.7 kB / 445.3 MB, free: 7.367 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.357e-05/0.2889, allocations: 8.656 kB / 445.3 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006622/0.2896, allocations: 340.4 kB / 445.6 MB, free: 7.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=80): time 3.116e-06/0.2896, allocations: 4 kB / 445.6 MB, free: 7.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.006148/0.2957, allocations: 2.951 MB / 448.6 MB, free: 4.023 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.2958, allocations: 72.34 kB / 448.7 MB, free: 3.941 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/0.297, allocations: 0.9507 MB / 449.6 MB, free: 2.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.583e-05/0.2971, allocations: 41.7 kB / 449.7 MB, free: 2.934 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004799/0.2975, allocations: 0.5166 MB / 450.2 MB, free: 2.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002849/0.2978, allocations: 368.9 kB / 450.5 MB, free: 2.047 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002311/0.298, allocations: 158.6 kB / 450.7 MB, free: 1.887 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.2982, allocations: 345.9 kB / 451 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000562/0.2988, allocations: 273.9 kB / 451.3 MB, free: 1.273 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006743/0.2994, allocations: 433.4 kB / 451.7 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/0.3007, allocations: 0.7522 MB / 452.5 MB, free: 0 / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3007, allocations: 0 / 452.5 MB, free: 0 / 350.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001912/0.3026, allocations: 1.029 MB / 453.5 MB, free: 14.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.3027, allocations: 8 kB / 453.5 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.3027, allocations: 4 kB / 453.5 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004455/0.3031, allocations: 154 kB / 453.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007509/0.3039, allocations: 203.7 kB / 453.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003931/0.3078, allocations: 3.743 MB / 457.6 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005444/0.3083, allocations: 23.98 kB / 457.6 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-05/0.3084, allocations: 39.98 kB / 457.7 MB, free: 10.57 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.timeTableTorqueInclination.nextTimeEvent,$whenCondition1,timeTableTorqueInclination.nextTimeEventScaled,$PRE.timeTableTorqueInclination.nextTimeEventScaled,timeTableTorqueInclination.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,4,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000482/0.3089, allocations: 309.6 kB / 458 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001648/0.309, allocations: 115.4 kB / 458.1 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001927/0.311, allocations: 0.9634 MB / 459 MB, free: 9.156 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.311, allocations: 8 kB / 459 MB, free: 9.148 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.311, allocations: 7.984 kB / 459.1 MB, free: 9.141 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.311, allocations: 7.984 kB / 459.1 MB, free: 9.133 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004108/0.3151, allocations: 2.267 MB / 461.3 MB, free: 6.766 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/0.3151, allocations: 4.125 kB / 461.3 MB, free: 6.762 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007768/0.3159, allocations: 195.7 kB / 461.5 MB, free: 6.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003703/0.3163, allocations: 122 kB / 461.6 MB, free: 6.445 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.238e-05/0.3163, allocations: 28 kB / 461.7 MB, free: 6.418 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003497/0.3198, allocations: 3.362 MB / 465 MB, free: 2.828 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.275e-05/0.3198, allocations: 7.938 kB / 465 MB, free: 2.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002602/0.3224, allocations: 1.451 MB / 466.5 MB, free: 1.309 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000452/0.3229, allocations: 175.2 kB / 466.7 MB, free: 1.137 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001616/0.3231, allocations: 31.97 kB / 466.7 MB, free: 1.105 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004576/0.3235, allocations: 24 kB / 466.7 MB, free: 1.082 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001643/0.3237, allocations: 76.89 kB / 466.8 MB, free: 1.008 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.008e-05/0.3238, allocations: 39.92 kB / 466.8 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009918/0.3247, allocations: 0.663 MB / 467.5 MB, free: 316 kB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3247, allocations: 0 / 467.5 MB, free: 316 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.001067/0.3258, allocations: 252 kB / 467.7 MB, free: 64 kB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 10 (vehicle.mass.s,vehicle.mass.v,vehicle.windSpeed.s,vehicle.windSpeed.v,vehicle1.mass.s,vehicle1.mass.v,vehicle1.windSpeed.s,vehicle1.windSpeed.v,trailer.windSpeed.s,trailer.windSpeed.v) * Number of discrete variables: 3 ($whenCondition1,timeTableTorqueInclination.nextTimeEvent,timeTableTorqueInclination.nextTimeEventScaled) * Number of discrete states: 2 (timeTableTorqueInclination.nextTimeEvent,timeTableTorqueInclination.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(1,3,100.0%), (1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004428/0.3302, allocations: 2.364 MB / 470.1 MB, free: 13.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001994/0.3322, allocations: 1.014 MB / 471.1 MB, free: 12.78 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.3322, allocations: 4.062 kB / 471.1 MB, free: 12.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001136/0.3334, allocations: 0.6745 MB / 471.8 MB, free: 12.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.3345, allocations: 191 kB / 472 MB, free: 11.9 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01471/0.3492, allocations: 8.761 MB / 480.7 MB, free: 2.848 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000643/0.3498, allocations: 0.507 MB / 481.3 MB, free: 2.301 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004478/0.3503, allocations: 127.5 kB / 481.4 MB, free: 2.172 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005977/0.3509, allocations: 439.3 kB / 481.8 MB, free: 1.742 MB / 382.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3509, allocations: 0 / 481.8 MB, free: 1.742 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06455/0.4154, allocations: 22.67 MB / 0.4927 GB, free: 11.26 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/12.91, allocations: 11.3 kB / 0.4927 GB, free: 11.26 MB / 414.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Vehicle.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Vehicle/Vehicle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable vehicle.s in file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle_res.csv. Warning: Get data of variable vehicle.s from file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle_res.csv failed! Error: Could not read variable vehicle.v in file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle_res.csv. Warning: Get data of variable vehicle.v from file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle_res.csv failed! Error: Could not read variable vehicle1.s in file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle_res.csv. Warning: Get data of variable vehicle1.s from file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle_res.csv failed! Error: Could not read variable vehicle1.v in file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle_res.csv. Warning: Get data of variable vehicle1.v from file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle_res.csv failed! Error: Could not read variable trailer.s in file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle_res.csv. Warning: Get data of variable trailer.s from file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle_res.csv failed! Error: Could not read variable trailer.v in file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle_res.csv. Warning: Get data of variable trailer.v from file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.606138189788908]