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.0008079/0.0008079, allocations: 76.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001147/0.001955, allocations: 457.8 kB / 10.45 MB, free: 240 kB / 10.45 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.0006998/0.0006998, allocations: 162 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009364/0.001636, allocations: 475.6 kB / 11.82 MB, free: 2.344 MB / 13.93 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.008/1.008, allocations: 177.5 MB / 190.1 MB, free: 4.793 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09528/1.103, allocations: 53.87 MB / 243.9 MB, free: 14.85 MB / 250.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: 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 9.82e-07/9.82e-07, allocations: 0 / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.203e-05/2.301e-05, allocations: 2.312 kB / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.005612/0.005635, allocations: 6.023 MB / 251.2 MB, free: 7.508 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00409/0.009726, allocations: 2.363 MB / 253.6 MB, free: 5.137 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008107/0.01054, allocations: 35.75 kB / 253.6 MB, free: 5.102 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006564/0.01119, allocations: 469 kB / 254.1 MB, free: 4.641 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001178/0.01237, allocations: 0.5315 MB / 254.6 MB, free: 4.105 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009405/0.01331, allocations: 0.491 MB / 255.1 MB, free: 3.613 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001515/0.01483, allocations: 1.523 MB / 256.6 MB, free: 2.082 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005604/0.01539, allocations: 373 kB / 257 MB, free: 1.688 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001305/0.01669, allocations: 0.9421 MB / 257.9 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006462/0.01734, allocations: 0.5024 MB / 258.4 MB, free: 248 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002425/0.01758, allocations: 128 kB / 258.6 MB, free: 120 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002988/0.01788, allocations: 176 kB / 258.7 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001632/0.01804, allocations: 243.1 kB / 259 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003452/0.01839, allocations: 355.2 kB / 259.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008663/0.01925, allocations: 0.9144 MB / 260.2 MB, free: 14.44 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.023e-05/0.01926, allocations: 0 / 260.2 MB, free: 14.44 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.01927, allocations: 0 / 260.2 MB, free: 14.44 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.191e-05/0.0193, allocations: 0 / 260.2 MB, free: 14.44 MB / 266.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.001738/0.02104, allocations: 1.757 MB / 262 MB, free: 12.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.961e-05/0.02107, allocations: 12.03 kB / 262 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003435/0.02141, allocations: 269.8 kB / 262.3 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006403/0.02205, allocations: 0.5636 MB / 262.8 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.984e-05/0.02209, allocations: 74.38 kB / 262.9 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.34e-05/0.02218, allocations: 104.3 kB / 263 MB, free: 11.6 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006315/0.02281, allocations: 0.6733 MB / 263.7 MB, free: 10.9 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.872e-05/0.02284, allocations: 12.12 kB / 263.7 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.962e-05/0.02288, allocations: 43.94 kB / 263.7 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.301e-05/0.0229, allocations: 27.94 kB / 263.8 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003214/0.02322, allocations: 256.6 kB / 264 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002247/0.02546, allocations: 1.961 MB / 266 MB, free: 8.543 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004656/0.02593, allocations: 412.8 kB / 266.4 MB, free: 8.125 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/0.02607, allocations: 135.4 kB / 266.5 MB, free: 7.988 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.902e-05/0.0261, allocations: 16.64 kB / 266.5 MB, free: 7.973 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002323/0.02633, allocations: 231 kB / 266.8 MB, free: 7.734 MB / 266.7 MB Notification: Performance of pre-optimization done (n=80): time 1.653e-06/0.02633, allocations: 0 / 266.8 MB, free: 7.734 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.002364/0.02869, allocations: 1.996 MB / 268.8 MB, free: 5.707 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/0.02872, allocations: 64.34 kB / 268.8 MB, free: 5.633 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004558/0.02918, allocations: 0.6849 MB / 269.5 MB, free: 4.934 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.606e-05/0.02921, allocations: 41.7 kB / 269.5 MB, free: 4.887 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001897/0.0294, allocations: 438.5 kB / 270 MB, free: 4.453 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001778/0.02958, allocations: 368.8 kB / 270.3 MB, free: 4.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/0.02972, allocations: 170.8 kB / 270.5 MB, free: 3.914 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.407e-05/0.0298, allocations: 349.8 kB / 270.8 MB, free: 3.566 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.02992, allocations: 93.41 kB / 270.9 MB, free: 3.477 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002047/0.03013, allocations: 293.7 kB / 271.2 MB, free: 3.117 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004024/0.03053, allocations: 0.5007 MB / 271.7 MB, free: 2.543 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.03053, allocations: 0 / 271.7 MB, free: 2.543 MB / 266.7 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.0006235/0.03116, allocations: 0.5972 MB / 272.3 MB, free: 1.93 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.03117, allocations: 12.09 kB / 272.3 MB, free: 1.918 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.03118, allocations: 4 kB / 272.3 MB, free: 1.914 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000215/0.03139, allocations: 113.6 kB / 272.4 MB, free: 1.797 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004337/0.03183, allocations: 255.6 kB / 272.7 MB, free: 1.547 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001663/0.03349, allocations: 3.131 MB / 275.8 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002593/0.03375, allocations: 31.98 kB / 275.9 MB, free: 14.22 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.35e-05/0.03378, allocations: 28 kB / 275.9 MB, free: 14.2 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (114): * Single equations (assignments): 112 * 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.0001964/0.03398, allocations: 176.4 kB / 276.1 MB, free: 14.01 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.718e-05/0.03407, allocations: 95.91 kB / 276.1 MB, free: 13.92 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005627/0.03463, allocations: 0.5316 MB / 276.7 MB, free: 13.37 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.03463, allocations: 8 kB / 276.7 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.03464, allocations: 4 kB / 276.7 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.03464, allocations: 7.984 kB / 276.7 MB, free: 13.35 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001505/0.03615, allocations: 1.38 MB / 278.1 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.03615, allocations: 4 kB / 278.1 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004101/0.03656, allocations: 227 kB / 278.3 MB, free: 11.67 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001524/0.03671, allocations: 103.3 kB / 278.4 MB, free: 11.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001796/0.03689, allocations: 98.03 kB / 278.5 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.046e-05/0.03692, allocations: 27.98 kB / 278.5 MB, free: 11.44 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001356/0.03828, allocations: 2.82 MB / 281.3 MB, free: 8.449 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.03828, allocations: 7.938 kB / 281.4 MB, free: 8.441 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007384/0.03902, allocations: 0.8624 MB / 282.2 MB, free: 7.516 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.536e-05/0.03909, allocations: 20 kB / 282.2 MB, free: 7.496 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.03928, allocations: 31.98 kB / 282.3 MB, free: 7.465 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.911e-05/0.03936, allocations: 80.67 kB / 282.3 MB, free: 7.387 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-05/0.0394, allocations: 27.98 kB / 282.4 MB, free: 7.359 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002613/0.03966, allocations: 355.3 kB / 282.7 MB, free: 7.016 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.03966, allocations: 4 kB / 282.7 MB, free: 7.012 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006211/0.04028, allocations: 247.9 kB / 283 MB, free: 6.77 MB / 282.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.001113/0.04139, allocations: 0.5705 MB / 283.5 MB, free: 6.426 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007448/0.04214, allocations: 0.7456 MB / 284.3 MB, free: 5.652 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.548e-05/0.04216, allocations: 19.94 kB / 284.3 MB, free: 5.633 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004435/0.0426, allocations: 0.5932 MB / 284.9 MB, free: 5.016 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009037/0.04351, allocations: 1.39 MB / 286.3 MB, free: 3.375 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006114/0.04962, allocations: 2.071 MB / 288.4 MB, free: 1.223 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001723/0.04979, allocations: 232.9 kB / 288.6 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003138/0.05011, allocations: 115.5 kB / 288.7 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002823/0.05039, allocations: 213.3 kB / 288.9 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of SimCode: time 1.372e-06/0.05039, allocations: 0 / 288.9 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of Templates: time 0.103/0.1534, allocations: 12.2 MB / 301.1 MB, free: 26.14 MB / 282.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9477110914885998]