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.001728/0.001728, allocations: 116.8 kB / 19.18 MB, free: 3.762 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.002088/0.002088, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.556/1.556, allocations: 230.2 MB / 255.1 MB, free: 15.26 MB / 206.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 0.001977/0.001977, allocations: 67.89 kB / 374.5 MB, free: 9.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09239/0.09437, allocations: 53.32 MB / 427.8 MB, free: 4.578 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.1904/0.2847, allocations: 6.267 MB / 434.1 MB, free: 8.016 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003553/0.2883, allocations: 2.301 MB / 436.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007422/0.289, allocations: 33.09 kB / 436.4 MB, free: 7.707 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007675/0.2898, allocations: 424.1 kB / 436.8 MB, free: 7.562 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001152/0.2909, allocations: 0.5029 MB / 437.4 MB, free: 7.328 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001086/0.292, allocations: 496.4 kB / 437.8 MB, free: 7.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001755/0.2938, allocations: 1.495 MB / 439.3 MB, free: 6.551 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005532/0.2943, allocations: 371.7 kB / 439.7 MB, free: 6.324 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000841/0.2952, allocations: 0.563 MB / 440.3 MB, free: 6.043 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008125/0.296, allocations: 0.6747 MB / 440.9 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001914/0.2962, allocations: 130.3 kB / 441.1 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003722/0.2966, allocations: 174.9 kB / 441.2 MB, free: 5.707 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002362/0.2968, allocations: 306.8 kB / 441.5 MB, free: 5.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005091/0.2973, allocations: 0.6471 MB / 442.2 MB, free: 5.059 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001997/0.2993, allocations: 1.656 MB / 443.8 MB, free: 4.371 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.2993, allocations: 4.547 kB / 443.8 MB, free: 4.367 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2993, allocations: 1.438 kB / 443.8 MB, free: 4.367 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.736e-05/0.2994, allocations: 0 / 443.8 MB, free: 4.367 MB / 350.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.003026/0.3024, allocations: 1.607 MB / 445.4 MB, free: 3.266 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.3024, allocations: 10.09 kB / 445.5 MB, free: 3.266 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000495/0.3029, allocations: 160.9 kB / 445.6 MB, free: 3.184 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/0.3042, allocations: 0.7779 MB / 446.4 MB, free: 2.656 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.182e-05/0.3042, allocations: 78.66 kB / 446.5 MB, free: 2.621 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001528/0.3044, allocations: 107.6 kB / 446.6 MB, free: 2.582 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001645/0.306, allocations: 0.9087 MB / 447.5 MB, free: 2.191 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.487e-05/0.3061, allocations: 14.38 kB / 447.5 MB, free: 2.184 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.796e-05/0.3061, allocations: 41.59 kB / 447.5 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.262e-05/0.3062, allocations: 23.81 kB / 447.6 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/0.3074, allocations: 0.6341 MB / 448.2 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004737/0.3122, allocations: 3.215 MB / 451.4 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001453/0.3136, allocations: 0.5776 MB / 452 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005387/0.3142, allocations: 266.3 kB / 452.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.14e-05/0.3142, allocations: 14.64 kB / 452.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007203/0.3149, allocations: 344.9 kB / 452.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of pre-optimization done (n=80): time 2.625e-06/0.3149, allocations: 0 / 452.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.006526/0.3215, allocations: 3.086 MB / 455.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.234e-05/0.3215, allocations: 65.97 kB / 455.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00129/0.3228, allocations: 0.9394 MB / 456.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.786e-05/0.3229, allocations: 43.34 kB / 456.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000508/0.3234, allocations: 0.5284 MB / 457.3 MB, free: 12.97 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003175/0.3237, allocations: 364.5 kB / 457.6 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002637/0.324, allocations: 163.9 kB / 457.8 MB, free: 12.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.3242, allocations: 350 kB / 458.1 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005805/0.3247, allocations: 269 kB / 458.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006952/0.3254, allocations: 425.5 kB / 458.8 MB, free: 11.87 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001361/0.3268, allocations: 0.7449 MB / 459.5 MB, free: 11.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.3268, allocations: 1.219 kB / 459.5 MB, free: 11.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002072/0.3289, allocations: 1.028 MB / 460.6 MB, free: 10.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.3289, allocations: 6.062 kB / 460.6 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.3289, allocations: 4.75 kB / 460.6 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004893/0.3294, allocations: 152.3 kB / 460.7 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007736/0.3302, allocations: 203.9 kB / 460.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004276/0.3345, allocations: 3.988 MB / 464.9 MB, free: 6.996 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006762/0.3351, allocations: 30.83 kB / 464.9 MB, free: 6.977 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-05/0.3352, allocations: 33.59 kB / 465 MB, free: 6.969 MB / 366.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.0005622/0.3358, allocations: 304.8 kB / 465.3 MB, free: 6.738 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001632/0.3359, allocations: 114.9 kB / 465.4 MB, free: 6.676 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001931/0.3379, allocations: 0.9464 MB / 466.3 MB, free: 6.133 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/0.3379, allocations: 10 kB / 466.3 MB, free: 6.133 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.3379, allocations: 7.688 kB / 466.3 MB, free: 6.129 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/0.3379, allocations: 7.969 kB / 466.4 MB, free: 6.121 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004296/0.3422, allocations: 2.486 MB / 468.8 MB, free: 4.367 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.3422, allocations: 2.844 kB / 468.8 MB, free: 4.367 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008064/0.343, allocations: 185.9 kB / 469 MB, free: 4.324 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004017/0.3434, allocations: 119.7 kB / 469.1 MB, free: 4.262 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.383e-05/0.3435, allocations: 33.08 kB / 469.2 MB, free: 4.242 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00371/0.3472, allocations: 3.597 MB / 472.8 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.3472, allocations: 3.312 kB / 472.8 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002588/0.3498, allocations: 1.436 MB / 474.2 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000461/0.3502, allocations: 246.4 kB / 474.5 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/0.3503, allocations: 23.47 kB / 474.5 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004511/0.3508, allocations: 33.98 kB / 474.5 MB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/0.3509, allocations: 72.56 kB / 474.6 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.414e-05/0.351, allocations: 31.48 kB / 474.6 MB, free: 15.6 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009011/0.3519, allocations: 0.6748 MB / 475.3 MB, free: 15.24 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3519, allocations: 1.094 kB / 475.3 MB, free: 15.24 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001015/0.3529, allocations: 243.1 kB / 475.5 MB, free: 15.2 MB / 382.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 (88): * Single equations (assignments): 84 * 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.00163/0.3545, allocations: 447.3 kB / 476 MB, free: 15 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002047/0.3566, allocations: 1.006 MB / 477 MB, free: 14.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.3566, allocations: 0 / 477 MB, free: 14.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00115/0.3577, allocations: 0.6753 MB / 477.6 MB, free: 13.94 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.3588, allocations: 180.2 kB / 477.8 MB, free: 13.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004571/0.3634, allocations: 2.655 MB / 480.5 MB, free: 11.14 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000852/0.3642, allocations: 1.1 MB / 481.6 MB, free: 10.01 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002949/0.3645, allocations: 83.41 kB / 481.7 MB, free: 9.934 MB / 382.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3645, allocations: 0 / 481.7 MB, free: 9.934 MB / 382.1 MB Notification: Performance of Templates: time 0.03199/0.3965, allocations: 23.26 MB / 0.4931 GB, free: 2.648 MB / 398.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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Vehicle/Vehicle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.318690476939082]