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.001342/0.001342, allocations: 76.36 kB / 20.67 MB, free: 3.898 MB / 18.57 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.001474/0.001474, allocations: 156.9 kB / 23.95 MB, free: 0.6172 MB / 18.57 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 0.8858/0.8858, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 2.184e-06/2.184e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.173e-05/2.392e-05, allocations: 3.125 kB / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.005497/0.005521, allocations: 5.546 MB / 330.1 MB, free: 10.33 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003676/0.009197, allocations: 2.239 MB / 332.3 MB, free: 8.082 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001023/0.01022, allocations: 35.75 kB / 332.3 MB, free: 8.047 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008424/0.01106, allocations: 429.2 kB / 332.7 MB, free: 7.625 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001387/0.01245, allocations: 0.516 MB / 333.3 MB, free: 7.105 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009291/0.01338, allocations: 0.4988 MB / 333.8 MB, free: 6.605 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001596/0.01497, allocations: 1.538 MB / 335.3 MB, free: 5.062 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005681/0.01554, allocations: 349.1 kB / 335.6 MB, free: 4.699 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001175/0.01672, allocations: 0.8262 MB / 336.5 MB, free: 3.871 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006427/0.01736, allocations: 0.5063 MB / 337 MB, free: 3.363 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001873/0.01755, allocations: 132 kB / 337.1 MB, free: 3.234 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003132/0.01786, allocations: 187.9 kB / 337.3 MB, free: 3.051 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002061/0.01807, allocations: 318.7 kB / 337.6 MB, free: 2.738 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003933/0.01846, allocations: 422.8 kB / 338 MB, free: 2.324 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00143/0.01989, allocations: 1.67 MB / 339.7 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.01989, allocations: 7.938 kB / 339.7 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.0199, allocations: 0 / 339.7 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.444e-05/0.01994, allocations: 0 / 339.7 MB, free: 0.6367 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002148/0.02209, allocations: 1.509 MB / 341.2 MB, free: 15.09 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.02213, allocations: 15.98 kB / 341.2 MB, free: 15.08 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001216/0.02225, allocations: 152.4 kB / 341.4 MB, free: 14.92 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002879/0.02254, allocations: 152 kB / 341.5 MB, free: 14.77 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009839/0.02353, allocations: 0.697 MB / 342.2 MB, free: 14.05 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.998e-05/0.02358, allocations: 74.38 kB / 342.3 MB, free: 13.97 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.02369, allocations: 112.2 kB / 342.4 MB, free: 13.86 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/0.02478, allocations: 0.9123 MB / 343.3 MB, free: 12.94 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.482e-05/0.02481, allocations: 15.89 kB / 343.3 MB, free: 12.92 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.045e-05/0.02486, allocations: 40 kB / 343.4 MB, free: 12.88 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.02487, allocations: 24 kB / 343.4 MB, free: 12.86 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008674/0.02574, allocations: 0.6441 MB / 344 MB, free: 12.21 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003215/0.02896, allocations: 2.758 MB / 346.8 MB, free: 9.363 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008663/0.02982, allocations: 0.5736 MB / 347.4 MB, free: 8.773 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003145/0.03014, allocations: 270.7 kB / 347.6 MB, free: 8.508 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.543e-05/0.03017, allocations: 8.656 kB / 347.6 MB, free: 8.5 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004385/0.03061, allocations: 344.3 kB / 348 MB, free: 8.152 MB / 314.7 MB Notification: Performance of pre-optimization done (n=80): time 2.976e-06/0.03061, allocations: 0 / 348 MB, free: 8.152 MB / 314.7 MB Notification: Performance of matching and sorting (n=100): time 0.004035/0.03465, allocations: 2.94 MB / 350.9 MB, free: 5.168 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.03469, allocations: 60.41 kB / 351 MB, free: 5.098 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008679/0.03556, allocations: 0.9508 MB / 351.9 MB, free: 4.141 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.05e-05/0.03561, allocations: 45.7 kB / 352 MB, free: 4.09 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003164/0.03593, allocations: 0.5282 MB / 352.5 MB, free: 3.555 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001917/0.03612, allocations: 364.9 kB / 352.8 MB, free: 3.195 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001621/0.03628, allocations: 162.7 kB / 353 MB, free: 3.031 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.556e-05/0.03638, allocations: 341.9 kB / 353.3 MB, free: 2.691 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003725/0.03675, allocations: 273.9 kB / 353.6 MB, free: 2.422 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004159/0.03716, allocations: 428.9 kB / 354 MB, free: 1.957 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008326/0.038, allocations: 0.7444 MB / 354.8 MB, free: 1.164 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.038, allocations: 0 / 354.8 MB, free: 1.164 MB / 314.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001268/0.03927, allocations: 1.049 MB / 355.8 MB, free: 100 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.03929, allocations: 11.94 kB / 355.8 MB, free: 88 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.0393, allocations: 4 kB / 355.8 MB, free: 84 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003162/0.03962, allocations: 145.6 kB / 356 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004072/0.04002, allocations: 203.7 kB / 356.2 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002508/0.04253, allocations: 3.744 MB / 359.9 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003944/0.04293, allocations: 35.94 kB / 359.9 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-05/0.04297, allocations: 32 kB / 360 MB, free: 11.71 MB / 330.7 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.0004084/0.04338, allocations: 301.6 kB / 360.3 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.04349, allocations: 111.3 kB / 360.4 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001236/0.04473, allocations: 0.9676 MB / 361.4 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.04474, allocations: 15.94 kB / 361.4 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.04474, allocations: 4 kB / 361.4 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.04475, allocations: 3.984 kB / 361.4 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002612/0.04736, allocations: 2.28 MB / 363.7 MB, free: 7.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.04737, allocations: 4 kB / 363.7 MB, free: 7.906 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004179/0.04779, allocations: 187.7 kB / 363.8 MB, free: 7.723 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002612/0.04805, allocations: 121.6 kB / 364 MB, free: 7.598 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.361e-05/0.04809, allocations: 31.94 kB / 364 MB, free: 7.566 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002152/0.05024, allocations: 3.359 MB / 367.4 MB, free: 3.98 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.05025, allocations: 4 kB / 367.4 MB, free: 3.977 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001621/0.05187, allocations: 1.451 MB / 368.8 MB, free: 2.465 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002982/0.05216, allocations: 175.2 kB / 369 MB, free: 2.293 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.055e-05/0.05224, allocations: 20 kB / 369 MB, free: 2.273 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002294/0.05246, allocations: 28.12 kB / 369 MB, free: 2.246 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.05259, allocations: 88.81 kB / 369.1 MB, free: 2.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.17e-05/0.05263, allocations: 35.98 kB / 369.1 MB, free: 2.125 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007279/0.05336, allocations: 0.6747 MB / 369.8 MB, free: 1.457 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.05336, allocations: 0 / 369.8 MB, free: 1.457 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007179/0.05408, allocations: 243.9 kB / 370.1 MB, free: 1.219 MB / 330.7 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.002462/0.05654, allocations: 2.351 MB / 372.4 MB, free: 14.95 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001433/0.05797, allocations: 1.021 MB / 373.4 MB, free: 13.9 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.05798, allocations: 0 / 373.4 MB, free: 13.9 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009686/0.05894, allocations: 0.6721 MB / 374.1 MB, free: 13.21 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007217/0.05967, allocations: 191.5 kB / 374.3 MB, free: 13.02 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009135/0.0688, allocations: 8.585 MB / 382.9 MB, free: 4.125 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000379/0.06918, allocations: 0.5073 MB / 383.4 MB, free: 3.582 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003197/0.0695, allocations: 123.6 kB / 383.5 MB, free: 3.457 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005218/0.07002, allocations: 452.3 kB / 383.9 MB, free: 3.016 MB / 346.7 MB Notification: Performance of SimCode: time 1.263e-06/0.07002, allocations: 0 / 383.9 MB, free: 3.016 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04516/0.1152, allocations: 22.87 MB / 406.8 MB, free: 12.27 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.868/7.983, allocations: 7.922 kB / 406.8 MB, free: 12.27 MB / 378.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Vehicle/Vehicle.csv","/var/lib/jenkins/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: 9.864353192038834]