Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_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_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_Modelica.Mechanics.Translational.Examples.Vehicle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009863/0.0009863, allocations: 201.2 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.504/1.504, allocations: 226.5 MB / 245.4 MB, free: 8.215 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007938/0.0007937, allocations: 104 kB / 297.5 MB, free: 6.875 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002426/0.0002426, allocations: 7.984 kB / 358.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.204, allocations: 51.28 MB / 409.4 MB, free: 27.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09954/0.3036, allocations: 87.17 MB / 496.5 MB, free: 4.348 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002698/0.3039, allocations: 75.97 kB / 496.6 MB, free: 4.273 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2515/0.5554, allocations: 22.87 MB / 0.5073 GB, free: 86.42 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.5554, allocations: 1 kB / 0.5073 GB, free: 86.42 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001251/0.5556, allocations: 34.8 kB / 0.5073 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.002649/0.5582, allocations: 1.363 MB / 0.5087 GB, free: 85.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.5583, allocations: 10.06 kB / 0.5087 GB, free: 85.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003995/0.5587, allocations: 149.5 kB / 0.5088 GB, free: 85.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.5598, allocations: 0.7793 MB / 0.5096 GB, free: 85.24 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.157e-05/0.5599, allocations: 77.38 kB / 0.5097 GB, free: 85.24 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001418/0.56, allocations: 105.6 kB / 0.5098 GB, free: 85.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001703/0.5617, allocations: 0.909 MB / 0.5106 GB, free: 85.15 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.319e-05/0.5618, allocations: 15.62 kB / 0.5107 GB, free: 85.14 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.221e-05/0.5619, allocations: 42.66 kB / 0.5107 GB, free: 85.14 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-05/0.5619, allocations: 23.78 kB / 0.5107 GB, free: 85.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001359/0.5633, allocations: 0.6489 MB / 0.5114 GB, free: 85.13 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004309/0.5676, allocations: 3.301 MB / 0.5146 GB, free: 84.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/0.5688, allocations: 0.6316 MB / 0.5152 GB, free: 84.13 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000427/0.5693, allocations: 306.6 kB / 0.5155 GB, free: 84.12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.497e-05/0.5693, allocations: 13.75 kB / 0.5155 GB, free: 84.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005573/0.5699, allocations: 346.5 kB / 0.5158 GB, free: 84.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=80): time 2.885e-06/0.5699, allocations: 0 / 0.5158 GB, free: 84.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=100): time 0.005059/0.575, allocations: 3.085 MB / 0.5189 GB, free: 82.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.575, allocations: 64.16 kB / 0.5189 GB, free: 82.63 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/0.5761, allocations: 0.932 MB / 0.5198 GB, free: 82.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.606e-05/0.5761, allocations: 45.25 kB / 0.5199 GB, free: 82.22 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002908/0.5764, allocations: 0.5193 MB / 0.5204 GB, free: 81.81 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001846/0.5766, allocations: 346.9 kB / 0.5207 GB, free: 81.55 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.68e-05/0.5766, allocations: 19.94 kB / 0.5207 GB, free: 81.53 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.274e-05/0.5767, allocations: 344.5 kB / 0.5211 GB, free: 81.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004585/0.5772, allocations: 276.6 kB / 0.5213 GB, free: 81.11 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005023/0.5777, allocations: 436.6 kB / 0.5217 GB, free: 80.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.5787, allocations: 0.7478 MB / 0.5225 GB, free: 80.4 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.5788, allocations: 2.125 kB / 0.5225 GB, free: 80.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001721/0.5805, allocations: 1.05 MB / 0.5235 GB, free: 79.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.5805, allocations: 6.688 kB / 0.5235 GB, free: 79.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.689e-06/0.5806, allocations: 2.812 kB / 0.5235 GB, free: 79.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004359/0.581, allocations: 149.7 kB / 0.5236 GB, free: 79.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007131/0.5817, allocations: 203.2 kB / 0.5238 GB, free: 79.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002661/0.5844, allocations: 3.614 MB / 0.5274 GB, free: 76.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000637/0.5851, allocations: 32.41 kB / 0.5274 GB, free: 76.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.169e-05/0.5851, allocations: 39.39 kB / 0.5274 GB, free: 76.61 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.0005375/0.5857, allocations: 304.1 kB / 0.5277 GB, free: 76.38 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001857/0.5859, allocations: 110.2 kB / 0.5278 GB, free: 76.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001679/0.5876, allocations: 0.9775 MB / 0.5288 GB, free: 75.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.5876, allocations: 7.625 kB / 0.5288 GB, free: 75.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.5876, allocations: 3.844 kB / 0.5288 GB, free: 75.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.5876, allocations: 5.062 kB / 0.5288 GB, free: 75.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004002/0.5916, allocations: 2.595 MB / 0.5313 GB, free: 74.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.5917, allocations: 3.844 kB / 0.5313 GB, free: 74.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007244/0.5924, allocations: 191 kB / 0.5315 GB, free: 74.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003629/0.5928, allocations: 123.3 kB / 0.5316 GB, free: 74.44 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.964e-05/0.5929, allocations: 30.83 kB / 0.5317 GB, free: 74.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002307/0.5952, allocations: 3.292 MB / 0.5349 GB, free: 71.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.5952, allocations: 3.75 kB / 0.5349 GB, free: 71.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002456/0.5977, allocations: 1.462 MB / 0.5363 GB, free: 70.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005838/0.5983, allocations: 263.3 kB / 0.5366 GB, free: 69.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002358/0.5985, allocations: 24 kB / 0.5366 GB, free: 69.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005092/0.599, allocations: 31.8 kB / 0.5366 GB, free: 69.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.5992, allocations: 74.39 kB / 0.5367 GB, free: 69.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.918e-05/0.5992, allocations: 31.8 kB / 0.5367 GB, free: 69.79 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008834/0.6001, allocations: 0.6646 MB / 0.5374 GB, free: 69.22 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6001, allocations: 2.906 kB / 0.5374 GB, free: 69.22 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001085/0.6012, allocations: 275.5 kB / 0.5376 GB, free: 68.95 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.0009761/0.6022, allocations: 470.8 kB / 0.5381 GB, free: 68.69 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001734/0.6039, allocations: 1.042 MB / 0.5391 GB, free: 67.71 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.604, allocations: 0 / 0.5391 GB, free: 67.71 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009508/0.6049, allocations: 0.7041 MB / 0.5398 GB, free: 67.03 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001422/0.6063, allocations: 166.6 kB / 0.5399 GB, free: 66.89 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003988/0.6103, allocations: 3.153 MB / 0.543 GB, free: 63.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006121/0.611, allocations: 1.105 MB / 0.5441 GB, free: 63 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005307/0.6115, allocations: 126.4 kB / 0.5442 GB, free: 62.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002231/0.6118, allocations: 83.16 kB / 0.5443 GB, free: 62.83 MB / 378.7 MB Notification: Performance of SimCode: time 7.42e-07/0.6118, allocations: 0 / 0.5443 GB, free: 62.83 MB / 378.7 MB Notification: Performance of Templates: time 0.01946/0.6312, allocations: 10.62 MB / 0.5547 GB, free: 53.99 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_Modelica.Mechanics.Translational.Examples.Vehicle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches