Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Vehicle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=12000,variableFilter="time|vehicle.s|vehicle.v|vehicle1.s|vehicle1.v|trailer.s|trailer.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle") translateModel(Modelica.Mechanics.Translational.Examples.Vehicle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=12000,variableFilter="time|vehicle.s|vehicle.v|vehicle1.s|vehicle1.v|trailer.s|trailer.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 108 kB / 16.92 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001681/0.001681, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001029/0.001029, allocations: 48.81 kB / 300.6 MB, free: 5.883 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08802/0.08906, allocations: 49.44 MB / 350 MB, free: 4.43 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.007493/0.09659, allocations: 6.237 MB / 356.3 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003958/0.1006, allocations: 2.135 MB / 358.4 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007915/0.1014, allocations: 31.81 kB / 358.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007558/0.1022, allocations: 421.4 kB / 358.9 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009505/0.1031, allocations: 456.9 kB / 359.3 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009761/0.1041, allocations: 0.5066 MB / 359.8 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001321/0.1055, allocations: 1.488 MB / 361.3 MB, free: 9.121 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006935/0.1062, allocations: 0.5474 MB / 361.8 MB, free: 8.551 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005729/0.1067, allocations: 0.5525 MB / 362.4 MB, free: 7.996 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006291/0.1074, allocations: 0.6456 MB / 363 MB, free: 7.348 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001616/0.1076, allocations: 128 kB / 363.2 MB, free: 7.223 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002676/0.1078, allocations: 171.9 kB / 363.3 MB, free: 7.055 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002283/0.1081, allocations: 306.9 kB / 363.6 MB, free: 6.754 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005964/0.1087, allocations: 0.645 MB / 364.3 MB, free: 6.105 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001372/0.11, allocations: 1.612 MB / 365.9 MB, free: 4.488 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1101, allocations: 0 / 365.9 MB, free: 4.488 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1101, allocations: 3.938 kB / 365.9 MB, free: 4.484 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.755e-05/0.1101, allocations: 8 kB / 365.9 MB, free: 4.477 MB / 302.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.002696/0.1128, allocations: 1.543 MB / 367.5 MB, free: 2.883 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.1129, allocations: 8.031 kB / 367.5 MB, free: 2.875 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002264/0.1131, allocations: 147.2 kB / 367.6 MB, free: 2.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/0.1142, allocations: 0.747 MB / 368.3 MB, free: 1.941 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001274/0.1143, allocations: 78.12 kB / 368.4 MB, free: 1.863 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001498/0.1145, allocations: 103.9 kB / 368.5 MB, free: 1.762 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001693/0.1162, allocations: 0.9117 MB / 369.4 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.491e-05/0.1162, allocations: 7.906 kB / 369.4 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.485e-05/0.1163, allocations: 44 kB / 369.5 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.129e-05/0.1164, allocations: 24 kB / 369.5 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001238/0.1176, allocations: 0.6325 MB / 370.1 MB, free: 132 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1527/0.2703, allocations: 3.233 MB / 373.4 MB, free: 23.76 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001429/0.2718, allocations: 0.6157 MB / 374 MB, free: 23.53 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005479/0.2724, allocations: 296 kB / 374.3 MB, free: 23.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.622e-05/0.2724, allocations: 18.73 kB / 374.3 MB, free: 23.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007179/0.2731, allocations: 349.3 kB / 374.6 MB, free: 23.25 MB / 302.1 MB Notification: Performance of pre-optimization done (n=80): time 2.965e-06/0.2732, allocations: 0 / 374.6 MB, free: 23.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=100): time 0.005484/0.2786, allocations: 3.054 MB / 377.7 MB, free: 21.63 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.2787, allocations: 62.97 kB / 377.8 MB, free: 21.57 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001291/0.28, allocations: 0.9336 MB / 378.7 MB, free: 21.21 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.301e-05/0.2801, allocations: 45.77 kB / 378.7 MB, free: 21.16 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003891/0.2805, allocations: 0.5077 MB / 379.2 MB, free: 20.76 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002191/0.2807, allocations: 349.6 kB / 379.6 MB, free: 20.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002362/0.281, allocations: 159.2 kB / 379.7 MB, free: 20.41 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.885e-05/0.281, allocations: 342.7 kB / 380.1 MB, free: 20.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005196/0.2816, allocations: 269.3 kB / 380.3 MB, free: 19.99 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005454/0.2821, allocations: 433.6 kB / 380.8 MB, free: 19.72 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/0.2833, allocations: 0.7387 MB / 381.5 MB, free: 19.28 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.2833, allocations: 2.641 kB / 381.5 MB, free: 19.28 MB / 302.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002299/0.2856, allocations: 1.026 MB / 382.5 MB, free: 18.82 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/0.2857, allocations: 11.77 kB / 382.5 MB, free: 18.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.2857, allocations: 4.344 kB / 382.5 MB, free: 18.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004878/0.2862, allocations: 153.5 kB / 382.7 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007271/0.2869, allocations: 208.5 kB / 382.9 MB, free: 18.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002885/0.2898, allocations: 3.984 MB / 386.9 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005369/0.2904, allocations: 29.41 kB / 386.9 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.043e-05/0.2904, allocations: 35.61 kB / 386.9 MB, free: 15.14 MB / 302.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.0005006/0.291, allocations: 307.5 kB / 387.2 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.2911, allocations: 104.7 kB / 387.3 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001724/0.2928, allocations: 0.9542 MB / 388.3 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.2928, allocations: 10.19 kB / 388.3 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.2929, allocations: 6.312 kB / 388.3 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.592e-05/0.2929, allocations: 10.27 kB / 388.3 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003943/0.2968, allocations: 2.49 MB / 390.8 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.385e-06/0.2969, allocations: 3.281 kB / 390.8 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000746/0.2976, allocations: 182.2 kB / 391 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003364/0.298, allocations: 122.7 kB / 391.1 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-05/0.298, allocations: 28.05 kB / 391.1 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002151/0.3002, allocations: 3.607 MB / 394.8 MB, free: 9.664 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.3002, allocations: 3.938 kB / 394.8 MB, free: 9.664 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001971/0.3022, allocations: 1.438 MB / 396.2 MB, free: 8.773 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002787/0.3025, allocations: 237.4 kB / 396.4 MB, free: 8.559 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.3026, allocations: 31.67 kB / 396.5 MB, free: 8.535 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003885/0.303, allocations: 21.59 kB / 396.5 MB, free: 8.523 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/0.3031, allocations: 86.39 kB / 396.6 MB, free: 8.473 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.338e-05/0.3032, allocations: 26.62 kB / 396.6 MB, free: 8.469 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007524/0.3039, allocations: 0.6655 MB / 397.3 MB, free: 8.117 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3039, allocations: 0 / 397.3 MB, free: 8.117 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009465/0.3049, allocations: 242.1 kB / 397.5 MB, free: 8.086 MB / 302.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.0009894/0.3059, allocations: 452.7 kB / 397.9 MB, free: 7.875 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002159/0.308, allocations: 1.083 MB / 399 MB, free: 7.246 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.3081, allocations: 3.938 kB / 399 MB, free: 7.242 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008595/0.3089, allocations: 0.6957 MB / 399.7 MB, free: 6.789 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008636/0.3098, allocations: 172.8 kB / 399.9 MB, free: 6.691 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003032/0.3128, allocations: 2.605 MB / 402.5 MB, free: 4.473 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004355/0.3133, allocations: 1.1 MB / 403.6 MB, free: 3.344 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003493/0.3136, allocations: 119.5 kB / 403.7 MB, free: 3.223 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001589/0.3138, allocations: 75.42 kB / 403.8 MB, free: 3.148 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3138, allocations: 0 / 403.8 MB, free: 3.148 MB / 302.1 MB Notification: Performance of Templates: time 0.01788/0.3317, allocations: 10.96 MB / 414.7 MB, free: 8.285 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Vehicle/Vehicle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches