Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.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.001435/0.001435, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001595/0.001595, allocations: 207.8 kB / 23.73 MB, free: 4.391 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.445/1.445, allocations: 230.5 MB / 257.4 MB, free: 7.773 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.Vehicle,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Vehicle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Vehicle,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Vehicle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002143/0.002143, allocations: 68.12 kB / 377.7 MB, free: 2.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2504, allocations: 53.41 MB / 431.1 MB, free: 6.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.008609/0.259, allocations: 5.518 MB / 436.7 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005432/0.2645, allocations: 2.232 MB / 438.9 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001258/0.2657, allocations: 39.69 kB / 438.9 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001316/0.267, allocations: 425.4 kB / 439.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001935/0.269, allocations: 0.5085 MB / 439.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00151/0.2705, allocations: 495.1 kB / 440.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002391/0.2729, allocations: 1.507 MB / 441.8 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009557/0.2738, allocations: 349.2 kB / 442.2 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001027/0.2749, allocations: 0.572 MB / 442.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001043/0.2759, allocations: 0.5948 MB / 443.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003305/0.2762, allocations: 132 kB / 443.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005054/0.2767, allocations: 180 kB / 443.7 MB, free: 9.855 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003953/0.2771, allocations: 310.9 kB / 444 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008493/0.278, allocations: 0.509 MB / 444.5 MB, free: 9.039 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002349/0.2803, allocations: 1.682 MB / 446.2 MB, free: 7.352 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.2803, allocations: 0 / 446.2 MB, free: 7.352 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.2803, allocations: 0 / 446.2 MB, free: 7.352 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.034e-05/0.2804, allocations: 0 / 446.2 MB, free: 7.352 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.003506/0.2839, allocations: 1.536 MB / 447.7 MB, free: 5.777 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.284, allocations: 11.98 kB / 447.7 MB, free: 5.766 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000283/0.2842, allocations: 152.4 kB / 447.9 MB, free: 5.609 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005255/0.2848, allocations: 160 kB / 448 MB, free: 5.453 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001563/0.2863, allocations: 0.6977 MB / 448.7 MB, free: 4.727 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.882e-05/0.2864, allocations: 78.31 kB / 448.8 MB, free: 4.652 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002001/0.2866, allocations: 112.1 kB / 448.9 MB, free: 4.543 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001793/0.2884, allocations: 0.9079 MB / 449.8 MB, free: 3.617 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-05/0.2885, allocations: 11.95 kB / 449.8 MB, free: 3.605 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.156e-05/0.2885, allocations: 47.92 kB / 449.9 MB, free: 3.559 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.337e-05/0.2886, allocations: 24 kB / 449.9 MB, free: 3.535 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001512/0.2901, allocations: 0.6363 MB / 450.5 MB, free: 2.898 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005452/0.2955, allocations: 2.753 MB / 453.3 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/0.2969, allocations: 0.5658 MB / 453.8 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005813/0.2975, allocations: 279.3 kB / 454.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.147e-05/0.2976, allocations: 16.59 kB / 454.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006997/0.2983, allocations: 344.4 kB / 454.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=80): time 3.567e-06/0.2983, allocations: 0 / 454.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.006274/0.3045, allocations: 2.94 MB / 457.4 MB, free: 11.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.3046, allocations: 60.41 kB / 457.5 MB, free: 11.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001332/0.3059, allocations: 0.9586 MB / 458.4 MB, free: 10.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.735e-05/0.306, allocations: 41.7 kB / 458.5 MB, free: 10.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004735/0.3065, allocations: 0.5243 MB / 459 MB, free: 10.24 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003014/0.3068, allocations: 360.9 kB / 459.3 MB, free: 9.887 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002369/0.307, allocations: 166.6 kB / 459.5 MB, free: 9.719 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.3071, allocations: 345.9 kB / 459.8 MB, free: 9.375 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005662/0.3077, allocations: 273.9 kB / 460.1 MB, free: 9.105 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006861/0.3084, allocations: 441.4 kB / 460.5 MB, free: 8.625 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001387/0.3098, allocations: 0.7443 MB / 461.3 MB, free: 7.832 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.3098, allocations: 0 / 461.3 MB, free: 7.832 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002171/0.312, allocations: 1.029 MB / 462.3 MB, free: 6.789 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.312, allocations: 8 kB / 462.3 MB, free: 6.781 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.312, allocations: 4.438 kB / 462.3 MB, free: 6.777 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004701/0.3125, allocations: 148.8 kB / 462.5 MB, free: 6.629 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008524/0.3133, allocations: 207.7 kB / 462.7 MB, free: 6.426 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004144/0.3175, allocations: 3.746 MB / 466.4 MB, free: 2.457 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005908/0.3181, allocations: 27.95 kB / 466.4 MB, free: 2.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.3182, allocations: 39.98 kB / 466.5 MB, free: 2.391 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.000582/0.3188, allocations: 305.7 kB / 466.8 MB, free: 2.082 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002232/0.319, allocations: 111.2 kB / 466.9 MB, free: 1.973 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002053/0.321, allocations: 0.9713 MB / 467.9 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/0.321, allocations: 8 kB / 467.9 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/0.3211, allocations: 4 kB / 467.9 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.3211, allocations: 3.984 kB / 467.9 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004518/0.3256, allocations: 2.272 MB / 470.1 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.249e-05/0.3256, allocations: 7.938 kB / 470.2 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007936/0.3264, allocations: 192.1 kB / 470.3 MB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004015/0.3268, allocations: 125.6 kB / 470.5 MB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.978e-05/0.3269, allocations: 27.98 kB / 470.5 MB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003438/0.3303, allocations: 3.35 MB / 473.8 MB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/0.3303, allocations: 7.938 kB / 473.9 MB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002511/0.3328, allocations: 1.451 MB / 475.3 MB, free: 9.145 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004579/0.3333, allocations: 183.1 kB / 475.5 MB, free: 8.965 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001608/0.3334, allocations: 23.94 kB / 475.5 MB, free: 8.941 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004582/0.3339, allocations: 31.98 kB / 475.5 MB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/0.3341, allocations: 76.89 kB / 475.6 MB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6e-05/0.3341, allocations: 32 kB / 475.6 MB, free: 8.805 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009075/0.335, allocations: 0.6868 MB / 476.3 MB, free: 8.121 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.335, allocations: 0 / 476.3 MB, free: 8.121 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009295/0.3359, allocations: 243.9 kB / 476.6 MB, free: 7.883 MB / 382.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.004399/0.3403, allocations: 2.365 MB / 478.9 MB, free: 5.609 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001972/0.3423, allocations: 1.022 MB / 480 MB, free: 4.562 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.3423, allocations: 4 kB / 480 MB, free: 4.559 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00111/0.3434, allocations: 0.6792 MB / 480.6 MB, free: 3.855 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.3445, allocations: 177 kB / 480.8 MB, free: 3.688 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01369/0.3582, allocations: 8.773 MB / 489.6 MB, free: 10.62 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006457/0.3588, allocations: 0.5152 MB / 490.1 MB, free: 10.06 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004501/0.3593, allocations: 119.5 kB / 490.2 MB, free: 9.941 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006073/0.3599, allocations: 447.3 kB / 490.7 MB, free: 9.504 MB / 398.1 MB Notification: Performance of SimCode: time 7.42e-07/0.3599, allocations: 0 / 490.7 MB, free: 9.504 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08112/0.441, allocations: 22.76 MB / 0.5014 GB, free: 2.895 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/13.06, allocations: 6.188 kB / 0.5014 GB, free: 2.891 MB / 414.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Mechanics_Translational_Examples_Vehicle.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Vehicle/Vehicle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Vehicle_res.csv. Warning: Get data of variable vehicle.s from file Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle_res.csv failed! Error: Could not read variable vehicle.v in file Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle_res.csv. Warning: Get data of variable vehicle.v from file Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle_res.csv failed! Error: Could not read variable vehicle1.s in file Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle_res.csv. Warning: Get data of variable vehicle1.s from file Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle_res.csv failed! Error: Could not read variable vehicle1.v in file Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle_res.csv. Warning: Get data of variable vehicle1.v from file Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle_res.csv failed! Error: Could not read variable trailer.s in file Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle_res.csv. Warning: Get data of variable trailer.s from file Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle_res.csv failed! Error: Could not read variable trailer.v in file Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle_res.csv. Warning: Get data of variable trailer.v from file Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.770126495976001]