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.001425/0.001425, allocations: 89.14 kB / 20.68 MB, free: 1.02 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.001514/0.001514, allocations: 158.8 kB / 23.95 MB, free: 4.152 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.48/1.48, allocations: 177 MB / 204.1 MB, free: 9.152 MB / 190.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: 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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Vehicle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 325 MB, free: 0.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.55e-05/2.718e-05, allocations: 3.531 kB / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.00775/0.007777, allocations: 5.548 MB / 330.6 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004996/0.01277, allocations: 2.238 MB / 332.8 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006639/0.01344, allocations: 44.62 kB / 332.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009139/0.01435, allocations: 419.6 kB / 333.2 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001296/0.01565, allocations: 0.5205 MB / 333.8 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.01675, allocations: 0.4899 MB / 334.3 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001803/0.01855, allocations: 1.544 MB / 335.8 MB, free: 9.047 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006557/0.01921, allocations: 346.4 kB / 336.1 MB, free: 8.805 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001208/0.02042, allocations: 0.8267 MB / 337 MB, free: 8.266 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007881/0.02121, allocations: 0.5099 MB / 337.5 MB, free: 7.969 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001909/0.0214, allocations: 130.5 kB / 337.6 MB, free: 7.969 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003504/0.02175, allocations: 178.1 kB / 337.8 MB, free: 7.949 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003262/0.02207, allocations: 328.2 kB / 338.1 MB, free: 7.676 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005242/0.0226, allocations: 423.8 kB / 338.5 MB, free: 7.43 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002012/0.02461, allocations: 1.662 MB / 340.2 MB, free: 5.852 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.02462, allocations: 7.922 kB / 340.2 MB, free: 5.844 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.02462, allocations: 0 / 340.2 MB, free: 5.844 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.48e-05/0.02464, allocations: 0 / 340.2 MB, free: 5.844 MB / 302.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.002954/0.0276, allocations: 1.513 MB / 341.7 MB, free: 4.297 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.02764, allocations: 15.97 kB / 341.7 MB, free: 4.281 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000434/0.02807, allocations: 164 kB / 341.9 MB, free: 4.121 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/0.02935, allocations: 0.6931 MB / 342.6 MB, free: 3.398 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.038e-05/0.02943, allocations: 74.38 kB / 342.6 MB, free: 3.324 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001696/0.02959, allocations: 104.3 kB / 342.7 MB, free: 3.219 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001694/0.03129, allocations: 0.9123 MB / 343.6 MB, free: 2.293 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.566e-05/0.03133, allocations: 12.12 kB / 343.7 MB, free: 2.281 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.41e-05/0.03143, allocations: 47.94 kB / 343.7 MB, free: 2.234 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.135e-05/0.03145, allocations: 27.94 kB / 343.7 MB, free: 2.207 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001397/0.03285, allocations: 0.6325 MB / 344.4 MB, free: 1.57 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004829/0.03768, allocations: 2.607 MB / 347 MB, free: 14.89 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/0.03916, allocations: 0.5852 MB / 347.6 MB, free: 14.29 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005455/0.03971, allocations: 270.7 kB / 347.8 MB, free: 14.02 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.389e-05/0.03975, allocations: 8.656 kB / 347.8 MB, free: 14.01 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000714/0.04046, allocations: 348.3 kB / 348.2 MB, free: 13.66 MB / 318.1 MB Notification: Performance of pre-optimization done (n=80): time 2.615e-06/0.04047, allocations: 0 / 348.2 MB, free: 13.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=100): time 0.006793/0.04726, allocations: 2.935 MB / 351.1 MB, free: 10.68 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/0.04732, allocations: 64.41 kB / 351.2 MB, free: 10.61 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/0.04854, allocations: 0.8682 MB / 352 MB, free: 9.734 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.858e-05/0.04861, allocations: 49.64 kB / 352.1 MB, free: 9.68 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006243/0.04923, allocations: 0.5359 MB / 352.6 MB, free: 9.137 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003488/0.04958, allocations: 360.9 kB / 353 MB, free: 8.781 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002643/0.04985, allocations: 162.6 kB / 353.1 MB, free: 8.617 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.05003, allocations: 345.9 kB / 353.5 MB, free: 8.273 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005734/0.05061, allocations: 273.9 kB / 353.7 MB, free: 8.004 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006932/0.0513, allocations: 433.4 kB / 354.2 MB, free: 7.531 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001407/0.05271, allocations: 0.7444 MB / 354.9 MB, free: 6.738 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.05271, allocations: 0 / 354.9 MB, free: 6.738 MB / 318.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.0021/0.05481, allocations: 1.026 MB / 355.9 MB, free: 5.695 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.991e-05/0.05484, allocations: 16 kB / 355.9 MB, free: 5.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/0.05485, allocations: 4 kB / 356 MB, free: 5.676 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005208/0.05537, allocations: 145.7 kB / 356.1 MB, free: 5.527 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007952/0.05617, allocations: 207.7 kB / 356.3 MB, free: 5.324 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004179/0.06035, allocations: 3.689 MB / 360 MB, free: 1.441 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006639/0.06101, allocations: 36.06 kB / 360 MB, free: 1.406 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.372e-05/0.06109, allocations: 39.98 kB / 360.1 MB, free: 1.367 MB / 318.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.000535/0.06162, allocations: 297.7 kB / 360.4 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/0.06178, allocations: 111.3 kB / 360.5 MB, free: 0.957 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001959/0.06374, allocations: 0.9706 MB / 361.4 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.06375, allocations: 12 kB / 361.4 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.06376, allocations: 0 / 361.4 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.06377, allocations: 7.984 kB / 361.4 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003964/0.06773, allocations: 2.14 MB / 363.6 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/0.06774, allocations: 8.062 kB / 363.6 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008076/0.06855, allocations: 187.8 kB / 363.8 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004063/0.06895, allocations: 121.6 kB / 363.9 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-05/0.06902, allocations: 24 kB / 363.9 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003498/0.07252, allocations: 3.317 MB / 367.2 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/0.07253, allocations: 7.938 kB / 367.2 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002652/0.07518, allocations: 1.443 MB / 368.7 MB, free: 8.355 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003784/0.07556, allocations: 167.2 kB / 368.9 MB, free: 8.191 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/0.07569, allocations: 20 kB / 368.9 MB, free: 8.172 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000436/0.07613, allocations: 28 kB / 368.9 MB, free: 8.145 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000159/0.07629, allocations: 80.88 kB / 369 MB, free: 8.066 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.575e-05/0.07635, allocations: 35.94 kB / 369 MB, free: 8.031 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008745/0.07723, allocations: 0.6239 MB / 369.6 MB, free: 7.414 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.07723, allocations: 4 kB / 369.6 MB, free: 7.41 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009759/0.0782, allocations: 240 kB / 369.9 MB, free: 7.176 MB / 334.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.001702/0.0799, allocations: 470.2 kB / 370.3 MB, free: 6.859 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002034/0.08194, allocations: 1.01 MB / 371.3 MB, free: 5.82 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.08194, allocations: 0 / 371.3 MB, free: 5.82 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001136/0.08308, allocations: 0.6785 MB / 372 MB, free: 5.117 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009794/0.08406, allocations: 175.5 kB / 372.2 MB, free: 4.945 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003989/0.08805, allocations: 2.384 MB / 374.6 MB, free: 2.492 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006033/0.08865, allocations: 0.5111 MB / 375.1 MB, free: 1.949 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003804/0.08903, allocations: 115.2 kB / 375.2 MB, free: 1.832 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002187/0.08925, allocations: 76.47 kB / 375.3 MB, free: 1.754 MB / 334.1 MB Notification: Performance of SimCode: time 4.91e-07/0.08925, allocations: 0 / 375.3 MB, free: 1.754 MB / 334.1 MB Notification: Performance of Templates: time 0.02393/0.1132, allocations: 10.95 MB / 386.2 MB, free: 6.941 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 4.9777297750115395]