Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Vehicle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_trunk_cpp_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_trunk_cpp_Modelica.Mechanics.Translational.Examples.Vehicle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003321/0.003321, allocations: 203.4 kB / 18.07 MB, free: 3.641 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 3.074/3.074, allocations: 226.5 MB / 245.4 MB, free: 8.195 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001129/0.001129, allocations: 93.81 kB / 297.4 MB, free: 6.891 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004039/0.000404, allocations: 8 kB / 357.4 MB, free: 10.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7905/0.7909, allocations: 51.29 MB / 408.7 MB, free: 27.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3449/1.136, allocations: 87.17 MB / 495.8 MB, free: 4.43 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004273/1.136, allocations: 75.97 kB / 495.9 MB, free: 4.355 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7516/1.888, allocations: 22.86 MB / 0.5066 GB, free: 86.42 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.719e-06/1.888, allocations: 0 / 0.5066 GB, free: 86.42 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003429/1.889, allocations: 33.78 kB / 0.5066 GB, free: 86.41 MB / 378.7 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.007979/1.897, allocations: 1.364 MB / 0.508 GB, free: 85.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001306/1.897, allocations: 8.812 kB / 0.508 GB, free: 85.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006246/1.903, allocations: 152.4 kB / 0.5081 GB, free: 85.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004887/1.908, allocations: 0.7791 MB / 0.5089 GB, free: 85.24 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003187/1.908, allocations: 73.25 kB / 0.509 GB, free: 85.24 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008981/1.909, allocations: 110.5 kB / 0.5091 GB, free: 85.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00663/1.916, allocations: 0.9136 MB / 0.51 GB, free: 85.15 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002071/1.916, allocations: 15.27 kB / 0.51 GB, free: 85.14 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003218/1.917, allocations: 40.41 kB / 0.51 GB, free: 85.14 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.349e-05/1.917, allocations: 23.97 kB / 0.51 GB, free: 85.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008388/1.925, allocations: 0.6465 MB / 0.5107 GB, free: 85.13 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01472/1.94, allocations: 3.304 MB / 0.5139 GB, free: 84.17 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002291/1.942, allocations: 0.6277 MB / 0.5145 GB, free: 84.14 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000813/1.943, allocations: 310.2 kB / 0.5148 GB, free: 84.12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.441e-05/1.943, allocations: 13.14 kB / 0.5148 GB, free: 84.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009589/1.944, allocations: 354.8 kB / 0.5151 GB, free: 84.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=80): time 6.121e-06/1.944, allocations: 0 / 0.5151 GB, free: 84.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=100): time 0.01416/1.958, allocations: 3.085 MB / 0.5182 GB, free: 82.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001493/1.959, allocations: 62.25 kB / 0.5182 GB, free: 82.69 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00414/1.963, allocations: 0.9332 MB / 0.5191 GB, free: 82.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002909/1.963, allocations: 41.11 kB / 0.5192 GB, free: 82.28 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006746/1.964, allocations: 0.5146 MB / 0.5197 GB, free: 81.87 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004929/1.964, allocations: 349.6 kB / 0.52 GB, free: 81.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.188e-05/1.964, allocations: 23.94 kB / 0.52 GB, free: 81.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001387/1.965, allocations: 340.2 kB / 0.5204 GB, free: 81.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008236/1.965, allocations: 275.1 kB / 0.5206 GB, free: 81.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001058/1.967, allocations: 434.3 kB / 0.521 GB, free: 80.9 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001989/1.969, allocations: 0.7445 MB / 0.5218 GB, free: 80.46 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/1.969, allocations: 2.297 kB / 0.5218 GB, free: 80.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003438/1.972, allocations: 1.046 MB / 0.5228 GB, free: 79.99 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.719e-05/1.972, allocations: 7.25 kB / 0.5228 GB, free: 79.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.374e-05/1.972, allocations: 10.67 kB / 0.5228 GB, free: 79.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007754/1.973, allocations: 143.9 kB / 0.5229 GB, free: 79.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005729/1.979, allocations: 211.3 kB / 0.5231 GB, free: 79.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005065/1.984, allocations: 3.611 MB / 0.5267 GB, free: 76.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001409/1.985, allocations: 29.91 kB / 0.5267 GB, free: 76.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002406/1.986, allocations: 41.52 kB / 0.5267 GB, free: 76.66 MB / 378.7 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 ($whenCondition1,$PRE.timeTableTorqueInclination.nextTimeEvent,timeTableTorqueInclination.nextTimeEvent,$PRE.timeTableTorqueInclination.nextTimeEventScaled,timeTableTorqueInclination.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001345/1.987, allocations: 306.6 kB / 0.527 GB, free: 76.44 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005643/1.988, allocations: 109.5 kB / 0.5271 GB, free: 76.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003468/1.991, allocations: 0.9772 MB / 0.5281 GB, free: 75.94 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-05/1.991, allocations: 10.31 kB / 0.5281 GB, free: 75.94 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.819e-05/1.991, allocations: 3.562 kB / 0.5281 GB, free: 75.94 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.262e-05/1.991, allocations: 10.11 kB / 0.5281 GB, free: 75.94 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01193/2.003, allocations: 2.6 MB / 0.5306 GB, free: 74.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-05/2.003, allocations: 3.812 kB / 0.5306 GB, free: 74.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001115/2.004, allocations: 185.9 kB / 0.5308 GB, free: 74.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005775/2.005, allocations: 116.8 kB / 0.5309 GB, free: 74.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001253/2.005, allocations: 34.19 kB / 0.531 GB, free: 74.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003709/2.009, allocations: 3.291 MB / 0.5342 GB, free: 71.45 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/2.009, allocations: 2.562 kB / 0.5342 GB, free: 71.45 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003698/2.013, allocations: 1.461 MB / 0.5356 GB, free: 70.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001003/2.014, allocations: 267.8 kB / 0.5359 GB, free: 69.86 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004706/2.018, allocations: 24 kB / 0.5359 GB, free: 69.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/2.019, allocations: 34.84 kB / 0.5359 GB, free: 69.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002886/2.02, allocations: 80.59 kB / 0.536 GB, free: 69.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.739e-05/2.02, allocations: 24.09 kB / 0.536 GB, free: 69.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001407/2.021, allocations: 0.6725 MB / 0.5367 GB, free: 69.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.5e-07/2.021, allocations: 0 / 0.5367 GB, free: 69.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001988/2.023, allocations: 268.1 kB / 0.5369 GB, free: 68.9 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001687/2.025, allocations: 455.8 kB / 0.5374 GB, free: 68.65 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003318/2.028, allocations: 1.051 MB / 0.5384 GB, free: 67.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/2.028, allocations: 0 / 0.5384 GB, free: 67.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001821/2.03, allocations: 0.7044 MB / 0.5391 GB, free: 66.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002543/2.033, allocations: 180.5 kB / 0.5393 GB, free: 66.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0188/2.052, allocations: 3.202 MB / 0.5424 GB, free: 63.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001879/2.053, allocations: 1.107 MB / 0.5435 GB, free: 62.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008301/2.054, allocations: 86.52 kB / 0.5435 GB, free: 62.82 MB / 378.7 MB Notification: Performance of SimCode: time 2.866e-06/2.054, allocations: 0 / 0.5435 GB, free: 62.82 MB / 378.7 MB Notification: Performance of Templates: time 0.07809/2.132, allocations: 23.12 MB / 0.5661 GB, free: 41.51 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Vehicle.makefile (rm -f Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Vehicle.pipe >> ../files/Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Vehicle.sim & ./Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Vehicle --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Vehicle_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Vehicle/Vehicle.csv","../files/Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Vehicle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches