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.001609/0.001609, allocations: 119.9 kB / 18.45 MB, free: 4.562 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.00176/0.00176, allocations: 189.2 kB / 21.4 MB, free: 1.629 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.506/1.506, allocations: 225.6 MB / 249.8 MB, free: 3.582 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.002143/0.002143, allocations: 51.92 kB / 366.8 MB, free: 312 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1363, allocations: 52.13 MB / 418.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.008627/0.1449, allocations: 6.267 MB / 425.2 MB, free: 5.781 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005094/0.15, allocations: 2.154 MB / 427.4 MB, free: 3.621 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001662/0.1517, allocations: 31.88 kB / 427.4 MB, free: 3.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001294/0.153, allocations: 425.3 kB / 427.8 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001918/0.1549, allocations: 468.9 kB / 428.3 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001391/0.1563, allocations: 0.5185 MB / 428.8 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002037/0.1583, allocations: 1.488 MB / 430.3 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006528/0.159, allocations: 372.6 kB / 430.6 MB, free: 320 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008417/0.1598, allocations: 0.5565 MB / 431.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008271/0.1607, allocations: 0.6651 MB / 431.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001821/0.1608, allocations: 128 kB / 432 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003264/0.1612, allocations: 176 kB / 432.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003019/0.1615, allocations: 302.9 kB / 432.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006414/0.1621, allocations: 0.645 MB / 433.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001902/0.164, allocations: 1.649 MB / 434.7 MB, free: 12.19 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.164, allocations: 0 / 434.7 MB, free: 12.19 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.164, allocations: 0 / 434.7 MB, free: 12.19 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.907e-05/0.164, allocations: 4 kB / 434.7 MB, free: 12.18 MB / 366.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.002939/0.167, allocations: 1.588 MB / 436.3 MB, free: 10.54 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.167, allocations: 11.89 kB / 436.3 MB, free: 10.52 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002483/0.1673, allocations: 152 kB / 436.5 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/0.1686, allocations: 0.7751 MB / 437.3 MB, free: 9.559 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.865e-05/0.1687, allocations: 74.12 kB / 437.3 MB, free: 9.488 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001638/0.1688, allocations: 108 kB / 437.5 MB, free: 9.383 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001704/0.1705, allocations: 0.9195 MB / 438.4 MB, free: 8.445 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.146e-05/0.1706, allocations: 7.891 kB / 438.4 MB, free: 8.438 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.5e-05/0.1707, allocations: 44 kB / 438.4 MB, free: 8.395 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.722e-05/0.1707, allocations: 24 kB / 438.4 MB, free: 8.371 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001308/0.172, allocations: 0.6286 MB / 439.1 MB, free: 7.746 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005088/0.1771, allocations: 3.206 MB / 442.3 MB, free: 4.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/0.1785, allocations: 0.5765 MB / 442.9 MB, free: 3.824 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005285/0.179, allocations: 263.4 kB / 443.1 MB, free: 3.566 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.583e-05/0.1791, allocations: 16.64 kB / 443.1 MB, free: 3.551 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007049/0.1798, allocations: 344.3 kB / 443.5 MB, free: 3.203 MB / 366.1 MB Notification: Performance of pre-optimization done (n=80): time 1.19e-05/0.1798, allocations: 3.938 kB / 443.5 MB, free: 3.199 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.006545/0.1863, allocations: 3.083 MB / 446.6 MB, free: 36 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2336/0.42, allocations: 65.34 kB / 446.6 MB, free: 30.51 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001417/0.4214, allocations: 0.9315 MB / 447.5 MB, free: 30.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002006/0.4216, allocations: 40.83 kB / 447.6 MB, free: 30.36 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004365/0.422, allocations: 0.5162 MB / 448.1 MB, free: 30.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003044/0.4223, allocations: 364.6 kB / 448.5 MB, free: 30.17 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002697/0.4226, allocations: 162.3 kB / 448.6 MB, free: 30.15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.4227, allocations: 348.5 kB / 449 MB, free: 29.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005722/0.4233, allocations: 270.3 kB / 449.2 MB, free: 29.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006256/0.4239, allocations: 425.6 kB / 449.6 MB, free: 29.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001271/0.4252, allocations: 0.7535 MB / 450.4 MB, free: 29.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.4252, allocations: 0.5 kB / 450.4 MB, free: 29.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002022/0.4272, allocations: 1.02 MB / 451.4 MB, free: 29.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/0.4272, allocations: 6.156 kB / 451.4 MB, free: 29.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.4272, allocations: 4.938 kB / 451.4 MB, free: 29.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006203/0.4279, allocations: 146.1 kB / 451.6 MB, free: 29.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007938/0.4287, allocations: 213.4 kB / 451.8 MB, free: 29.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00451/0.4332, allocations: 3.984 MB / 455.8 MB, free: 25.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007831/0.434, allocations: 29.3 kB / 455.8 MB, free: 25.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.229e-05/0.434, allocations: 39.95 kB / 455.8 MB, free: 25.57 MB / 366.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.0005951/0.4346, allocations: 308 kB / 456.1 MB, free: 25.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00017/0.4348, allocations: 109.6 kB / 456.2 MB, free: 25.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002451/0.4372, allocations: 0.9507 MB / 457.2 MB, free: 24.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.456e-05/0.4373, allocations: 12.22 kB / 457.2 MB, free: 24.87 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.4373, allocations: 4.375 kB / 457.2 MB, free: 24.87 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.862e-05/0.4373, allocations: 7.203 kB / 457.2 MB, free: 24.87 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00453/0.4418, allocations: 2.48 MB / 459.7 MB, free: 23.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.145e-05/0.4418, allocations: 4.266 kB / 459.7 MB, free: 23.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008262/0.4427, allocations: 178.7 kB / 459.9 MB, free: 23.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004225/0.4431, allocations: 126.7 kB / 460 MB, free: 23.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.493e-05/0.4432, allocations: 25.56 kB / 460 MB, free: 23.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002909/0.4461, allocations: 3.598 MB / 463.6 MB, free: 20.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.213e-06/0.4461, allocations: 4.219 kB / 463.6 MB, free: 20.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002513/0.4486, allocations: 1.434 MB / 465.1 MB, free: 19.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004148/0.449, allocations: 248.8 kB / 465.3 MB, free: 19.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/0.4491, allocations: 25.12 kB / 465.3 MB, free: 19.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004107/0.4495, allocations: 27.42 kB / 465.3 MB, free: 19.17 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002201/0.4497, allocations: 76.03 kB / 465.4 MB, free: 19.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.93e-05/0.4498, allocations: 33.69 kB / 465.5 MB, free: 19.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001005/0.4508, allocations: 0.6634 MB / 466.1 MB, free: 18.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4508, allocations: 1.344 kB / 466.1 MB, free: 18.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001186/0.452, allocations: 241.4 kB / 466.4 MB, free: 18.85 MB / 366.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.00164/0.4536, allocations: 455.8 kB / 466.8 MB, free: 18.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002061/0.4557, allocations: 1.01 MB / 467.8 MB, free: 18.17 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.4557, allocations: 0 / 467.8 MB, free: 18.17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001085/0.4568, allocations: 0.6748 MB / 468.5 MB, free: 17.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/0.4579, allocations: 182.9 kB / 468.7 MB, free: 17.69 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004593/0.4625, allocations: 2.658 MB / 471.3 MB, free: 16.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008623/0.4634, allocations: 1.095 MB / 472.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003358/0.4637, allocations: 89.48 kB / 472.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of SimCode: time 1.443e-06/0.4637, allocations: 0 / 472.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of Templates: time 0.03053/0.4943, allocations: 23.17 MB / 495.7 MB, free: 15.91 MB / 382.1 MB " [Timeout remaining time 659] 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.516667776973918]