Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.00628/0.00628, allocations: 108.7 kB / 21.97 MB, free: 5.184 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.00237/0.00237, allocations: 220.3 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.453/1.453, allocations: 230.6 MB / 259 MB, free: 8.027 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Mechanics.Translational.Examples.Vehicle") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 67.89 kB / 379.8 MB, free: 2.664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2506, allocations: 53.36 MB / 433.2 MB, free: 6.969 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.008424/0.2591, allocations: 6.289 MB / 439.5 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004909/0.264, allocations: 2.326 MB / 441.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00124/0.2652, allocations: 43.69 kB / 441.8 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001068/0.2663, allocations: 413.4 kB / 442.2 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001593/0.2679, allocations: 0.5085 MB / 442.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001323/0.2692, allocations: 0.4951 MB / 443.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002258/0.2715, allocations: 1.496 MB / 444.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000727/0.2722, allocations: 377.2 kB / 445.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001031/0.2732, allocations: 0.5837 MB / 445.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009331/0.2741, allocations: 0.6651 MB / 446.3 MB, free: 9.719 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001814/0.2743, allocations: 132 kB / 446.5 MB, free: 9.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003626/0.2747, allocations: 183.9 kB / 446.7 MB, free: 9.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002953/0.275, allocations: 306.9 kB / 447 MB, free: 9.109 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006597/0.2756, allocations: 0.645 MB / 447.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001933/0.2776, allocations: 1.655 MB / 449.3 MB, free: 6.805 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.922e-06/0.2776, allocations: 4 kB / 449.3 MB, free: 6.801 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2776, allocations: 0 / 449.3 MB, free: 6.801 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.62e-05/0.2776, allocations: 0 / 449.3 MB, free: 6.801 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.002798/0.2804, allocations: 1.525 MB / 450.8 MB, free: 5.238 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.2805, allocations: 8.031 kB / 450.8 MB, free: 5.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004037/0.2809, allocations: 163.9 kB / 450.9 MB, free: 5.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.2821, allocations: 0.7067 MB / 451.7 MB, free: 4.332 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.41e-05/0.2822, allocations: 82.06 kB / 451.7 MB, free: 4.254 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001594/0.2824, allocations: 104 kB / 451.8 MB, free: 4.152 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001652/0.284, allocations: 0.9118 MB / 452.7 MB, free: 3.223 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.989e-05/0.284, allocations: 7.953 kB / 452.8 MB, free: 3.215 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.322e-05/0.2841, allocations: 40 kB / 452.8 MB, free: 3.176 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.186e-05/0.2842, allocations: 24 kB / 452.8 MB, free: 3.152 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001313/0.2855, allocations: 0.6363 MB / 453.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004939/0.2904, allocations: 3.111 MB / 456.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001334/0.2917, allocations: 0.5839 MB / 457.2 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005168/0.2923, allocations: 278.5 kB / 457.4 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.435e-05/0.2923, allocations: 16.64 kB / 457.4 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006816/0.293, allocations: 344.4 kB / 457.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of pre-optimization done (n=80): time 2.755e-06/0.293, allocations: 0 / 457.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.006122/0.2991, allocations: 2.928 MB / 460.7 MB, free: 11.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/0.2992, allocations: 60.41 kB / 460.8 MB, free: 11.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/0.3004, allocations: 0.9469 MB / 461.7 MB, free: 10.06 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.551e-05/0.3005, allocations: 45.7 kB / 461.8 MB, free: 10.01 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004601/0.301, allocations: 0.5204 MB / 462.3 MB, free: 9.484 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003038/0.3013, allocations: 360.8 kB / 462.6 MB, free: 9.129 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002441/0.3015, allocations: 166.6 kB / 462.8 MB, free: 8.961 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.3017, allocations: 349.9 kB / 463.1 MB, free: 8.613 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005675/0.3022, allocations: 273.8 kB / 463.4 MB, free: 8.348 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006725/0.3029, allocations: 425.5 kB / 463.8 MB, free: 7.879 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001281/0.3042, allocations: 0.7521 MB / 464.6 MB, free: 7.078 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.3042, allocations: 0 / 464.6 MB, free: 7.078 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001965/0.3062, allocations: 1.025 MB / 465.6 MB, free: 6.039 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.3062, allocations: 4 kB / 465.6 MB, free: 6.035 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.3062, allocations: 4 kB / 465.6 MB, free: 6.031 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004763/0.3067, allocations: 154 kB / 465.8 MB, free: 5.875 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007881/0.3075, allocations: 203.7 kB / 465.9 MB, free: 5.676 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003971/0.3114, allocations: 3.77 MB / 469.7 MB, free: 1.684 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005894/0.312, allocations: 31.98 kB / 469.8 MB, free: 1.652 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.833e-05/0.3121, allocations: 35.94 kB / 469.8 MB, free: 1.617 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.0005077/0.3126, allocations: 302.9 kB / 470.1 MB, free: 1.312 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001528/0.3127, allocations: 107.3 kB / 470.2 MB, free: 1.207 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001928/0.3147, allocations: 0.9675 MB / 471.2 MB, free: 228 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.3147, allocations: 12.03 kB / 471.2 MB, free: 216 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.3147, allocations: 4 kB / 471.2 MB, free: 212 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.3147, allocations: 3.984 kB / 471.2 MB, free: 208 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004109/0.3188, allocations: 2.443 MB / 473.6 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.3188, allocations: 4 kB / 473.6 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007846/0.3196, allocations: 183.7 kB / 473.8 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003925/0.32, allocations: 121.6 kB / 473.9 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.652e-05/0.32, allocations: 23.98 kB / 473.9 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003385/0.3234, allocations: 3.391 MB / 477.3 MB, free: 9.699 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.3234, allocations: 7.938 kB / 477.3 MB, free: 9.691 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002515/0.3259, allocations: 1.431 MB / 478.8 MB, free: 8.199 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003886/0.3263, allocations: 167.2 kB / 478.9 MB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/0.3265, allocations: 31.92 kB / 479 MB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004061/0.3269, allocations: 20 kB / 479 MB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001508/0.327, allocations: 84.89 kB / 479.1 MB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.413e-05/0.3271, allocations: 27.98 kB / 479.1 MB, free: 7.875 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008817/0.328, allocations: 0.6786 MB / 479.8 MB, free: 7.199 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.328, allocations: 0 / 479.8 MB, free: 7.199 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009135/0.3289, allocations: 243.9 kB / 480 MB, free: 6.961 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.001583/0.3304, allocations: 445.2 kB / 480.4 MB, free: 6.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002088/0.3325, allocations: 1.01 MB / 481.5 MB, free: 5.645 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.3325, allocations: 0 / 481.5 MB, free: 5.645 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001109/0.3336, allocations: 0.6714 MB / 482.1 MB, free: 4.945 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000971/0.3346, allocations: 186.2 kB / 482.3 MB, free: 4.766 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00442/0.339, allocations: 2.661 MB / 485 MB, free: 2.027 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008176/0.3399, allocations: 1.1 MB / 486.1 MB, free: 0.9023 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002662/0.3401, allocations: 87.41 kB / 486.2 MB, free: 0.8164 MB / 382.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3401, allocations: 0 / 486.2 MB, free: 0.8164 MB / 382.1 MB Notification: Performance of Templates: time 0.0301/0.3702, allocations: 23.27 MB / 0.4975 GB, free: 9.539 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Vehicle.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Vehicle.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Vehicle.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Vehicle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Vehicle_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Vehicle/Vehicle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.309873095946386]