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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 119.5 kB / 18.41 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001582/0.001583, allocations: 192.3 kB / 21.35 MB, free: 1.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 222.9 MB / 247 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] 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=6000,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=6000,variableFilter="time|vehicle.s|vehicle.v|vehicle1.s|vehicle1.v|trailer.s|trailer.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 47.92 kB / 358.7 MB, free: 8.387 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1085, allocations: 49.44 MB / 408.1 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.008145/0.1167, allocations: 6.222 MB / 414.3 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005064/0.1218, allocations: 2.142 MB / 416.5 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008318/0.1227, allocations: 31.81 kB / 416.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009323/0.1236, allocations: 425.4 kB / 416.9 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001121/0.1248, allocations: 456.9 kB / 417.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001202/0.126, allocations: 0.5069 MB / 417.9 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001964/0.128, allocations: 1.488 MB / 419.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008439/0.1288, allocations: 0.5551 MB / 419.9 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007546/0.1296, allocations: 0.5487 MB / 420.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008036/0.1304, allocations: 0.6417 MB / 421.1 MB, free: 9.836 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001768/0.1306, allocations: 128 kB / 421.2 MB, free: 9.711 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003246/0.1309, allocations: 176 kB / 421.4 MB, free: 9.539 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002982/0.1312, allocations: 314.8 kB / 421.7 MB, free: 9.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006218/0.1319, allocations: 0.6372 MB / 422.3 MB, free: 8.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001973/0.1339, allocations: 1.642 MB / 424 MB, free: 6.941 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.1339, allocations: 0 / 424 MB, free: 6.941 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.476e-06/0.1339, allocations: 4 kB / 424 MB, free: 6.938 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.708e-05/0.1339, allocations: 0 / 424 MB, free: 6.938 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.002818/0.1367, allocations: 1.596 MB / 425.6 MB, free: 5.281 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.1368, allocations: 11.89 kB / 425.6 MB, free: 5.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002247/0.137, allocations: 152 kB / 425.7 MB, free: 5.121 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/0.1382, allocations: 0.7634 MB / 426.5 MB, free: 4.316 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.14e-05/0.1383, allocations: 82.06 kB / 426.6 MB, free: 4.238 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/0.1385, allocations: 104 kB / 426.7 MB, free: 4.137 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001628/0.1401, allocations: 0.9157 MB / 427.6 MB, free: 3.203 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.435e-05/0.1402, allocations: 7.953 kB / 427.6 MB, free: 3.195 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.148e-05/0.1403, allocations: 40 kB / 427.6 MB, free: 3.156 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.653e-05/0.1403, allocations: 24 kB / 427.7 MB, free: 3.133 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001286/0.1416, allocations: 0.6324 MB / 428.3 MB, free: 2.504 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.204/0.3456, allocations: 3.22 MB / 431.5 MB, free: 20.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001229/0.3468, allocations: 0.612 MB / 432.1 MB, free: 20.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004607/0.3473, allocations: 292.1 kB / 432.4 MB, free: 20.76 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.265e-05/0.3474, allocations: 14.83 kB / 432.4 MB, free: 20.76 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000586/0.348, allocations: 344.5 kB / 432.8 MB, free: 20.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=80): time 3.406e-06/0.348, allocations: 0 / 432.8 MB, free: 20.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.005901/0.3539, allocations: 3.088 MB / 435.9 MB, free: 20.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.354, allocations: 65.69 kB / 435.9 MB, free: 19.97 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001356/0.3553, allocations: 0.9346 MB / 436.9 MB, free: 19.85 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.976e-05/0.3554, allocations: 44.08 kB / 436.9 MB, free: 19.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003996/0.3558, allocations: 0.516 MB / 437.4 MB, free: 19.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002227/0.356, allocations: 364.9 kB / 437.8 MB, free: 19.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002275/0.3563, allocations: 164 kB / 437.9 MB, free: 19.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.635e-05/0.3563, allocations: 345.4 kB / 438.3 MB, free: 19.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005305/0.3569, allocations: 273.6 kB / 438.5 MB, free: 19.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006115/0.3575, allocations: 423.8 kB / 438.9 MB, free: 18.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.3586, allocations: 0.7486 MB / 439.7 MB, free: 18.83 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.3586, allocations: 2.188 kB / 439.7 MB, free: 18.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00185/0.3605, allocations: 1.032 MB / 440.7 MB, free: 18.69 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/0.3606, allocations: 10.92 kB / 440.7 MB, free: 18.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.3606, allocations: 4.094 kB / 440.7 MB, free: 18.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004587/0.361, allocations: 144.4 kB / 440.9 MB, free: 18.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007243/0.3618, allocations: 209.1 kB / 441.1 MB, free: 18.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003069/0.3648, allocations: 3.987 MB / 445.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005961/0.3655, allocations: 28.41 kB / 445.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.485e-05/0.3655, allocations: 48.42 kB / 445.2 MB, free: 15.64 MB / 350.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.0005124/0.3661, allocations: 302.7 kB / 445.4 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/0.3662, allocations: 109.7 kB / 445.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001766/0.368, allocations: 0.9535 MB / 446.5 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.368, allocations: 9.969 kB / 446.5 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.368, allocations: 7.188 kB / 446.5 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-05/0.368, allocations: 4.828 kB / 446.5 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004061/0.3721, allocations: 2.474 MB / 449 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/0.3721, allocations: 6.969 kB / 449 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007688/0.3729, allocations: 183.3 kB / 449.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003481/0.3733, allocations: 119.7 kB / 449.3 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.341e-05/0.3733, allocations: 25.41 kB / 449.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002392/0.3757, allocations: 3.611 MB / 452.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.3757, allocations: 2.844 kB / 452.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002273/0.378, allocations: 1.438 MB / 454.4 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003526/0.3784, allocations: 242.9 kB / 454.6 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/0.3785, allocations: 26.92 kB / 454.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003896/0.3789, allocations: 22.69 kB / 454.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001667/0.3791, allocations: 79.44 kB / 454.7 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.826e-05/0.3792, allocations: 30.44 kB / 454.8 MB, free: 9.523 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008272/0.38, allocations: 0.6638 MB / 455.4 MB, free: 9.262 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.42e-07/0.38, allocations: 96 / 455.4 MB, free: 9.262 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001029/0.381, allocations: 247.8 kB / 455.7 MB, free: 9.227 MB / 350.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 (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.001498/0.3825, allocations: 465.5 kB / 456.1 MB, free: 9.062 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002039/0.3846, allocations: 1.051 MB / 457.2 MB, free: 8.523 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.3846, allocations: 1.156 kB / 457.2 MB, free: 8.523 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.3856, allocations: 0.6933 MB / 457.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.3867, allocations: 179.6 kB / 458.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004017/0.3907, allocations: 2.661 MB / 460.7 MB, free: 6.445 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007568/0.3915, allocations: 1.104 MB / 461.8 MB, free: 5.719 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002624/0.3918, allocations: 80.34 kB / 461.9 MB, free: 5.707 MB / 350.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3918, allocations: 0 / 461.9 MB, free: 5.707 MB / 350.1 MB Notification: Performance of Templates: time 0.02998/0.4218, allocations: 23.05 MB / 485 MB, free: 2.316 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Vehicle/Vehicle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 9.50460839504376]