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.0009563/0.0009567, allocations: 176.1 kB / 17.4 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.285/1.285, allocations: 223.3 MB / 241.4 MB, free: 9.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 102.3 kB / 292.6 MB, free: 10.56 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002805/0.0002806, allocations: 19.92 kB / 352.3 MB, free: 14.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2304, allocations: 50.4 MB / 402.7 MB, free: 32.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09897/0.3295, allocations: 86.04 MB / 488.8 MB, free: 10.26 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000322/0.3299, allocations: 84.45 kB / 488.9 MB, free: 10.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09737/0.4272, allocations: 22.15 MB / 0.499 GB, free: 3.957 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.346e-06/0.4273, allocations: 0 / 0.499 GB, free: 3.957 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001634/0.4275, allocations: 31.98 kB / 0.4991 GB, free: 3.926 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.003182/0.4307, allocations: 1.341 MB / 0.5004 GB, free: 2.531 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.4307, allocations: 11.97 kB / 0.5004 GB, free: 2.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004855/0.4312, allocations: 143.2 kB / 0.5005 GB, free: 2.379 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/0.4328, allocations: 0.7743 MB / 0.5013 GB, free: 1.562 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.477e-05/0.4329, allocations: 74.38 kB / 0.5014 GB, free: 1.488 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002321/0.4331, allocations: 104.3 kB / 0.5015 GB, free: 1.387 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00196/0.4351, allocations: 0.9084 MB / 0.5023 GB, free: 476 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.904e-05/0.4352, allocations: 19.78 kB / 0.5024 GB, free: 456 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.413e-05/0.4353, allocations: 40 kB / 0.5024 GB, free: 416 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.399e-05/0.4353, allocations: 28 kB / 0.5024 GB, free: 388 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1851/0.6204, allocations: 0.6407 MB / 0.5031 GB, free: 89.61 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005031/0.6255, allocations: 3.299 MB / 0.5063 GB, free: 88.8 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001365/0.6269, allocations: 0.6233 MB / 0.5069 GB, free: 88.76 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004613/0.6273, allocations: 309.8 kB / 0.5072 GB, free: 88.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.86e-05/0.6274, allocations: 11.72 kB / 0.5072 GB, free: 88.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006346/0.628, allocations: 346.5 kB / 0.5075 GB, free: 88.7 MB / 378.7 MB Notification: Performance of pre-optimization done (n=80): time 2.805e-06/0.6281, allocations: 0 / 0.5075 GB, free: 88.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=100): time 0.00511/0.6332, allocations: 3.081 MB / 0.5105 GB, free: 87.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.6332, allocations: 62.69 kB / 0.5106 GB, free: 87.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009599/0.6342, allocations: 0.9291 MB / 0.5115 GB, free: 87.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.363e-05/0.6342, allocations: 44.48 kB / 0.5115 GB, free: 87.72 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002744/0.6345, allocations: 0.517 MB / 0.512 GB, free: 87.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/0.6347, allocations: 345.3 kB / 0.5124 GB, free: 87.36 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.53e-05/0.6347, allocations: 17.94 kB / 0.5124 GB, free: 87.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.486e-05/0.6348, allocations: 345.2 kB / 0.5127 GB, free: 87.05 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004437/0.6353, allocations: 269.6 kB / 0.513 GB, free: 87.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005089/0.6358, allocations: 438.3 kB / 0.5134 GB, free: 86.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009705/0.6368, allocations: 0.7559 MB / 0.5141 GB, free: 86.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.6368, allocations: 0 / 0.5141 GB, free: 86.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001438/0.6382, allocations: 1.041 MB / 0.5151 GB, free: 85.99 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.6382, allocations: 9.906 kB / 0.5152 GB, free: 85.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/0.6383, allocations: 2.562 kB / 0.5152 GB, free: 85.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000371/0.6386, allocations: 146.9 kB / 0.5153 GB, free: 85.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006775/0.6393, allocations: 213.3 kB / 0.5155 GB, free: 85.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002404/0.6417, allocations: 3.61 MB / 0.519 GB, free: 82.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004073/0.6422, allocations: 31.31 kB / 0.5191 GB, free: 82.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.851e-05/0.6422, allocations: 38.62 kB / 0.5191 GB, free: 82.72 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.0003786/0.6426, allocations: 307.7 kB / 0.5194 GB, free: 82.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.6427, allocations: 109 kB / 0.5195 GB, free: 82.44 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001448/0.6442, allocations: 0.9755 MB / 0.5204 GB, free: 82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.6442, allocations: 11.56 kB / 0.5205 GB, free: 82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.6442, allocations: 3.875 kB / 0.5205 GB, free: 82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/0.6442, allocations: 7.031 kB / 0.5205 GB, free: 82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003054/0.6473, allocations: 2.593 MB / 0.523 GB, free: 80.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.6473, allocations: 5.594 kB / 0.523 GB, free: 80.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007091/0.648, allocations: 188.1 kB / 0.5232 GB, free: 80.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002959/0.6483, allocations: 121.9 kB / 0.5233 GB, free: 80.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-05/0.6484, allocations: 29.52 kB / 0.5233 GB, free: 80.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001958/0.6503, allocations: 3.286 MB / 0.5265 GB, free: 77.54 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.6503, allocations: 3.812 kB / 0.5265 GB, free: 77.54 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001847/0.6522, allocations: 1.465 MB / 0.528 GB, free: 76.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002915/0.6525, allocations: 264.3 kB / 0.5282 GB, free: 76.55 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.6526, allocations: 26.53 kB / 0.5282 GB, free: 76.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003794/0.653, allocations: 26.45 kB / 0.5283 GB, free: 76.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.6531, allocations: 76.7 kB / 0.5283 GB, free: 76.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.33e-05/0.6532, allocations: 38.06 kB / 0.5284 GB, free: 76.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006874/0.6539, allocations: 0.6535 MB / 0.529 GB, free: 76.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-07/0.6539, allocations: 0 / 0.529 GB, free: 76.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009091/0.6548, allocations: 274.9 kB / 0.5293 GB, free: 76.19 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.001011/0.6558, allocations: 465.8 kB / 0.5297 GB, free: 76.03 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001644/0.6575, allocations: 1.047 MB / 0.5308 GB, free: 75.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.6575, allocations: 0 / 0.5308 GB, free: 75.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007928/0.6583, allocations: 0.706 MB / 0.5314 GB, free: 75.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.6594, allocations: 163.2 kB / 0.5316 GB, free: 75.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003376/0.6628, allocations: 3.159 MB / 0.5347 GB, free: 72.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000446/0.6633, allocations: 1.111 MB / 0.5358 GB, free: 71.26 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004447/0.6637, allocations: 132.2 kB / 0.5359 GB, free: 71.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001786/0.6639, allocations: 76.47 kB / 0.536 GB, free: 71.09 MB / 378.7 MB Notification: Performance of SimCode: time 7.31e-07/0.6639, allocations: 0 / 0.536 GB, free: 71.09 MB / 378.7 MB Notification: Performance of Templates: time 0.0163/0.6802, allocations: 10.57 MB / 0.5463 GB, free: 63.56 MB / 378.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/jenkins1/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