Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009251/0.0009251, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001156/0.001156, allocations: 164.2 kB / 24.91 MB, free: 8.766 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.987/0.987, allocations: 177 MB / 205.2 MB, free: 5.449 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Vehicle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 273.4 MB, free: 1.191 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.151e-05/2.328e-05, allocations: 2.312 kB / 273.4 MB, free: 1.188 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.008574/0.008598, allocations: 5.994 MB / 279.4 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005741/0.01434, allocations: 2.347 MB / 281.8 MB, free: 8.801 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001453/0.01579, allocations: 39.69 kB / 281.8 MB, free: 8.762 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001138/0.01693, allocations: 421.2 kB / 282.2 MB, free: 8.348 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001829/0.01876, allocations: 0.5276 MB / 282.7 MB, free: 7.816 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.02001, allocations: 494.9 kB / 283.2 MB, free: 7.332 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002276/0.02229, allocations: 1.55 MB / 284.8 MB, free: 5.777 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000836/0.02312, allocations: 365.1 kB / 285.1 MB, free: 5.391 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001452/0.02457, allocations: 0.8301 MB / 286 MB, free: 4.559 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008521/0.02543, allocations: 0.5024 MB / 286.5 MB, free: 4.055 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002359/0.02566, allocations: 128 kB / 286.6 MB, free: 3.93 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003751/0.02604, allocations: 183.8 kB / 286.8 MB, free: 3.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002532/0.02629, allocations: 326.7 kB / 287.1 MB, free: 3.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004761/0.02677, allocations: 422.8 kB / 287.5 MB, free: 3.016 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001346/0.02811, allocations: 0.965 MB / 288.5 MB, free: 2.047 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.02812, allocations: 0 / 288.5 MB, free: 2.047 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.02812, allocations: 0 / 288.5 MB, free: 2.047 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.332e-05/0.02815, allocations: 4 kB / 288.5 MB, free: 2.043 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.002295/0.03045, allocations: 1.503 MB / 290 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.03049, allocations: 15.98 kB / 290 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004835/0.03097, allocations: 184.7 kB / 290.2 MB, free: 320 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1137/0.1447, allocations: 0.5601 MB / 290.7 MB, free: 25.23 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.009e-05/0.1447, allocations: 75.91 kB / 290.8 MB, free: 25.23 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/0.1449, allocations: 102.2 kB / 290.9 MB, free: 25.23 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009842/0.1458, allocations: 0.6683 MB / 291.6 MB, free: 25.13 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.355e-05/0.1459, allocations: 9.125 kB / 291.6 MB, free: 25.13 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.901e-05/0.1459, allocations: 43.86 kB / 291.6 MB, free: 25.12 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.155e-05/0.146, allocations: 24.56 kB / 291.6 MB, free: 25.12 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005019/0.1465, allocations: 266.3 kB / 291.9 MB, free: 25.11 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002886/0.1494, allocations: 1.939 MB / 293.8 MB, free: 24.45 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006364/0.15, allocations: 414 kB / 294.2 MB, free: 24.38 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001797/0.1502, allocations: 134 kB / 294.4 MB, free: 24.36 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.599e-05/0.1502, allocations: 16.45 kB / 294.4 MB, free: 24.36 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002962/0.1505, allocations: 236.4 kB / 294.6 MB, free: 24.29 MB / 266.7 MB Notification: Performance of pre-optimization done (n=80): time 2.715e-06/0.1505, allocations: 1.094 kB / 294.6 MB, free: 24.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.003111/0.1536, allocations: 1.939 MB / 296.6 MB, free: 23.87 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.1536, allocations: 66.88 kB / 296.6 MB, free: 23.8 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000618/0.1543, allocations: 0.6903 MB / 297.3 MB, free: 23.65 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.583e-05/0.1543, allocations: 49.16 kB / 297.4 MB, free: 23.62 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002036/0.1545, allocations: 425.7 kB / 297.8 MB, free: 23.37 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001725/0.1547, allocations: 364.5 kB / 298.1 MB, free: 23.14 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001807/0.1549, allocations: 170.8 kB / 298.3 MB, free: 23.11 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.645e-05/0.1549, allocations: 349.6 kB / 298.6 MB, free: 22.81 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.1551, allocations: 101.3 kB / 298.7 MB, free: 22.8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002464/0.1553, allocations: 295.2 kB / 299 MB, free: 22.61 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004995/0.1558, allocations: 493.8 kB / 299.5 MB, free: 22.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.1558, allocations: 1.375 kB / 299.5 MB, free: 22.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.0008257/0.1566, allocations: 0.5861 MB / 300.1 MB, free: 22.33 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.1567, allocations: 6.875 kB / 300.1 MB, free: 22.33 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.1567, allocations: 6.062 kB / 300.1 MB, free: 22.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002972/0.157, allocations: 122.1 kB / 300.2 MB, free: 22.31 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005915/0.1576, allocations: 236.7 kB / 300.5 MB, free: 22.31 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001735/0.1593, allocations: 3.131 MB / 303.6 MB, free: 19.67 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002823/0.1596, allocations: 31.53 kB / 303.6 MB, free: 19.65 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.711e-05/0.1596, allocations: 36.05 kB / 303.7 MB, free: 19.64 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.000186/0.1598, allocations: 167.2 kB / 303.8 MB, free: 19.49 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.1599, allocations: 90.03 kB / 303.9 MB, free: 19.48 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000701/0.1606, allocations: 0.5386 MB / 304.5 MB, free: 19.3 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.1606, allocations: 9.375 kB / 304.5 MB, free: 19.3 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1606, allocations: 6.344 kB / 304.5 MB, free: 19.3 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.1607, allocations: 6.891 kB / 304.5 MB, free: 19.3 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001727/0.1624, allocations: 1.384 MB / 305.9 MB, free: 18.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.1624, allocations: 3.688 kB / 305.9 MB, free: 18.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005248/0.1629, allocations: 203.4 kB / 306.1 MB, free: 18.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002145/0.1631, allocations: 97.31 kB / 306.2 MB, free: 18.72 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.321e-05/0.1632, allocations: 28.64 kB / 306.2 MB, free: 18.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001219/0.1644, allocations: 2.827 MB / 309 MB, free: 16.14 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.1644, allocations: 5.344 kB / 309 MB, free: 16.14 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007749/0.1652, allocations: 0.8587 MB / 309.9 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001763/0.1653, allocations: 107.3 kB / 310 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.999e-05/0.1654, allocations: 18.41 kB / 310 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002533/0.1657, allocations: 26.16 kB / 310 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.1658, allocations: 83.56 kB / 310.1 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.7e-05/0.1658, allocations: 22.47 kB / 310.1 MB, free: 15.55 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002789/0.1661, allocations: 359.1 kB / 310.5 MB, free: 15.31 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1661, allocations: 0 / 310.5 MB, free: 15.31 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006786/0.1668, allocations: 248 kB / 310.7 MB, free: 15.07 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.001279/0.168, allocations: 0.5179 MB / 311.2 MB, free: 14.8 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007185/0.1688, allocations: 0.7444 MB / 312 MB, free: 14.04 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.234e-05/0.1688, allocations: 12 kB / 312 MB, free: 14.03 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004043/0.1692, allocations: 0.537 MB / 312.5 MB, free: 13.48 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005975/0.1698, allocations: 197 kB / 312.7 MB, free: 13.29 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00243/0.1722, allocations: 2.035 MB / 314.8 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001609/0.1724, allocations: 232.8 kB / 315 MB, free: 10.96 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002947/0.1727, allocations: 103.4 kB / 315.1 MB, free: 10.86 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003161/0.173, allocations: 217.1 kB / 315.3 MB, free: 10.65 MB / 266.7 MB Notification: Performance of SimCode: time 7.31e-07/0.173, allocations: 0 / 315.3 MB, free: 10.65 MB / 266.7 MB Notification: Performance of Templates: time 0.01736/0.1903, allocations: 12.15 MB / 327.4 MB, free: 14.71 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 2.99878683174029]