Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001604/0.001604, allocations: 211.7 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.498/1.498, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Mechanics.Translational.Examples.Vehicle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 55.92 kB / 378.2 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2405, allocations: 53.36 MB / 431.6 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.007723/0.2482, allocations: 5.533 MB / 437.1 MB, free: 1.137 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004449/0.2527, allocations: 2.232 MB / 439.3 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006492/0.2533, allocations: 39.69 kB / 439.4 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008365/0.2541, allocations: 417.4 kB / 439.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001141/0.2553, allocations: 0.5085 MB / 440.3 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009833/0.2563, allocations: 495.1 kB / 440.8 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001611/0.2579, allocations: 1.5 MB / 442.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006566/0.2585, allocations: 353.2 kB / 442.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007827/0.2593, allocations: 0.5798 MB / 443.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007794/0.2601, allocations: 0.5948 MB / 443.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001819/0.2603, allocations: 128 kB / 443.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003287/0.2606, allocations: 187.9 kB / 444.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003062/0.2609, allocations: 302.9 kB / 444.4 MB, free: 9.797 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005483/0.2615, allocations: 0.5208 MB / 444.9 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001837/0.2633, allocations: 1.675 MB / 446.6 MB, free: 7.598 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2633, allocations: 0 / 446.6 MB, free: 7.598 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2633, allocations: 0 / 446.6 MB, free: 7.598 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.637e-05/0.2633, allocations: 0 / 446.6 MB, free: 7.598 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.002642/0.266, allocations: 1.528 MB / 448.1 MB, free: 6.031 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.266, allocations: 12.03 kB / 448.1 MB, free: 6.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003897/0.2664, allocations: 152 kB / 448.3 MB, free: 5.871 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/0.2677, allocations: 0.6977 MB / 449 MB, free: 5.145 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.825e-05/0.2678, allocations: 78.12 kB / 449.1 MB, free: 5.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001548/0.2679, allocations: 112 kB / 449.2 MB, free: 4.961 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001608/0.2696, allocations: 0.9118 MB / 450.1 MB, free: 4.031 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.298e-05/0.2696, allocations: 7.953 kB / 450.1 MB, free: 4.023 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.933e-05/0.2697, allocations: 40 kB / 450.1 MB, free: 3.984 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.215e-05/0.2697, allocations: 24 kB / 450.1 MB, free: 3.961 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001313/0.271, allocations: 0.6402 MB / 450.8 MB, free: 3.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004559/0.2756, allocations: 2.614 MB / 453.4 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001339/0.2769, allocations: 0.5763 MB / 454 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005264/0.2774, allocations: 270.7 kB / 454.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.797e-05/0.2775, allocations: 12.64 kB / 454.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006625/0.2781, allocations: 352.3 kB / 454.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=80): time 2.475e-06/0.2781, allocations: 0 / 454.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.006252/0.2844, allocations: 2.936 MB / 457.5 MB, free: 12.43 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.746e-05/0.2845, allocations: 64.41 kB / 457.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.2855, allocations: 0.8721 MB / 458.5 MB, free: 11.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.881e-05/0.2856, allocations: 45.7 kB / 458.5 MB, free: 11.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004573/0.2861, allocations: 0.5398 MB / 459.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002968/0.2863, allocations: 364.9 kB / 459.4 MB, free: 10.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002334/0.2866, allocations: 154.7 kB / 459.6 MB, free: 10.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001927/0.2868, allocations: 349.9 kB / 459.9 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006467/0.2874, allocations: 269.8 kB / 460.2 MB, free: 9.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006816/0.2881, allocations: 433.4 kB / 460.6 MB, free: 9.277 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001313/0.2894, allocations: 0.756 MB / 461.3 MB, free: 8.473 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.2894, allocations: 4 kB / 461.4 MB, free: 8.469 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001964/0.2914, allocations: 1.025 MB / 462.4 MB, free: 7.426 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.2914, allocations: 8 kB / 462.4 MB, free: 7.418 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.2914, allocations: 4 kB / 462.4 MB, free: 7.414 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004478/0.2919, allocations: 145.6 kB / 462.5 MB, free: 7.266 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000782/0.2926, allocations: 212.1 kB / 462.7 MB, free: 7.059 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004129/0.2968, allocations: 3.691 MB / 466.4 MB, free: 3.172 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004624/0.2972, allocations: 31.98 kB / 466.5 MB, free: 3.141 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.234e-05/0.2973, allocations: 35.94 kB / 466.5 MB, free: 3.105 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.0004736/0.2978, allocations: 301.6 kB / 466.8 MB, free: 2.801 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/0.2979, allocations: 115.2 kB / 466.9 MB, free: 2.688 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001938/0.2999, allocations: 0.9551 MB / 467.9 MB, free: 1.715 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.2999, allocations: 8 kB / 467.9 MB, free: 1.707 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.2999, allocations: 4 kB / 467.9 MB, free: 1.703 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.497e-06/0.2999, allocations: 3.984 kB / 467.9 MB, free: 1.699 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004129/0.304, allocations: 2.155 MB / 470 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.304, allocations: 4 kB / 470 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007746/0.3048, allocations: 187.7 kB / 470.2 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003639/0.3052, allocations: 122 kB / 470.3 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.803e-05/0.3052, allocations: 27.98 kB / 470.4 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003457/0.3087, allocations: 3.328 MB / 473.7 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/0.3087, allocations: 8.016 kB / 473.7 MB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00255/0.3112, allocations: 1.435 MB / 475.1 MB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003638/0.3116, allocations: 167.4 kB / 475.3 MB, free: 9.918 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.3117, allocations: 28 kB / 475.3 MB, free: 9.891 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00041/0.3121, allocations: 28.06 kB / 475.4 MB, free: 9.863 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/0.3122, allocations: 84.73 kB / 475.4 MB, free: 9.781 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.239e-05/0.3123, allocations: 35.98 kB / 475.5 MB, free: 9.746 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008057/0.3131, allocations: 0.6201 MB / 476.1 MB, free: 9.129 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3131, allocations: 0 / 476.1 MB, free: 9.129 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008974/0.314, allocations: 240 kB / 476.3 MB, free: 8.895 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.001708/0.3157, allocations: 482.8 kB / 476.8 MB, free: 8.602 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001959/0.3177, allocations: 1.01 MB / 477.8 MB, free: 7.562 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3177, allocations: 0 / 477.8 MB, free: 7.562 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001131/0.3188, allocations: 0.6792 MB / 478.5 MB, free: 6.859 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009012/0.3197, allocations: 176.9 kB / 478.7 MB, free: 6.699 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004322/0.324, allocations: 2.624 MB / 481.3 MB, free: 4.004 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006322/0.3247, allocations: 0.515 MB / 481.8 MB, free: 3.453 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003906/0.3251, allocations: 111.2 kB / 481.9 MB, free: 3.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001935/0.3253, allocations: 71.42 kB / 482 MB, free: 3.27 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3253, allocations: 0 / 482 MB, free: 3.27 MB / 382.1 MB Notification: Performance of Templates: time 0.02354/0.3488, allocations: 12.34 MB / 494.3 MB, free: 7.07 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 5.130134964361787]