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.001951/0.001951, allocations: 96.25 kB / 20.96 MB, free: 3.473 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.00215/0.00215, allocations: 160.9 kB / 24.27 MB, free: 172 kB / 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 1.463/1.463, allocations: 177 MB / 204.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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.754e-06/1.754e-06, allocations: 0 / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.293e-05/2.469e-05, allocations: 2.312 kB / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.008244/0.008268, allocations: 5.542 MB / 277.7 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004833/0.0131, allocations: 2.235 MB / 280 MB, free: 9.996 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005265/0.01363, allocations: 35.75 kB / 280 MB, free: 9.961 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008525/0.01448, allocations: 437.2 kB / 280.4 MB, free: 9.531 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001186/0.01567, allocations: 0.5198 MB / 280.9 MB, free: 9.008 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.01673, allocations: 498.9 kB / 281.4 MB, free: 8.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001835/0.01857, allocations: 1.538 MB / 283 MB, free: 6.977 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006563/0.01923, allocations: 361.1 kB / 283.3 MB, free: 6.602 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001194/0.02042, allocations: 0.8262 MB / 284.1 MB, free: 5.773 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007676/0.02119, allocations: 0.5141 MB / 284.7 MB, free: 5.258 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001878/0.02138, allocations: 128 kB / 284.8 MB, free: 5.133 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003267/0.0217, allocations: 175.9 kB / 285 MB, free: 4.961 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003257/0.02203, allocations: 310.8 kB / 285.3 MB, free: 4.656 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006433/0.02267, allocations: 434.8 kB / 285.7 MB, free: 4.23 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001939/0.02461, allocations: 1.666 MB / 287.4 MB, free: 2.559 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.02461, allocations: 4 kB / 287.4 MB, free: 2.555 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.02462, allocations: 0 / 287.4 MB, free: 2.555 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.628e-05/0.02463, allocations: 0 / 287.4 MB, free: 2.555 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.002887/0.02752, allocations: 1.509 MB / 288.9 MB, free: 1.008 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.02756, allocations: 19.92 kB / 288.9 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000609/0.02817, allocations: 251.8 kB / 289.1 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1149/0.143, allocations: 0.7181 MB / 289.8 MB, free: 28.22 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001162/0.1431, allocations: 72.03 kB / 289.9 MB, free: 28.22 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003071/0.1434, allocations: 107 kB / 290 MB, free: 28.22 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001721/0.1452, allocations: 0.9106 MB / 290.9 MB, free: 28.04 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.072e-05/0.1452, allocations: 11.34 kB / 290.9 MB, free: 28.04 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.365e-05/0.1453, allocations: 40.66 kB / 291 MB, free: 28.01 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.149e-05/0.1453, allocations: 24.03 kB / 291 MB, free: 28.01 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/0.1465, allocations: 0.6385 MB / 291.6 MB, free: 27.79 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004115/0.1506, allocations: 2.659 MB / 294.3 MB, free: 26.4 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001248/0.1519, allocations: 0.5752 MB / 294.9 MB, free: 26.19 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004784/0.1524, allocations: 272.7 kB / 295.1 MB, free: 26.07 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.906e-05/0.1524, allocations: 19.34 kB / 295.2 MB, free: 26.07 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006218/0.153, allocations: 349.8 kB / 295.5 MB, free: 25.92 MB / 266.7 MB Notification: Performance of pre-optimization done (n=80): time 3.376e-06/0.153, allocations: 0 / 295.5 MB, free: 25.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.005642/0.1587, allocations: 2.953 MB / 298.5 MB, free: 24.5 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.1587, allocations: 65.47 kB / 298.5 MB, free: 24.43 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009669/0.1597, allocations: 0.8734 MB / 299.4 MB, free: 24.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.491e-05/0.1597, allocations: 47.58 kB / 299.4 MB, free: 24.05 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003093/0.16, allocations: 0.5331 MB / 300 MB, free: 23.68 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001739/0.1602, allocations: 361.7 kB / 300.3 MB, free: 23.43 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002325/0.1604, allocations: 168.2 kB / 300.5 MB, free: 23.34 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.109e-05/0.1605, allocations: 342 kB / 300.8 MB, free: 23.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005424/0.1611, allocations: 274.5 kB / 301.1 MB, free: 22.93 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005607/0.1616, allocations: 429.9 kB / 301.5 MB, free: 22.67 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/0.1627, allocations: 0.7461 MB / 302.3 MB, free: 22.22 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.1627, allocations: 1.5 kB / 302.3 MB, free: 22.22 MB / 266.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001887/0.1646, allocations: 1.069 MB / 303.3 MB, free: 21.76 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.1647, allocations: 6.734 kB / 303.3 MB, free: 21.76 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.1647, allocations: 4.594 kB / 303.3 MB, free: 21.76 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005025/0.1652, allocations: 156 kB / 303.5 MB, free: 21.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007116/0.1659, allocations: 204 kB / 303.7 MB, free: 21.69 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002602/0.1685, allocations: 3.711 MB / 307.4 MB, free: 18.44 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004443/0.1689, allocations: 36.28 kB / 307.4 MB, free: 18.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.068e-05/0.169, allocations: 32 kB / 307.5 MB, free: 18.38 MB / 266.7 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.0003741/0.1694, allocations: 308.8 kB / 307.8 MB, free: 18.08 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/0.1695, allocations: 138.6 kB / 307.9 MB, free: 17.95 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001529/0.171, allocations: 0.9667 MB / 308.9 MB, free: 17.05 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.171, allocations: 10.59 kB / 308.9 MB, free: 17.05 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.171, allocations: 4 kB / 308.9 MB, free: 17.04 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.687e-06/0.171, allocations: 7.969 kB / 308.9 MB, free: 17.04 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003009/0.1741, allocations: 2.151 MB / 311.1 MB, free: 14.83 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.1741, allocations: 9.812 kB / 311.1 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007326/0.1748, allocations: 187.7 kB / 311.2 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003981/0.1752, allocations: 130.5 kB / 311.4 MB, free: 14.51 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.2e-05/0.1753, allocations: 27.98 kB / 311.4 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002405/0.1777, allocations: 3.333 MB / 314.7 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.1777, allocations: 7.938 kB / 314.7 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001967/0.1796, allocations: 1.475 MB / 316.2 MB, free: 9.41 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002736/0.1799, allocations: 155.3 kB / 316.4 MB, free: 9.258 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.18, allocations: 28.08 kB / 316.4 MB, free: 9.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004056/0.1804, allocations: 27.94 kB / 316.4 MB, free: 9.203 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/0.1806, allocations: 76.8 kB / 316.5 MB, free: 9.129 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.336e-05/0.1806, allocations: 31.98 kB / 316.5 MB, free: 9.098 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000573/0.1812, allocations: 0.6201 MB / 317.1 MB, free: 8.484 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1812, allocations: 4 kB / 317.2 MB, free: 8.48 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009771/0.1822, allocations: 247.9 kB / 317.4 MB, free: 8.238 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.002002/0.1842, allocations: 467.9 kB / 317.9 MB, free: 8.004 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001654/0.1858, allocations: 1.017 MB / 318.9 MB, free: 6.957 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.1858, allocations: 0 / 318.9 MB, free: 6.957 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008615/0.1867, allocations: 0.6769 MB / 319.5 MB, free: 6.262 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009611/0.1876, allocations: 196.6 kB / 319.7 MB, free: 6.074 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003568/0.1912, allocations: 2.424 MB / 322.2 MB, free: 3.586 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004793/0.1917, allocations: 0.515 MB / 322.7 MB, free: 3.035 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003828/0.1921, allocations: 115.2 kB / 322.8 MB, free: 2.918 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001877/0.1923, allocations: 76.47 kB / 322.9 MB, free: 2.844 MB / 266.7 MB Notification: Performance of SimCode: time 9.32e-07/0.1923, allocations: 0 / 322.9 MB, free: 2.844 MB / 266.7 MB Notification: Performance of Templates: time 0.02179/0.2141, allocations: 11.01 MB / 333.9 MB, free: 7.984 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.942713871016167]