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.001594/0.001594, allocations: 123.4 kB / 17.79 MB, free: 5.281 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.001964/0.001964, allocations: 215.5 kB / 20.75 MB, free: 2.324 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.564/1.564, allocations: 230.4 MB / 254 MB, free: 15.03 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.001905/0.001905, allocations: 63.91 kB / 373 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1134, allocations: 53.37 MB / 426.4 MB, free: 4.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.2068/0.3202, allocations: 6.26 MB / 432.6 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00392/0.3242, allocations: 2.309 MB / 434.9 MB, free: 7.316 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001062/0.3252, allocations: 40.59 kB / 435 MB, free: 7.297 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009616/0.3262, allocations: 424.3 kB / 435.4 MB, free: 7.148 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001544/0.3277, allocations: 0.5072 MB / 435.9 MB, free: 6.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001287/0.329, allocations: 492.9 kB / 436.4 MB, free: 6.855 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002038/0.3311, allocations: 1.496 MB / 437.9 MB, free: 6.121 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007241/0.3318, allocations: 375.9 kB / 438.2 MB, free: 5.891 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001043/0.3328, allocations: 0.5798 MB / 438.8 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001143/0.334, allocations: 0.6636 MB / 439.5 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003421/0.3343, allocations: 129.8 kB / 439.6 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006349/0.3349, allocations: 182.4 kB / 439.8 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003461/0.3353, allocations: 307.4 kB / 440.1 MB, free: 5.066 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009451/0.3362, allocations: 0.6435 MB / 440.7 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002046/0.3383, allocations: 1.662 MB / 442.4 MB, free: 3.934 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3383, allocations: 1.156 kB / 442.4 MB, free: 3.934 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3383, allocations: 0 / 442.4 MB, free: 3.934 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.836e-05/0.3383, allocations: 0 / 442.4 MB, free: 3.934 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.003068/0.3414, allocations: 1.609 MB / 444 MB, free: 2.832 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.3414, allocations: 9.5 kB / 444 MB, free: 2.832 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001811/0.3416, allocations: 152.2 kB / 444.1 MB, free: 2.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004621/0.3421, allocations: 160.5 kB / 444.3 MB, free: 2.648 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001243/0.3433, allocations: 0.7748 MB / 445.1 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.221e-05/0.3434, allocations: 78.09 kB / 445.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001615/0.3435, allocations: 113.1 kB / 445.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/0.3451, allocations: 0.9095 MB / 446.2 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.282e-05/0.3451, allocations: 12 kB / 446.2 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-05/0.3452, allocations: 37.34 kB / 446.2 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.994e-05/0.3452, allocations: 23.16 kB / 446.2 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001228/0.3464, allocations: 0.6403 MB / 446.9 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00531/0.3518, allocations: 3.202 MB / 450.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001453/0.3532, allocations: 0.5735 MB / 450.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000529/0.3537, allocations: 267.3 kB / 450.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.212e-05/0.3538, allocations: 17.75 kB / 450.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007135/0.3545, allocations: 347.6 kB / 451.3 MB, free: 15 MB / 366.1 MB Notification: Performance of pre-optimization done (n=80): time 3.136e-06/0.3545, allocations: 0 / 451.3 MB, free: 15 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.006669/0.3612, allocations: 3.088 MB / 454.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/0.3612, allocations: 63.27 kB / 454.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001337/0.3626, allocations: 0.944 MB / 455.4 MB, free: 12.9 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001092/0.3627, allocations: 46.02 kB / 455.4 MB, free: 12.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004827/0.3632, allocations: 0.5169 MB / 455.9 MB, free: 12.45 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003539/0.3635, allocations: 368.5 kB / 456.3 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002722/0.3638, allocations: 163.3 kB / 456.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.364, allocations: 351.4 kB / 456.8 MB, free: 11.74 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000588/0.3646, allocations: 269.4 kB / 457.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006875/0.3652, allocations: 431.8 kB / 457.5 MB, free: 11.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001347/0.3666, allocations: 0.7415 MB / 458.2 MB, free: 10.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.3666, allocations: 1.188 kB / 458.2 MB, free: 10.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002188/0.3688, allocations: 1.032 MB / 459.3 MB, free: 10.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.3688, allocations: 6.094 kB / 459.3 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.3688, allocations: 3.938 kB / 459.3 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004639/0.3693, allocations: 144.4 kB / 459.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007822/0.3701, allocations: 208.1 kB / 459.6 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004227/0.3743, allocations: 3.995 MB / 463.6 MB, free: 6.438 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007247/0.375, allocations: 30.19 kB / 463.6 MB, free: 6.418 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/0.3751, allocations: 38.36 kB / 463.7 MB, free: 6.406 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.0006651/0.3758, allocations: 298.8 kB / 464 MB, free: 6.184 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002612/0.3761, allocations: 113.8 kB / 464.1 MB, free: 6.121 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002122/0.3782, allocations: 0.9485 MB / 465 MB, free: 5.582 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.3782, allocations: 13.31 kB / 465 MB, free: 5.578 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/0.3782, allocations: 2.5 kB / 465 MB, free: 5.578 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.3782, allocations: 7.984 kB / 465 MB, free: 5.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004837/0.3831, allocations: 2.478 MB / 467.5 MB, free: 3.824 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.279e-05/0.3831, allocations: 8.25 kB / 467.5 MB, free: 3.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008246/0.3839, allocations: 182.2 kB / 467.7 MB, free: 3.781 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004248/0.3843, allocations: 124.3 kB / 467.8 MB, free: 3.715 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.191e-05/0.3844, allocations: 29.97 kB / 467.9 MB, free: 3.695 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003702/0.3881, allocations: 3.603 MB / 471.5 MB, free: 252 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.3881, allocations: 2.594 kB / 471.5 MB, free: 252 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002883/0.391, allocations: 1.435 MB / 472.9 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005883/0.3916, allocations: 249 kB / 473.1 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002283/0.3918, allocations: 23.44 kB / 473.2 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005338/0.3923, allocations: 31.02 kB / 473.2 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001712/0.3925, allocations: 74.78 kB / 473.3 MB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-05/0.3926, allocations: 33.05 kB / 473.3 MB, free: 15.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001038/0.3936, allocations: 0.664 MB / 474 MB, free: 14.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3936, allocations: 1.5 kB / 474 MB, free: 14.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001288/0.3949, allocations: 238.9 kB / 474.2 MB, free: 14.67 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 (88): * Single equations (assignments): 84 * 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.004806/0.3997, allocations: 2.317 MB / 476.5 MB, free: 13.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002234/0.4019, allocations: 1.01 MB / 477.5 MB, free: 12.35 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/0.4019, allocations: 0.875 kB / 477.5 MB, free: 12.35 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001216/0.4031, allocations: 0.671 MB / 478.2 MB, free: 11.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001397/0.4045, allocations: 189.2 kB / 478.4 MB, free: 11.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0148/0.4193, allocations: 8.751 MB / 487.1 MB, free: 2.426 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009204/0.4203, allocations: 1.104 MB / 488.2 MB, free: 1.297 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004833/0.4207, allocations: 115.6 kB / 488.4 MB, free: 1.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006492/0.4214, allocations: 451.3 kB / 488.8 MB, free: 0.7422 MB / 382.1 MB Notification: Performance of SimCode: time 1.072e-06/0.4214, allocations: 0 / 488.8 MB, free: 0.7422 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06348/0.4849, allocations: 21.47 MB / 0.4983 GB, free: 11.42 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.35, allocations: 2.812 kB / 0.4983 GB, free: 11.42 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.308542507933453]