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.00111/0.00111, allocations: 91.5 kB / 21.19 MB, free: 3.371 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.001285/0.001285, allocations: 156.5 kB / 24.55 MB, free: 16 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 0.9823/0.9823, allocations: 177 MB / 204.8 MB, free: 5.582 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.513e-06/1.513e-06, allocations: 0 / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.883e-05/2.034e-05, allocations: 9.266 kB / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.006052/0.006072, allocations: 6.094 MB / 279 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004191/0.01026, allocations: 2.262 MB / 281.3 MB, free: 9.047 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000845/0.01111, allocations: 39.69 kB / 281.3 MB, free: 9.008 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007444/0.01185, allocations: 433.2 kB / 281.7 MB, free: 8.582 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001194/0.01305, allocations: 0.5238 MB / 282.2 MB, free: 8.055 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008366/0.01388, allocations: 498.9 kB / 282.7 MB, free: 7.566 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001622/0.0155, allocations: 1.546 MB / 284.3 MB, free: 6.016 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004499/0.01595, allocations: 353.1 kB / 284.6 MB, free: 5.648 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008646/0.01682, allocations: 0.8301 MB / 285.5 MB, free: 4.816 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005371/0.01736, allocations: 0.5219 MB / 286 MB, free: 4.293 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001344/0.01749, allocations: 128 kB / 286.1 MB, free: 4.168 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002338/0.01772, allocations: 187.8 kB / 286.3 MB, free: 3.984 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000205/0.01793, allocations: 322.7 kB / 286.6 MB, free: 3.668 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003031/0.01823, allocations: 434.8 kB / 287 MB, free: 3.242 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008367/0.01907, allocations: 0.9805 MB / 288 MB, free: 2.258 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.01907, allocations: 0 / 288 MB, free: 2.258 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.01907, allocations: 4 kB / 288 MB, free: 2.254 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.021e-05/0.01909, allocations: 0 / 288 MB, free: 2.254 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.001759/0.02085, allocations: 1.632 MB / 289.6 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.0209, allocations: 11.98 kB / 289.7 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003658/0.02126, allocations: 247.9 kB / 289.9 MB, free: 332 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1313/0.1526, allocations: 0.7015 MB / 290.6 MB, free: 24.99 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.813e-05/0.1526, allocations: 74.56 kB / 290.7 MB, free: 24.98 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001762/0.1528, allocations: 108.8 kB / 290.8 MB, free: 24.98 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001288/0.1541, allocations: 0.7085 MB / 291.5 MB, free: 24.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.592e-05/0.1541, allocations: 12.47 kB / 291.5 MB, free: 24.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.365e-05/0.1542, allocations: 40.06 kB / 291.5 MB, free: 24.88 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.386e-05/0.1542, allocations: 24.53 kB / 291.6 MB, free: 24.88 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007511/0.155, allocations: 374 kB / 291.9 MB, free: 24.86 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003759/0.1587, allocations: 2.66 MB / 294.6 MB, free: 24.03 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009057/0.1596, allocations: 434.8 kB / 295 MB, free: 23.91 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002616/0.1599, allocations: 174.2 kB / 295.2 MB, free: 23.86 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.67e-05/0.16, allocations: 14.91 kB / 295.2 MB, free: 23.86 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003935/0.1603, allocations: 256.4 kB / 295.4 MB, free: 23.76 MB / 266.7 MB Notification: Performance of pre-optimization done (n=80): time 3.947e-06/0.1603, allocations: 0 / 295.4 MB, free: 23.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.004431/0.1648, allocations: 2.303 MB / 297.7 MB, free: 22.76 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.1648, allocations: 69.94 kB / 297.8 MB, free: 22.69 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008645/0.1657, allocations: 0.7612 MB / 298.6 MB, free: 22.37 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.252e-05/0.1657, allocations: 47.77 kB / 298.6 MB, free: 22.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003411/0.1661, allocations: 0.587 MB / 299.2 MB, free: 21.89 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002188/0.1663, allocations: 362.2 kB / 299.6 MB, free: 21.63 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001818/0.1665, allocations: 161.1 kB / 299.7 MB, free: 21.54 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.664e-05/0.1666, allocations: 0.5088 MB / 300.2 MB, free: 21.05 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002785/0.1668, allocations: 142.4 kB / 300.4 MB, free: 21.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003233/0.1672, allocations: 344.4 kB / 300.7 MB, free: 20.78 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006/0.1678, allocations: 0.5313 MB / 301.2 MB, free: 20.46 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.1678, allocations: 1.375 kB / 301.2 MB, free: 20.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001176/0.1689, allocations: 0.7987 MB / 302 MB, free: 20.18 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.169, allocations: 8.203 kB / 302 MB, free: 20.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.169, allocations: 8.703 kB / 302.1 MB, free: 20.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003556/0.1693, allocations: 130.8 kB / 302.2 MB, free: 20.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004698/0.1698, allocations: 206.3 kB / 302.4 MB, free: 20.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002266/0.1721, allocations: 4.549 MB / 306.9 MB, free: 15.92 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003295/0.1724, allocations: 30.09 kB / 307 MB, free: 15.9 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-05/0.1724, allocations: 37.25 kB / 307 MB, free: 15.89 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.0002785/0.1727, allocations: 212.6 kB / 307.2 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.1729, allocations: 138.7 kB / 307.3 MB, free: 15.63 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009387/0.1738, allocations: 0.722 MB / 308.1 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.1738, allocations: 9.219 kB / 308.1 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.1738, allocations: 7.625 kB / 308.1 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.1738, allocations: 7.906 kB / 308.1 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002213/0.176, allocations: 1.911 MB / 310 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.176, allocations: 9.203 kB / 310 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00041/0.1764, allocations: 189.2 kB / 310.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002491/0.1767, allocations: 102.7 kB / 310.3 MB, free: 14.28 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.136e-05/0.1767, allocations: 27.59 kB / 310.3 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001579/0.1783, allocations: 4.14 MB / 314.5 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.1783, allocations: 7.938 kB / 314.5 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.1795, allocations: 1.135 MB / 315.6 MB, free: 8.957 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002036/0.1797, allocations: 163.2 kB / 315.8 MB, free: 8.797 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.957e-05/0.1797, allocations: 23.98 kB / 315.8 MB, free: 8.773 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001939/0.1799, allocations: 20 kB / 315.8 MB, free: 8.754 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/0.18, allocations: 80.8 kB / 315.9 MB, free: 8.676 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.234e-05/0.1801, allocations: 40.64 kB / 315.9 MB, free: 8.637 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003666/0.1804, allocations: 0.495 MB / 316.4 MB, free: 8.148 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1804, allocations: 0 / 316.4 MB, free: 8.148 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007446/0.1812, allocations: 243.9 kB / 316.7 MB, free: 7.91 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.0008816/0.1821, allocations: 423.6 kB / 317.1 MB, free: 7.68 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009623/0.183, allocations: 0.9241 MB / 318 MB, free: 6.715 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.183, allocations: 0 / 318 MB, free: 6.715 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000524/0.1836, allocations: 0.683 MB / 318.7 MB, free: 5.992 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006331/0.1842, allocations: 191.6 kB / 318.9 MB, free: 5.809 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002839/0.187, allocations: 2.276 MB / 321.1 MB, free: 3.457 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000165/0.1872, allocations: 224.8 kB / 321.4 MB, free: 3.219 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000262/0.1875, allocations: 107.2 kB / 321.5 MB, free: 3.109 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.1876, allocations: 80.47 kB / 321.5 MB, free: 3.027 MB / 266.7 MB Notification: Performance of SimCode: time 7.02e-07/0.1876, allocations: 0 / 321.5 MB, free: 3.027 MB / 266.7 MB Notification: Performance of Templates: time 0.01732/0.2049, allocations: 11.11 MB / 332.6 MB, free: 8.086 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 -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: 3.4305538670159876]