Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.005707/0.005707, allocations: 161.5 kB / 24.7 MB, free: 9.406 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8344/0.8344, allocations: 177.1 MB / 205 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Vehicle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=6000,variableFilter="time|vehicle.s|vehicle.v|vehicle1.s|vehicle1.v|trailer.s|trailer.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle") translateModel(Modelica.Mechanics.Translational.Examples.Vehicle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=6000,variableFilter="time|vehicle.s|vehicle.v|vehicle1.s|vehicle1.v|trailer.s|trailer.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.058e-05/2.183e-05, allocations: 6.281 kB / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.004564/0.004586, allocations: 5.549 MB / 331.4 MB, free: 9.855 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003168/0.007754, allocations: 2.236 MB / 333.6 MB, free: 7.613 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005412/0.008295, allocations: 39.69 kB / 333.6 MB, free: 7.574 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006121/0.008907, allocations: 429.2 kB / 334.1 MB, free: 7.152 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000807/0.009714, allocations: 0.516 MB / 334.6 MB, free: 6.633 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006741/0.01039, allocations: 0.495 MB / 335.1 MB, free: 6.137 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009725/0.01136, allocations: 1.542 MB / 336.6 MB, free: 4.59 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003867/0.01175, allocations: 345.1 kB / 337 MB, free: 4.227 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006367/0.01238, allocations: 0.83 MB / 337.8 MB, free: 3.395 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004259/0.01281, allocations: 0.518 MB / 338.3 MB, free: 2.875 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001056/0.01292, allocations: 132 kB / 338.4 MB, free: 2.746 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001948/0.01311, allocations: 171.9 kB / 338.6 MB, free: 2.578 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001888/0.0133, allocations: 318.8 kB / 338.9 MB, free: 2.266 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002747/0.01357, allocations: 422.8 kB / 339.3 MB, free: 1.852 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.01464, allocations: 1.667 MB / 341 MB, free: 180 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.01465, allocations: 4 kB / 341 MB, free: 176 kB / 298.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.01465, allocations: 0 / 341 MB, free: 176 kB / 298.7 MB Notification: Performance of Transformations before backend: time 1.791e-05/0.01467, allocations: 0 / 341 MB, free: 176 kB / 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.00158/0.01624, allocations: 1.512 MB / 342.5 MB, free: 14.62 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.01628, allocations: 15.97 kB / 342.5 MB, free: 14.61 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002387/0.01652, allocations: 159.9 kB / 342.7 MB, free: 14.45 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007637/0.01728, allocations: 0.697 MB / 343.4 MB, free: 13.73 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.521e-05/0.01733, allocations: 74.38 kB / 343.4 MB, free: 13.65 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.79e-05/0.01742, allocations: 108.3 kB / 343.6 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009507/0.01838, allocations: 0.9158 MB / 344.5 MB, free: 12.62 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.939e-05/0.0184, allocations: 7.953 kB / 344.5 MB, free: 12.61 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.958e-05/0.01845, allocations: 40 kB / 344.5 MB, free: 12.57 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/0.01847, allocations: 24 kB / 344.5 MB, free: 12.55 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007788/0.01925, allocations: 0.6402 MB / 345.2 MB, free: 11.9 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002571/0.02182, allocations: 2.618 MB / 347.8 MB, free: 9.207 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007881/0.02261, allocations: 0.5774 MB / 348.4 MB, free: 8.613 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002959/0.0229, allocations: 270.7 kB / 348.6 MB, free: 8.348 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.32e-05/0.02294, allocations: 8.656 kB / 348.6 MB, free: 8.34 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003898/0.02332, allocations: 344.4 kB / 349 MB, free: 7.992 MB / 314.7 MB Notification: Performance of pre-optimization done (n=80): time 2.004e-06/0.02333, allocations: 0 / 349 MB, free: 7.992 MB / 314.7 MB Notification: Performance of matching and sorting (n=100): time 0.003491/0.02682, allocations: 2.933 MB / 351.9 MB, free: 5.016 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.02686, allocations: 64.39 kB / 352 MB, free: 4.941 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006094/0.02747, allocations: 0.8643 MB / 352.8 MB, free: 4.07 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.63e-05/0.0275, allocations: 53.69 kB / 352.9 MB, free: 4.012 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003727/0.02787, allocations: 0.5359 MB / 353.4 MB, free: 3.469 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001575/0.02803, allocations: 356.9 kB / 353.8 MB, free: 3.117 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001367/0.02817, allocations: 154.7 kB / 353.9 MB, free: 2.961 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.095e-05/0.02825, allocations: 353.9 kB / 354.3 MB, free: 2.609 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003177/0.02857, allocations: 265.9 kB / 354.5 MB, free: 2.348 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003766/0.02894, allocations: 433.4 kB / 355 MB, free: 1.875 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007362/0.02968, allocations: 0.7483 MB / 355.7 MB, free: 1.078 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.02968, allocations: 8 kB / 355.7 MB, free: 1.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001062/0.03074, allocations: 1.029 MB / 356.7 MB, free: 28 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.03077, allocations: 8 kB / 356.8 MB, free: 20 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.03078, allocations: 7.984 kB / 356.8 MB, free: 12 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005576/0.03134, allocations: 146.8 kB / 356.9 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000388/0.03173, allocations: 204 kB / 357.1 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002142/0.03387, allocations: 3.697 MB / 360.8 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/0.03407, allocations: 31.98 kB / 360.8 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.563e-05/0.03411, allocations: 32 kB / 360.9 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.0002787/0.03439, allocations: 302.2 kB / 361.2 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.553e-05/0.03446, allocations: 107.3 kB / 361.3 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001059/0.03552, allocations: 0.9669 MB / 362.2 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.03553, allocations: 8 kB / 362.2 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.03553, allocations: 7.938 kB / 362.2 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.03554, allocations: 7.922 kB / 362.3 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002365/0.0379, allocations: 2.147 MB / 364.4 MB, free: 8.059 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.03791, allocations: 4 kB / 364.4 MB, free: 8.055 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003832/0.03829, allocations: 183.8 kB / 364.6 MB, free: 7.875 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001924/0.03848, allocations: 129.5 kB / 364.7 MB, free: 7.742 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.68e-05/0.03852, allocations: 28.27 kB / 364.7 MB, free: 7.715 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001722/0.04024, allocations: 3.317 MB / 368.1 MB, free: 4.195 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.04025, allocations: 12 kB / 368.1 MB, free: 4.184 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/0.04161, allocations: 1.435 MB / 369.5 MB, free: 2.688 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001889/0.0418, allocations: 167.2 kB / 369.7 MB, free: 2.523 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.697e-05/0.04186, allocations: 28 kB / 369.7 MB, free: 2.496 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/0.04204, allocations: 27.98 kB / 369.7 MB, free: 2.469 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.548e-05/0.04214, allocations: 80.83 kB / 369.8 MB, free: 2.391 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-05/0.04217, allocations: 35.98 kB / 369.8 MB, free: 2.355 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004437/0.04262, allocations: 0.6162 MB / 370.4 MB, free: 1.746 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.04262, allocations: 0 / 370.4 MB, free: 1.746 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005511/0.04317, allocations: 247.9 kB / 370.7 MB, free: 1.504 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.0007753/0.04394, allocations: 488.5 kB / 371.2 MB, free: 1.207 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001299/0.04524, allocations: 1.002 MB / 372.2 MB, free: 184 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.04525, allocations: 0 / 372.2 MB, free: 184 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005843/0.04583, allocations: 0.6785 MB / 372.8 MB, free: 15.47 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005458/0.04638, allocations: 179.5 kB / 373 MB, free: 15.29 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002264/0.04864, allocations: 2.428 MB / 375.5 MB, free: 12.79 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/0.04896, allocations: 0.511 MB / 376 MB, free: 12.25 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.0491, allocations: 80.47 kB / 376 MB, free: 12.17 MB / 346.7 MB Notification: Performance of SimCode: time 6.51e-07/0.0491, allocations: 0 / 376 MB, free: 12.17 MB / 346.7 MB Notification: Performance of Templates: time 0.01657/0.06567, allocations: 23.56 MB / 399.6 MB, free: 4.594 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle_res.mat","/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_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.842799716629088]