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.001351/0.001351, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001517/0.001517, allocations: 204.6 kB / 23.72 MB, free: 4.391 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.503/1.503, allocations: 230.5 MB / 257.4 MB, free: 7.777 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.002262/0.002262, allocations: 64.14 kB / 378.2 MB, free: 2.328 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2475, allocations: 53.43 MB / 431.6 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.008273/0.2558, allocations: 5.522 MB / 437.2 MB, free: 1.137 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004854/0.2607, allocations: 2.232 MB / 439.4 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001035/0.2617, allocations: 43.69 kB / 439.4 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001068/0.2628, allocations: 421.3 kB / 439.8 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001633/0.2644, allocations: 0.5046 MB / 440.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001319/0.2657, allocations: 499.1 kB / 440.8 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00229/0.268, allocations: 1.492 MB / 442.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007489/0.2688, allocations: 345.2 kB / 442.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001029/0.2698, allocations: 0.5876 MB / 443.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008076/0.2706, allocations: 0.5948 MB / 443.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001868/0.2708, allocations: 132 kB / 444 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000364/0.2711, allocations: 176 kB / 444.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003916/0.2715, allocations: 306.9 kB / 444.5 MB, free: 9.797 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005676/0.2721, allocations: 0.5168 MB / 445 MB, free: 9.277 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00196/0.2741, allocations: 1.679 MB / 446.6 MB, free: 7.594 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2741, allocations: 0 / 446.6 MB, free: 7.594 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.2741, allocations: 4 kB / 446.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.931e-05/0.2741, allocations: 4 kB / 446.7 MB, free: 7.586 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.002945/0.277, allocations: 1.525 MB / 448.2 MB, free: 6.023 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.2771, allocations: 11.98 kB / 448.2 MB, free: 6.012 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004116/0.2775, allocations: 164 kB / 448.4 MB, free: 5.852 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00129/0.2788, allocations: 0.6977 MB / 449 MB, free: 5.125 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.936e-05/0.2788, allocations: 74.38 kB / 449.1 MB, free: 5.055 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00017/0.279, allocations: 104.3 kB / 449.2 MB, free: 4.953 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001743/0.2808, allocations: 0.9195 MB / 450.1 MB, free: 4.016 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.709e-05/0.2808, allocations: 11.95 kB / 450.2 MB, free: 4.004 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.257e-05/0.2809, allocations: 40 kB / 450.2 MB, free: 3.965 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.322e-05/0.2809, allocations: 24 kB / 450.2 MB, free: 3.941 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/0.2823, allocations: 0.6363 MB / 450.9 MB, free: 3.305 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004854/0.2871, allocations: 2.614 MB / 453.5 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001466/0.2886, allocations: 0.5773 MB / 454 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005642/0.2892, allocations: 267.4 kB / 454.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.467e-05/0.2892, allocations: 8.656 kB / 454.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000723/0.2899, allocations: 356.2 kB / 454.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=80): time 7.164e-06/0.2899, allocations: 3.984 kB / 454.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.006722/0.2967, allocations: 2.929 MB / 457.6 MB, free: 12.42 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.528e-05/0.2967, allocations: 64.41 kB / 457.7 MB, free: 12.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001179/0.2979, allocations: 0.876 MB / 458.5 MB, free: 11.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.615e-05/0.298, allocations: 41.7 kB / 458.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005205/0.2985, allocations: 0.5398 MB / 459.1 MB, free: 10.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003128/0.2988, allocations: 360.9 kB / 459.5 MB, free: 10.51 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002347/0.299, allocations: 154.7 kB / 459.6 MB, free: 10.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.2992, allocations: 341.9 kB / 460 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005707/0.2998, allocations: 273.9 kB / 460.2 MB, free: 9.746 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007271/0.3005, allocations: 441.3 kB / 460.7 MB, free: 9.266 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00136/0.3019, allocations: 0.7445 MB / 461.4 MB, free: 8.473 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.3019, allocations: 3.938 kB / 461.4 MB, free: 8.469 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002189/0.3041, allocations: 1.029 MB / 462.4 MB, free: 7.426 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.3041, allocations: 8 kB / 462.4 MB, free: 7.418 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.3041, allocations: 4 kB / 462.4 MB, free: 7.414 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004928/0.3046, allocations: 150.1 kB / 462.6 MB, free: 7.262 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007947/0.3054, allocations: 203.7 kB / 462.8 MB, free: 7.062 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004316/0.3097, allocations: 3.7 MB / 466.5 MB, free: 3.168 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005103/0.3102, allocations: 31.98 kB / 466.5 MB, free: 3.137 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.724e-05/0.3103, allocations: 36 kB / 466.6 MB, free: 3.102 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.0005527/0.3109, allocations: 309.8 kB / 466.9 MB, free: 2.789 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001504/0.311, allocations: 111.2 kB / 467 MB, free: 2.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002143/0.3131, allocations: 0.9589 MB / 467.9 MB, free: 1.699 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/0.3132, allocations: 12 kB / 467.9 MB, free: 1.688 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.3132, allocations: 7.938 kB / 467.9 MB, free: 1.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.3132, allocations: 4.031 kB / 467.9 MB, free: 1.676 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004187/0.3174, allocations: 2.151 MB / 470.1 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.156e-06/0.3174, allocations: 4 kB / 470.1 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008251/0.3182, allocations: 183.8 kB / 470.3 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003964/0.3186, allocations: 122 kB / 470.4 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.784e-05/0.3187, allocations: 27.98 kB / 470.4 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00371/0.3224, allocations: 3.324 MB / 473.7 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.86e-06/0.3224, allocations: 7.969 kB / 473.8 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002832/0.3252, allocations: 1.447 MB / 475.2 MB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004135/0.3256, allocations: 163.2 kB / 475.4 MB, free: 9.898 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.3257, allocations: 24 kB / 475.4 MB, free: 9.875 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004098/0.3261, allocations: 27.98 kB / 475.4 MB, free: 9.848 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/0.3263, allocations: 80.83 kB / 475.5 MB, free: 9.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.532e-05/0.3264, allocations: 28 kB / 475.5 MB, free: 9.742 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000895/0.3272, allocations: 0.6201 MB / 476.1 MB, free: 9.125 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3272, allocations: 0 / 476.1 MB, free: 9.125 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009392/0.3282, allocations: 244 kB / 476.4 MB, free: 8.887 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 (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.001748/0.3299, allocations: 476 kB / 476.8 MB, free: 8.566 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002057/0.332, allocations: 1.003 MB / 477.8 MB, free: 7.539 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.332, allocations: 0 / 477.8 MB, free: 7.539 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001152/0.3331, allocations: 0.6831 MB / 478.5 MB, free: 6.828 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009426/0.3341, allocations: 179.1 kB / 478.7 MB, free: 6.664 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004448/0.3385, allocations: 2.635 MB / 481.3 MB, free: 3.961 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006453/0.3392, allocations: 0.5111 MB / 481.9 MB, free: 3.414 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004152/0.3396, allocations: 111.2 kB / 482 MB, free: 3.301 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001973/0.3398, allocations: 71.42 kB / 482 MB, free: 3.23 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3398, allocations: 0 / 482 MB, free: 3.23 MB / 382.1 MB Notification: Performance of Templates: time 0.03462/0.3744, allocations: 12.34 MB / 494.4 MB, free: 7.016 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/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: 5.073917170986533]