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.0009326/0.0009326, allocations: 82.17 kB / 21.42 MB, free: 3.078 MB / 18.57 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.0009279/0.0009279, allocations: 149.7 kB / 24.81 MB, free: 8.777 MB / 18.57 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.016/1.016, allocations: 173.3 MB / 201.4 MB, free: 9.227 MB / 186.7 MB " [Timeout remaining time 179] 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 2.064e-06/2.064e-06, allocations: 0 / 268.4 MB, free: 6.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.513e-05/2.719e-05, allocations: 10.25 kB / 268.4 MB, free: 6.211 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.007866/0.007894, allocations: 5.929 MB / 274.3 MB, free: 256 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004479/0.01237, allocations: 2.122 MB / 276.5 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007026/0.01308, allocations: 39.69 kB / 276.5 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007065/0.01378, allocations: 425.2 kB / 276.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009336/0.01472, allocations: 488.5 kB / 277.4 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007647/0.01548, allocations: 0.5261 MB / 277.9 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001182/0.01666, allocations: 1.534 MB / 279.4 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004321/0.01709, allocations: 345.1 kB / 279.8 MB, free: 10.76 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007121/0.01781, allocations: 0.8223 MB / 280.6 MB, free: 9.934 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004848/0.01829, allocations: 0.5336 MB / 281.1 MB, free: 9.398 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001252/0.01842, allocations: 128 kB / 281.3 MB, free: 9.273 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002289/0.01864, allocations: 167.9 kB / 281.4 MB, free: 9.109 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00018/0.01883, allocations: 306.8 kB / 281.7 MB, free: 8.809 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002953/0.01912, allocations: 426.8 kB / 282.1 MB, free: 8.391 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001123/0.02024, allocations: 0.9611 MB / 283.1 MB, free: 7.426 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.02025, allocations: 0 / 283.1 MB, free: 7.426 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.02025, allocations: 7.938 kB / 283.1 MB, free: 7.418 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.02026, allocations: 0 / 283.1 MB, free: 7.418 MB / 266.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.001639/0.0219, allocations: 1.624 MB / 284.7 MB, free: 5.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.02194, allocations: 12.03 kB / 284.7 MB, free: 5.738 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001972/0.02213, allocations: 232 kB / 285 MB, free: 5.512 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006865/0.02282, allocations: 0.7029 MB / 285.7 MB, free: 4.777 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.533e-05/0.02288, allocations: 74.38 kB / 285.8 MB, free: 4.703 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.549e-05/0.02297, allocations: 104.3 kB / 285.9 MB, free: 4.602 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009096/0.02388, allocations: 0.6628 MB / 286.5 MB, free: 3.918 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.777e-05/0.02392, allocations: 11.94 kB / 286.5 MB, free: 3.906 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.263e-05/0.02398, allocations: 36 kB / 286.6 MB, free: 3.871 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.919e-05/0.024, allocations: 24 kB / 286.6 MB, free: 3.848 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004999/0.0245, allocations: 309.6 kB / 286.9 MB, free: 3.543 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003197/0.0277, allocations: 2.502 MB / 289.4 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009362/0.02863, allocations: 399.6 kB / 289.8 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002012/0.02883, allocations: 141.5 kB / 289.9 MB, free: 428 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.136e-05/0.02888, allocations: 20.66 kB / 289.9 MB, free: 408 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003114/0.02919, allocations: 222 kB / 290.2 MB, free: 172 kB / 266.7 MB Notification: Performance of pre-optimization done (n=80): time 2.805e-06/0.02919, allocations: 4 kB / 290.2 MB, free: 168 kB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.1325/0.1617, allocations: 1.96 MB / 292.1 MB, free: 28.14 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.1617, allocations: 63.66 kB / 292.2 MB, free: 28.07 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000669/0.1624, allocations: 0.7457 MB / 292.9 MB, free: 27.89 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.621e-05/0.1624, allocations: 41.77 kB / 293 MB, free: 27.86 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002968/0.1627, allocations: 0.599 MB / 293.6 MB, free: 27.61 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001684/0.1629, allocations: 366.4 kB / 293.9 MB, free: 27.42 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001639/0.163, allocations: 180.4 kB / 294.1 MB, free: 27.39 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.058e-05/0.1631, allocations: 0.5141 MB / 294.6 MB, free: 26.91 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001702/0.1633, allocations: 105.1 kB / 294.7 MB, free: 26.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002645/0.1635, allocations: 377.5 kB / 295.1 MB, free: 26.62 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005229/0.1641, allocations: 0.5421 MB / 295.6 MB, free: 26.34 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.1641, allocations: 2.375 kB / 295.6 MB, free: 26.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.0009114/0.165, allocations: 0.7634 MB / 296.4 MB, free: 26.19 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.165, allocations: 16.28 kB / 296.4 MB, free: 26.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.165, allocations: 5.531 kB / 296.4 MB, free: 26.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002715/0.1653, allocations: 125.9 kB / 296.5 MB, free: 26.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004631/0.1657, allocations: 204.4 kB / 296.7 MB, free: 26.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001833/0.1676, allocations: 4.472 MB / 301.2 MB, free: 22.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002554/0.1678, allocations: 32.27 kB / 301.2 MB, free: 22.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.931e-05/0.1679, allocations: 28.39 kB / 301.3 MB, free: 22.29 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (114): * Single equations (assignments): 112 * 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.0001798/0.168, allocations: 225.7 kB / 301.5 MB, free: 22.12 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.1682, allocations: 140.3 kB / 301.6 MB, free: 22.06 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007807/0.1689, allocations: 0.6505 MB / 302.3 MB, free: 21.96 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.1689, allocations: 10.83 kB / 302.3 MB, free: 21.96 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.169, allocations: 7.594 kB / 302.3 MB, free: 21.96 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.169, allocations: 4.734 kB / 302.3 MB, free: 21.96 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001927/0.1709, allocations: 1.723 MB / 304 MB, free: 21.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.75e-06/0.1709, allocations: 4.172 kB / 304 MB, free: 21.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003921/0.1713, allocations: 176.1 kB / 304.2 MB, free: 21.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001957/0.1715, allocations: 97.36 kB / 304.3 MB, free: 21.41 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.68e-05/0.1715, allocations: 32.27 kB / 304.3 MB, free: 21.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001243/0.1728, allocations: 4.066 MB / 308.4 MB, free: 17.61 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1728, allocations: 9.531 kB / 308.4 MB, free: 17.61 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009294/0.1737, allocations: 1.056 MB / 309.5 MB, free: 17.04 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001737/0.1739, allocations: 158.5 kB / 309.6 MB, free: 16.95 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.845e-05/0.1739, allocations: 29.89 kB / 309.6 MB, free: 16.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001894/0.1741, allocations: 23.31 kB / 309.7 MB, free: 16.91 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.1742, allocations: 90 kB / 309.8 MB, free: 16.89 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.225e-05/0.1743, allocations: 21.23 kB / 309.8 MB, free: 16.89 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002908/0.1745, allocations: 471.6 kB / 310.2 MB, free: 16.73 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1745, allocations: 0 / 310.2 MB, free: 16.73 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006743/0.1752, allocations: 244.8 kB / 310.5 MB, free: 16.7 MB / 266.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) * 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.0009316/0.1762, allocations: 423.4 kB / 310.9 MB, free: 16.55 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000713/0.1769, allocations: 0.8912 MB / 311.8 MB, free: 16.06 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1769, allocations: 1.188 kB / 311.8 MB, free: 16.06 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003638/0.1772, allocations: 0.6597 MB / 312.4 MB, free: 15.63 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005137/0.1777, allocations: 196.1 kB / 312.6 MB, free: 15.54 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002085/0.1798, allocations: 2.25 MB / 314.9 MB, free: 14.17 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001341/0.18, allocations: 225.2 kB / 315.1 MB, free: 14.09 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002187/0.1802, allocations: 114.2 kB / 315.2 MB, free: 14.06 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002469/0.1804, allocations: 246 kB / 315.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of SimCode: time 7.61e-07/0.1804, allocations: 0 / 315.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of Templates: time 0.01372/0.1942, allocations: 11.98 MB / 327.4 MB, free: 2.551 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.21693576220423]