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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008417/0.0008418, allocations: 95.23 kB / 16.3 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008493/0.0008493, allocations: 182.9 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 223.2 MB / 241.1 MB, free: 5.379 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002793/0.0002793, allocations: 9.219 kB / 300.7 MB, free: 6.02 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09859/0.09888, allocations: 50.42 MB / 351.1 MB, free: 11.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.00567/0.1046, allocations: 5.068 MB / 356.2 MB, free: 6.633 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003872/0.1085, allocations: 2.085 MB / 358.3 MB, free: 4.543 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000641/0.1092, allocations: 27.88 kB / 358.3 MB, free: 4.516 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006486/0.1098, allocations: 318.5 kB / 358.6 MB, free: 4.203 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00106/0.1109, allocations: 498.5 kB / 359.1 MB, free: 3.715 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008591/0.1118, allocations: 363.2 kB / 359.5 MB, free: 3.359 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001298/0.1131, allocations: 0.9719 MB / 360.4 MB, free: 2.387 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005469/0.1136, allocations: 386.9 kB / 360.8 MB, free: 1.992 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005691/0.1142, allocations: 450.1 kB / 361.3 MB, free: 1.551 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005436/0.1148, allocations: 0.4978 MB / 361.8 MB, free: 1.051 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.961e-05/0.1149, allocations: 55.94 kB / 361.8 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002154/0.1151, allocations: 79.92 kB / 361.9 MB, free: 0.918 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001721/0.1153, allocations: 215.1 kB / 362.1 MB, free: 0.707 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002127/0.1155, allocations: 249 kB / 362.3 MB, free: 468 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001136/0.1166, allocations: 1.231 MB / 363.6 MB, free: 15.22 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1166, allocations: 0 / 363.6 MB, free: 15.22 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1167, allocations: 4 kB / 363.6 MB, free: 15.22 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.036e-05/0.1167, allocations: 0 / 363.6 MB, free: 15.22 MB / 302.1 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.0024/0.1191, allocations: 1.344 MB / 364.9 MB, free: 13.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.1191, allocations: 12.03 kB / 364.9 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000206/0.1193, allocations: 142.2 kB / 365.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/0.1204, allocations: 0.7075 MB / 365.8 MB, free: 12.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.74e-05/0.1205, allocations: 74 kB / 365.8 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001543/0.1207, allocations: 107.9 kB / 366 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001588/0.1223, allocations: 0.9 MB / 366.9 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.424e-05/0.1223, allocations: 15.89 kB / 366.9 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.149e-05/0.1224, allocations: 40 kB / 366.9 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.522e-05/0.1225, allocations: 24 kB / 366.9 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001209/0.1237, allocations: 0.6363 MB / 367.6 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004838/0.1285, allocations: 3.24 MB / 370.8 MB, free: 7.742 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001329/0.1299, allocations: 0.6161 MB / 371.4 MB, free: 7.117 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.501e-05/0.1299, allocations: 12.64 kB / 371.4 MB, free: 7.105 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006696/0.1306, allocations: 348.3 kB / 371.8 MB, free: 6.754 MB / 302.1 MB Notification: Performance of pre-optimization done (n=80): time 3.226e-06/0.1306, allocations: 0 / 371.8 MB, free: 6.754 MB / 302.1 MB Notification: Performance of matching and sorting (n=100): time 0.00583/0.1365, allocations: 3.07 MB / 374.8 MB, free: 3.613 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.079e-05/0.1365, allocations: 64.41 kB / 374.9 MB, free: 3.539 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.1377, allocations: 0.9273 MB / 375.8 MB, free: 2.602 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.937e-05/0.1378, allocations: 45.64 kB / 375.9 MB, free: 2.551 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004038/0.1382, allocations: 0.5079 MB / 376.4 MB, free: 2.035 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002454/0.1384, allocations: 346.9 kB / 376.7 MB, free: 1.691 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.135e-05/0.1385, allocations: 24 kB / 376.7 MB, free: 1.668 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1386, allocations: 345.9 kB / 377.1 MB, free: 1.324 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004955/0.1391, allocations: 265.9 kB / 377.3 MB, free: 1.062 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005932/0.1397, allocations: 429.4 kB / 377.8 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005755/0.1403, allocations: 327 kB / 378.1 MB, free: 284 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.1403, allocations: 4 kB / 378.1 MB, free: 280 kB / 302.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00172/0.142, allocations: 1.032 MB / 379.1 MB, free: 15.22 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.1421, allocations: 8 kB / 379.1 MB, free: 15.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.1421, allocations: 4 kB / 379.1 MB, free: 15.21 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004326/0.1425, allocations: 150 kB / 379.3 MB, free: 15.05 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007472/0.1433, allocations: 211.7 kB / 379.5 MB, free: 14.85 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003308/0.1466, allocations: 3.642 MB / 383.1 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004969/0.1471, allocations: 31.98 kB / 383.2 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.217e-05/0.1472, allocations: 40.05 kB / 383.2 MB, free: 10.88 MB / 318.1 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.0004877/0.1477, allocations: 303.7 kB / 383.5 MB, free: 10.57 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.1478, allocations: 106.7 kB / 383.6 MB, free: 10.46 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001751/0.1496, allocations: 0.9595 MB / 384.6 MB, free: 9.492 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.454e-05/0.1496, allocations: 12 kB / 384.6 MB, free: 9.48 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1496, allocations: 0 / 384.6 MB, free: 9.48 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.1496, allocations: 11.94 kB / 384.6 MB, free: 9.469 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003668/0.1533, allocations: 2.51 MB / 387.1 MB, free: 6.84 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.1533, allocations: 4 kB / 387.1 MB, free: 6.836 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007576/0.1541, allocations: 179.8 kB / 387.3 MB, free: 6.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003581/0.1545, allocations: 125.6 kB / 387.4 MB, free: 6.531 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.046e-05/0.1545, allocations: 28.19 kB / 387.4 MB, free: 6.504 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002853/0.1574, allocations: 3.326 MB / 390.7 MB, free: 2.91 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.1574, allocations: 11.89 kB / 390.8 MB, free: 2.898 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002278/0.1597, allocations: 1.564 MB / 392.3 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003404/0.1601, allocations: 247.6 kB / 392.6 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.1602, allocations: 28 kB / 392.6 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000403/0.1606, allocations: 31.98 kB / 392.6 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/0.1608, allocations: 72.94 kB / 392.7 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.803e-05/0.1608, allocations: 31.98 kB / 392.7 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007942/0.1616, allocations: 0.663 MB / 393.4 MB, free: 124 kB / 318.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1616, allocations: 0 / 393.4 MB, free: 124 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009276/0.1626, allocations: 244 kB / 393.6 MB, free: 15.88 MB / 334.1 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 (88): * Single equations (assignments): 84 * 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.0009891/0.1636, allocations: 439.9 kB / 394.1 MB, free: 15.6 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001762/0.1653, allocations: 1.026 MB / 395.1 MB, free: 14.55 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.1654, allocations: 8 kB / 395.1 MB, free: 14.54 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009711/0.1663, allocations: 0.6941 MB / 395.8 MB, free: 13.82 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007444/0.1671, allocations: 150.3 kB / 395.9 MB, free: 13.68 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003854/0.171, allocations: 3.104 MB / 399 MB, free: 10.51 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006078/0.1716, allocations: 1.132 MB / 400.2 MB, free: 9.352 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003859/0.172, allocations: 119.5 kB / 400.3 MB, free: 9.23 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001767/0.1722, allocations: 75.42 kB / 400.4 MB, free: 9.156 MB / 334.1 MB Notification: Performance of SimCode: time 2.225e-06/0.1722, allocations: 0 / 400.4 MB, free: 9.156 MB / 334.1 MB Notification: Performance of Templates: time 0.01747/0.1896, allocations: 9.991 MB / 410.3 MB, free: 15.23 MB / 350.1 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