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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 176.4 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.544/1.544, allocations: 221.5 MB / 230.3 MB, free: 7.523 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008683/0.0008686, allocations: 86.05 kB / 281.2 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.778e-05/1.773e-05, allocations: 4 kB / 337 MB, free: 10.04 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1085, allocations: 50.42 MB / 387.5 MB, free: 7.578 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3746/0.4832, allocations: 85.23 MB / 472.7 MB, free: 9.629 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/0.4834, allocations: 75.95 kB / 472.8 MB, free: 9.555 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05764/0.5411, allocations: 21.92 MB / 494.7 MB, free: 3.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5411, allocations: 0 / 494.7 MB, free: 3.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.609e-05/0.5412, allocations: 35.92 kB / 494.7 MB, free: 3.535 MB / 362.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.002123/0.5434, allocations: 1.206 MB / 495.9 MB, free: 2.281 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.5434, allocations: 8.031 kB / 495.9 MB, free: 2.273 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002122/0.5436, allocations: 142.2 kB / 496.1 MB, free: 2.133 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001163/0.5448, allocations: 0.7357 MB / 496.8 MB, free: 1.355 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.415e-05/0.5449, allocations: 32 kB / 496.8 MB, free: 1.324 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.545, allocations: 63.98 kB / 496.9 MB, free: 1.262 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001057/0.5461, allocations: 0.5545 MB / 497.5 MB, free: 0.707 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/0.5475, allocations: 0.748 MB / 498.2 MB, free: 15.94 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.583e-05/0.5475, allocations: 11.84 kB / 498.2 MB, free: 15.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.006e-05/0.5476, allocations: 0 / 498.2 MB, free: 15.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.976e-05/0.5476, allocations: 24 kB / 498.2 MB, free: 15.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004612/0.5522, allocations: 3.116 MB / 0.4896 GB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/0.5533, allocations: 0.5589 MB / 0.4902 GB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003778/0.5537, allocations: 267.1 kB / 0.4904 GB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.181e-05/0.5537, allocations: 8.781 kB / 0.4904 GB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005514/0.5543, allocations: 316.5 kB / 0.4907 GB, free: 11.51 MB / 378.7 MB Notification: Performance of pre-optimization done (n=80): time 2.856e-06/0.5543, allocations: 0 / 0.4907 GB, free: 11.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=100): time 0.004572/0.5589, allocations: 2.552 MB / 0.4932 GB, free: 8.883 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.5589, allocations: 60.72 kB / 0.4933 GB, free: 8.812 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009457/0.5599, allocations: 0.7074 MB / 0.494 GB, free: 8.098 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.124e-05/0.56, allocations: 25.7 kB / 0.494 GB, free: 8.066 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004193/0.5604, allocations: 0.5233 MB / 0.4945 GB, free: 7.535 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000247/0.5606, allocations: 335 kB / 0.4948 GB, free: 7.203 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.258e-05/0.5607, allocations: 0 / 0.4948 GB, free: 7.203 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.5608, allocations: 345.9 kB / 0.4951 GB, free: 6.859 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003803/0.5612, allocations: 242.6 kB / 0.4954 GB, free: 6.621 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004659/0.5617, allocations: 381.8 kB / 0.4957 GB, free: 6.195 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004767/0.5622, allocations: 304.5 kB / 0.496 GB, free: 5.898 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5622, allocations: 0 / 0.496 GB, free: 5.898 MB / 378.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001492/0.5637, allocations: 0.9024 MB / 0.4969 GB, free: 4.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.5637, allocations: 8 kB / 0.4969 GB, free: 4.973 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.5637, allocations: 4 kB / 0.4969 GB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000421/0.5642, allocations: 146 kB / 0.4971 GB, free: 4.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007771/0.5649, allocations: 207.7 kB / 0.4973 GB, free: 4.617 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003284/0.5682, allocations: 3.448 MB / 0.5006 GB, free: 0.9297 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005083/0.5688, allocations: 11.98 kB / 0.5006 GB, free: 0.918 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.015e-05/0.5688, allocations: 36 kB / 0.5007 GB, free: 0.8828 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 () * 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.0001784/0.569, allocations: 132.8 kB / 0.5008 GB, free: 0.7461 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/0.5692, allocations: 98.78 kB / 0.5009 GB, free: 0.6484 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001582/0.5708, allocations: 0.865 MB / 0.5017 GB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.5708, allocations: 11.94 kB / 0.5017 GB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.548e-05/0.5708, allocations: 4 kB / 0.5018 GB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.5708, allocations: 3.984 kB / 0.5018 GB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003467/0.5743, allocations: 2.322 MB / 0.504 GB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.5743, allocations: 4 kB / 0.504 GB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007886/0.5751, allocations: 183.8 kB / 0.5042 GB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003368/0.5755, allocations: 118 kB / 0.5043 GB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.329e-05/0.5755, allocations: 16.05 kB / 0.5043 GB, free: 13 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002678/0.5782, allocations: 3.176 MB / 0.5074 GB, free: 9.594 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.5782, allocations: 4 kB / 0.5074 GB, free: 9.59 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002033/0.5803, allocations: 1.47 MB / 0.5089 GB, free: 7.984 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003703/0.5807, allocations: 255.8 kB / 0.5091 GB, free: 7.715 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.5808, allocations: 7.984 kB / 0.5091 GB, free: 7.707 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003955/0.5812, allocations: 12 kB / 0.5091 GB, free: 7.695 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.5813, allocations: 84.66 kB / 0.5092 GB, free: 7.613 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.999e-05/0.5814, allocations: 35.98 kB / 0.5092 GB, free: 7.578 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007356/0.5821, allocations: 0.546 MB / 0.5098 GB, free: 7.039 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5821, allocations: 0 / 0.5098 GB, free: 7.039 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001004/0.5832, allocations: 228 kB / 0.51 GB, free: 6.816 MB / 394.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) * 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.0009022/0.5841, allocations: 381.4 kB / 0.5104 GB, free: 6.52 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001503/0.5856, allocations: 0.9381 MB / 0.5113 GB, free: 5.559 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.5856, allocations: 0 / 0.5113 GB, free: 5.559 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008314/0.5864, allocations: 0.6318 MB / 0.5119 GB, free: 4.91 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008078/0.5873, allocations: 133.9 kB / 0.512 GB, free: 4.781 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003516/0.5908, allocations: 2.122 MB / 0.5141 GB, free: 2.586 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007999/0.5916, allocations: 1.12 MB / 0.5152 GB, free: 1.441 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004683/0.5921, allocations: 119 kB / 0.5153 GB, free: 1.32 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002025/0.5923, allocations: 75.41 kB / 0.5154 GB, free: 1.246 MB / 394.7 MB Notification: Performance of SimCode: time 4.81e-07/0.5923, allocations: 0 / 0.5154 GB, free: 1.246 MB / 394.7 MB Notification: Performance of Templates: time 0.01787/0.6102, allocations: 9.551 MB / 0.5247 GB, free: 7.734 MB / 410.7 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","../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches