Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001826/0.001826, allocations: 69.72 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002195/0.002195, allocations: 162.5 kB / 24.5 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.486/1.486, allocations: 177.2 MB / 204.9 MB, free: 8.988 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Vehicle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=6000,variableFilter="time|vehicle.s|vehicle.v|vehicle1.s|vehicle1.v|trailer.s|trailer.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle") translateModel(Modelica.Mechanics.Translational.Examples.Vehicle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=6000,variableFilter="time|vehicle.s|vehicle.v|vehicle1.s|vehicle1.v|trailer.s|trailer.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 51.86 kB / 325.6 MB, free: 464 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0919/0.09345, allocations: 53.34 MB / 378.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.007837/0.1013, allocations: 5.535 MB / 384.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00411/0.1054, allocations: 2.228 MB / 386.7 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004899/0.1059, allocations: 39.69 kB / 386.7 MB, free: 7.953 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007827/0.1067, allocations: 421.4 kB / 387.1 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001068/0.1077, allocations: 0.5007 MB / 387.6 MB, free: 7.035 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000938/0.1087, allocations: 0.4951 MB / 388.1 MB, free: 6.539 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001587/0.1103, allocations: 1.504 MB / 389.6 MB, free: 5.027 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006166/0.1109, allocations: 353.1 kB / 390 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007092/0.1116, allocations: 0.572 MB / 390.5 MB, free: 4.082 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007457/0.1123, allocations: 0.5948 MB / 391.1 MB, free: 3.484 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001765/0.1125, allocations: 136 kB / 391.3 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003025/0.1128, allocations: 183.9 kB / 391.4 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002805/0.1131, allocations: 306.9 kB / 391.7 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005077/0.1136, allocations: 0.5129 MB / 392.3 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001681/0.1153, allocations: 1.677 MB / 393.9 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.1153, allocations: 0 / 393.9 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1153, allocations: 0 / 393.9 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.233e-05/0.1153, allocations: 0 / 393.9 MB, free: 0.6719 MB / 350.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.002746/0.1181, allocations: 1.532 MB / 395.5 MB, free: 15.1 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.1181, allocations: 8.031 kB / 395.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003947/0.1185, allocations: 159.9 kB / 395.6 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/0.1197, allocations: 0.6977 MB / 396.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.681e-05/0.1198, allocations: 78.12 kB / 396.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001477/0.12, allocations: 108 kB / 396.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001581/0.1215, allocations: 0.9118 MB / 397.4 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.491e-05/0.1216, allocations: 11.95 kB / 397.4 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.989e-05/0.1217, allocations: 39.98 kB / 397.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.652e-05/0.1217, allocations: 24 kB / 397.5 MB, free: 13.03 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001307/0.123, allocations: 0.6441 MB / 398.1 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004399/0.1274, allocations: 2.603 MB / 400.7 MB, free: 9.699 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0014/0.1288, allocations: 0.5813 MB / 401.3 MB, free: 9.105 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005314/0.1293, allocations: 271.4 kB / 401.6 MB, free: 8.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.317e-05/0.1294, allocations: 12.64 kB / 401.6 MB, free: 8.828 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006679/0.13, allocations: 344.3 kB / 401.9 MB, free: 8.48 MB / 366.1 MB Notification: Performance of pre-optimization done (n=80): time 2.475e-06/0.13, allocations: 0 / 401.9 MB, free: 8.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.006131/0.1362, allocations: 2.947 MB / 404.9 MB, free: 5.492 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.1362, allocations: 60.41 kB / 404.9 MB, free: 5.422 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/0.1373, allocations: 0.8721 MB / 405.8 MB, free: 4.543 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.938e-05/0.1374, allocations: 49.7 kB / 405.9 MB, free: 4.488 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000542/0.138, allocations: 0.5281 MB / 406.4 MB, free: 3.953 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003555/0.1383, allocations: 368.9 kB / 406.7 MB, free: 3.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002505/0.1386, allocations: 158.7 kB / 406.9 MB, free: 3.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.1387, allocations: 345.9 kB / 407.2 MB, free: 3.086 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005789/0.1393, allocations: 273.8 kB / 407.5 MB, free: 2.816 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006989/0.14, allocations: 429.4 kB / 407.9 MB, free: 2.348 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001326/0.1413, allocations: 0.7483 MB / 408.7 MB, free: 1.551 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.1413, allocations: 0 / 408.7 MB, free: 1.551 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001974/0.1433, allocations: 1.033 MB / 409.7 MB, free: 0.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.1433, allocations: 8 kB / 409.7 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.1433, allocations: 0 / 409.7 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004481/0.1438, allocations: 149.6 kB / 409.9 MB, free: 348 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000791/0.1446, allocations: 212.1 kB / 410.1 MB, free: 136 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004034/0.1486, allocations: 3.697 MB / 413.8 MB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004845/0.1491, allocations: 31.98 kB / 413.8 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.986e-05/0.1492, allocations: 35.98 kB / 413.8 MB, free: 12.18 MB / 382.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 ($PRE.timeTableTorqueInclination.nextTimeEvent,$whenCondition1,timeTableTorqueInclination.nextTimeEventScaled,$PRE.timeTableTorqueInclination.nextTimeEventScaled,timeTableTorqueInclination.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004944/0.1497, allocations: 309.7 kB / 414.1 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/0.1498, allocations: 111.2 kB / 414.2 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001927/0.1517, allocations: 0.959 MB / 415.2 MB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.1518, allocations: 8 kB / 415.2 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.1518, allocations: 4 kB / 415.2 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.1518, allocations: 3.984 kB / 415.2 MB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003833/0.1556, allocations: 2.155 MB / 417.4 MB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/0.1556, allocations: 4 kB / 417.4 MB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007938/0.1564, allocations: 183.7 kB / 417.6 MB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003593/0.1568, allocations: 118 kB / 417.7 MB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.882e-05/0.1568, allocations: 31.98 kB / 417.7 MB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003269/0.1601, allocations: 3.333 MB / 421 MB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/0.1601, allocations: 7.938 kB / 421 MB, free: 4.641 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002441/0.1625, allocations: 1.439 MB / 422.5 MB, free: 3.141 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003528/0.1629, allocations: 171.4 kB / 422.6 MB, free: 2.973 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.163, allocations: 23.94 kB / 422.7 MB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004059/0.1634, allocations: 23.98 kB / 422.7 MB, free: 2.926 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.1635, allocations: 80.8 kB / 422.8 MB, free: 2.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.468e-05/0.1636, allocations: 35.98 kB / 422.8 MB, free: 2.812 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007749/0.1644, allocations: 0.6201 MB / 423.4 MB, free: 2.195 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1644, allocations: 0 / 423.4 MB, free: 2.195 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009146/0.1653, allocations: 243.9 kB / 423.7 MB, free: 1.957 MB / 382.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 (90): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001715/0.167, allocations: 491.6 kB / 424.1 MB, free: 1.656 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001893/0.1689, allocations: 1.01 MB / 425.2 MB, free: 0.6172 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.1689, allocations: 0 / 425.2 MB, free: 0.6172 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001087/0.17, allocations: 0.6753 MB / 425.8 MB, free: 15.92 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009104/0.1709, allocations: 167.4 kB / 426 MB, free: 15.76 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003997/0.1749, allocations: 2.605 MB / 428.6 MB, free: 13.08 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005828/0.1755, allocations: 0.5188 MB / 429.1 MB, free: 12.53 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003644/0.1758, allocations: 107.2 kB / 429.2 MB, free: 12.42 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001947/0.176, allocations: 72.48 kB / 429.3 MB, free: 12.35 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.176, allocations: 0 / 429.3 MB, free: 12.35 MB / 398.1 MB Notification: Performance of Templates: time 0.02176/0.1978, allocations: 10.99 MB / 440.3 MB, free: 1.496 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Vehicle/Vehicle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.248971809982322]