Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 81.58 kB / 20.68 MB, free: 1.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 151.4 kB / 23.94 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 173.4 MB / 200.4 MB, free: 12.88 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.Translational.Examples.Vehicle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.235e-06/2.235e-06, allocations: 1.031 kB / 318.9 MB, free: 3.559 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.295e-05/2.519e-05, allocations: 2.281 kB / 318.9 MB, free: 3.555 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.006228/0.006253, allocations: 5.513 MB / 324.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004873/0.01113, allocations: 2.088 MB / 326.5 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001093/0.01222, allocations: 40.34 kB / 326.6 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009474/0.01317, allocations: 426.3 kB / 327 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001437/0.0146, allocations: 494.2 kB / 327.5 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001398/0.016, allocations: 0.5164 MB / 328 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002441/0.01844, allocations: 1.537 MB / 329.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007399/0.01918, allocations: 348.9 kB / 329.9 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001528/0.02071, allocations: 0.8229 MB / 330.7 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008494/0.02156, allocations: 0.5116 MB / 331.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002271/0.02179, allocations: 134.4 kB / 331.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004081/0.02219, allocations: 172.8 kB / 331.5 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003687/0.02256, allocations: 308.7 kB / 331.8 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005823/0.02315, allocations: 437.2 kB / 332.2 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002169/0.02531, allocations: 1.65 MB / 333.9 MB, free: 10.38 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.02532, allocations: 0 / 333.9 MB, free: 10.38 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.02532, allocations: 1.125 kB / 333.9 MB, free: 10.38 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.372e-05/0.02534, allocations: 0 / 333.9 MB, free: 10.38 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.003059/0.0284, allocations: 1.498 MB / 335.4 MB, free: 9.246 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.02844, allocations: 9.531 kB / 335.4 MB, free: 9.246 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002669/0.02871, allocations: 154 kB / 335.5 MB, free: 9.164 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00147/0.03018, allocations: 0.6881 MB / 336.2 MB, free: 8.617 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.56e-05/0.03026, allocations: 74.25 kB / 336.3 MB, free: 8.582 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001728/0.03043, allocations: 106.3 kB / 336.4 MB, free: 8.543 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00179/0.03222, allocations: 0.9208 MB / 337.3 MB, free: 7.992 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.161e-05/0.03227, allocations: 15.91 kB / 337.3 MB, free: 7.98 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.34e-05/0.03236, allocations: 44.98 kB / 337.4 MB, free: 7.945 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.629e-05/0.03239, allocations: 23.53 kB / 337.4 MB, free: 7.945 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001393/0.03378, allocations: 0.6409 MB / 338 MB, free: 7.629 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005215/0.039, allocations: 2.604 MB / 340.6 MB, free: 5.688 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001436/0.04044, allocations: 0.5762 MB / 341.2 MB, free: 5.184 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005308/0.04097, allocations: 271.4 kB / 341.5 MB, free: 4.918 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.011e-05/0.04102, allocations: 16.64 kB / 341.5 MB, free: 4.902 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007484/0.04176, allocations: 348.3 kB / 341.8 MB, free: 4.551 MB / 302.1 MB Notification: Performance of pre-optimization done (n=80): time 3.547e-06/0.04177, allocations: 0 / 341.8 MB, free: 4.551 MB / 302.1 MB Notification: Performance of matching and sorting (n=100): time 0.00667/0.04844, allocations: 2.928 MB / 344.8 MB, free: 1.578 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.349e-05/0.04849, allocations: 60.41 kB / 344.8 MB, free: 1.508 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001187/0.04968, allocations: 0.8681 MB / 345.7 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.279e-05/0.04974, allocations: 41.7 kB / 345.7 MB, free: 0.582 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004923/0.05023, allocations: 0.5359 MB / 346.3 MB, free: 40 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003264/0.05056, allocations: 361.1 kB / 346.6 MB, free: 15.68 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002606/0.05082, allocations: 162.6 kB / 346.8 MB, free: 15.52 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.05099, allocations: 341.9 kB / 347.1 MB, free: 15.18 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005764/0.05156, allocations: 269.9 kB / 347.4 MB, free: 14.91 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007012/0.05226, allocations: 425.5 kB / 347.8 MB, free: 14.45 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001377/0.05364, allocations: 0.756 MB / 348.5 MB, free: 13.64 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.05364, allocations: 4 kB / 348.6 MB, free: 13.64 MB / 318.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002032/0.05568, allocations: 1.029 MB / 349.6 MB, free: 12.59 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.0557, allocations: 8 kB / 349.6 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/0.05571, allocations: 4.062 kB / 349.6 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004965/0.05621, allocations: 149.6 kB / 349.7 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008438/0.05705, allocations: 211.7 kB / 349.9 MB, free: 12.22 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004138/0.06119, allocations: 3.701 MB / 353.6 MB, free: 8.324 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006531/0.06185, allocations: 24 kB / 353.7 MB, free: 8.301 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-05/0.06192, allocations: 40.11 kB / 353.7 MB, free: 8.262 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.0005793/0.0625, allocations: 309.5 kB / 354 MB, free: 7.949 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/0.06266, allocations: 103.3 kB / 354.1 MB, free: 7.848 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002098/0.06476, allocations: 0.955 MB / 355.1 MB, free: 6.871 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.06477, allocations: 12 kB / 355.1 MB, free: 6.859 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.06478, allocations: 7.938 kB / 355.1 MB, free: 6.852 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.304e-05/0.06479, allocations: 7.969 kB / 355.1 MB, free: 6.844 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00408/0.06887, allocations: 2.151 MB / 357.2 MB, free: 4.605 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.06888, allocations: 4 kB / 357.2 MB, free: 4.602 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008849/0.06977, allocations: 183.8 kB / 357.4 MB, free: 4.422 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004063/0.07017, allocations: 117.6 kB / 357.5 MB, free: 4.301 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.498e-05/0.07024, allocations: 27.98 kB / 357.6 MB, free: 4.273 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003461/0.0737, allocations: 3.333 MB / 360.9 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.0737, allocations: 8.125 kB / 360.9 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002662/0.07637, allocations: 1.439 MB / 362.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003977/0.07676, allocations: 163.2 kB / 362.5 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/0.07688, allocations: 20 kB / 362.5 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004493/0.07733, allocations: 27.98 kB / 362.6 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001778/0.07751, allocations: 84.83 kB / 362.6 MB, free: 14.94 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.79e-05/0.07758, allocations: 35.98 kB / 362.7 MB, free: 14.91 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008089/0.07839, allocations: 0.6084 MB / 363.3 MB, free: 14.3 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.07839, allocations: 0 / 363.3 MB, free: 14.3 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009717/0.07936, allocations: 240 kB / 363.5 MB, free: 14.07 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.001757/0.08112, allocations: 493.1 kB / 364 MB, free: 13.77 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002048/0.08316, allocations: 1.006 MB / 365 MB, free: 12.73 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.08317, allocations: 0 / 365 MB, free: 12.73 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001139/0.08431, allocations: 0.6784 MB / 365.7 MB, free: 12.03 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.08538, allocations: 166.4 kB / 365.8 MB, free: 11.88 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004044/0.08943, allocations: 2.388 MB / 368.2 MB, free: 9.418 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005988/0.09003, allocations: 0.5106 MB / 368.7 MB, free: 8.871 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003981/0.09042, allocations: 115.2 kB / 368.9 MB, free: 8.754 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002188/0.09064, allocations: 76.47 kB / 368.9 MB, free: 8.68 MB / 334.1 MB Notification: Performance of SimCode: time 9.32e-07/0.09064, allocations: 0 / 368.9 MB, free: 8.68 MB / 334.1 MB Notification: Performance of Templates: time 0.02363/0.1143, allocations: 10.89 MB / 379.8 MB, free: 13.94 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Vehicle/Vehicle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.784417249262333]