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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0016/0.0016, allocations: 187.1 kB / 8.133 MB, free: 2.207 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.339/1.339, allocations: 221.4 MB / 229.9 MB, free: 3.012 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.000976/0.0009761, allocations: 97.66 kB / 280.8 MB, free: 1.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.626e-06/8.656e-06, allocations: 0 / 336.5 MB, free: 9.535 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.2988, allocations: 50.39 MB / 386.9 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1142/0.413, allocations: 85.16 MB / 472.1 MB, free: 1.668 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/0.4133, allocations: 75.91 kB / 472.1 MB, free: 1.594 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.05926/0.4725, allocations: 21.6 MB / 493.7 MB, free: 11.99 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.808e-05/0.4727, allocations: 31.98 kB / 493.8 MB, free: 11.96 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.002223/0.4749, allocations: 1.213 MB / 495 MB, free: 10.7 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.475, allocations: 8.031 kB / 495 MB, free: 10.69 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002405/0.4752, allocations: 150.2 kB / 495.1 MB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/0.4765, allocations: 0.7347 MB / 495.9 MB, free: 9.762 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.757e-05/0.4765, allocations: 32 kB / 495.9 MB, free: 9.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/0.4767, allocations: 63.91 kB / 496 MB, free: 9.668 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001118/0.4778, allocations: 0.5584 MB / 496.5 MB, free: 9.109 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/0.4791, allocations: 0.7401 MB / 497.3 MB, free: 8.355 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.66e-05/0.4792, allocations: 11.89 kB / 497.3 MB, free: 8.344 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.43e-05/0.4792, allocations: 4 kB / 497.3 MB, free: 8.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.696e-05/0.4793, allocations: 24 kB / 497.3 MB, free: 8.316 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004876/0.4842, allocations: 3.108 MB / 0.4887 GB, free: 5.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000938/0.4851, allocations: 434.9 kB / 0.4891 GB, free: 4.656 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00043/0.4856, allocations: 262.8 kB / 0.4894 GB, free: 4.398 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.51e-05/0.4856, allocations: 16.64 kB / 0.4894 GB, free: 4.383 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005163/0.4862, allocations: 303.1 kB / 0.4897 GB, free: 4.074 MB / 378.7 MB Notification: Performance of pre-optimization done (n=80): time 2.996e-06/0.4862, allocations: 0 / 0.4897 GB, free: 4.074 MB / 378.7 MB Notification: Performance of matching and sorting (n=100): time 0.004919/0.4911, allocations: 2.495 MB / 0.4921 GB, free: 1.496 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.4912, allocations: 64.39 kB / 0.4922 GB, free: 1.422 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001053/0.4922, allocations: 0.7113 MB / 0.4928 GB, free: 0.7031 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.015e-05/0.4923, allocations: 29.64 kB / 0.4929 GB, free: 0.668 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002991/0.4926, allocations: 387.8 kB / 0.4932 GB, free: 288 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.1555/0.6481, allocations: 335.5 kB / 0.4936 GB, free: 127.2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.497e-05/0.6482, allocations: 0 / 0.4936 GB, free: 127.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.528e-05/0.6483, allocations: 343.1 kB / 0.4939 GB, free: 126.9 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004191/0.6487, allocations: 232.8 kB / 0.4941 GB, free: 126.9 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004259/0.6492, allocations: 385.5 kB / 0.4945 GB, free: 126.8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004826/0.6497, allocations: 302.1 kB / 0.4948 GB, free: 126.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.6497, allocations: 3.938 kB / 0.4948 GB, free: 126.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001556/0.6512, allocations: 0.8987 MB / 0.4957 GB, free: 126.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.258e-05/0.6513, allocations: 3.719 kB / 0.4957 GB, free: 126.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.6513, allocations: 3.938 kB / 0.4957 GB, free: 126.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004583/0.6518, allocations: 138.7 kB / 0.4958 GB, free: 126.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008176/0.6526, allocations: 212.5 kB / 0.496 GB, free: 126.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002914/0.6555, allocations: 3.342 MB / 0.4993 GB, free: 124.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006433/0.6562, allocations: 13.75 kB / 0.4993 GB, free: 124.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.029e-05/0.6562, allocations: 39.05 kB / 0.4993 GB, free: 124.3 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.0001656/0.6564, allocations: 132.8 kB / 0.4994 GB, free: 124.2 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.6565, allocations: 96.16 kB / 0.4995 GB, free: 124.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001501/0.6581, allocations: 0.8448 MB / 0.5004 GB, free: 124.1 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.6581, allocations: 10.72 kB / 0.5004 GB, free: 124.1 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.6581, allocations: 6.547 kB / 0.5004 GB, free: 124.1 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.6581, allocations: 3.75 kB / 0.5004 GB, free: 124.1 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003826/0.6619, allocations: 2.322 MB / 0.5026 GB, free: 123.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.275e-06/0.662, allocations: 2.75 kB / 0.5026 GB, free: 123.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008462/0.6628, allocations: 189.5 kB / 0.5028 GB, free: 123.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003572/0.6632, allocations: 114.6 kB / 0.5029 GB, free: 123.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.178e-05/0.6633, allocations: 14.34 kB / 0.5029 GB, free: 123.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002382/0.6657, allocations: 3.133 MB / 0.506 GB, free: 121.1 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.6657, allocations: 7.094 kB / 0.506 GB, free: 121.1 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001854/0.6676, allocations: 1.459 MB / 0.5074 GB, free: 120.6 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003414/0.6679, allocations: 250.1 kB / 0.5077 GB, free: 120.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/0.668, allocations: 8 kB / 0.5077 GB, free: 120.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004459/0.6685, allocations: 13.27 kB / 0.5077 GB, free: 120.4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/0.6686, allocations: 67.11 kB / 0.5078 GB, free: 120.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.395e-05/0.6687, allocations: 29.38 kB / 0.5078 GB, free: 120.4 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0006538/0.6694, allocations: 0.5555 MB / 0.5083 GB, free: 120.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008759/0.6702, allocations: 230.4 kB / 0.5086 GB, free: 120.3 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) * 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.0007237/0.671, allocations: 339.3 kB / 0.5089 GB, free: 120.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001345/0.6723, allocations: 0.9067 MB / 0.5098 GB, free: 120 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.6723, allocations: 3.656 kB / 0.5098 GB, free: 120 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007609/0.6731, allocations: 0.6137 MB / 0.5104 GB, free: 119.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007675/0.6739, allocations: 128.2 kB / 0.5105 GB, free: 119.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003685/0.6776, allocations: 2.101 MB / 0.5125 GB, free: 119 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007774/0.6784, allocations: 1.204 MB / 0.5137 GB, free: 118.3 MB / 378.7 MB Notification: Performance of SimCode: time 1.032e-06/0.6784, allocations: 3.906 kB / 0.5137 GB, free: 118.3 MB / 378.7 MB Notification: Performance of Templates: time 0.02356/0.702, allocations: 10.53 MB / 0.524 GB, free: 117.8 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/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