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.001903/0.001903, allocations: 95.86 kB / 20.96 MB, free: 3.465 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.001965/0.001965, allocations: 153.1 kB / 24.27 MB, free: 168 kB / 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.528/1.528, allocations: 173.4 MB / 200.8 MB, free: 9.309 MB / 186.7 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 1.553e-06/1.553e-06, allocations: 0 / 267.3 MB, free: 6.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.867e-05/4.023e-05, allocations: 6.25 kB / 267.3 MB, free: 6.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.009471/0.009511, allocations: 6.024 MB / 273.3 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005201/0.01471, allocations: 2.122 MB / 275.5 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001294/0.01601, allocations: 39.69 kB / 275.5 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00105/0.01706, allocations: 425.3 kB / 275.9 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001468/0.01852, allocations: 492.5 kB / 276.4 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001311/0.01984, allocations: 0.5145 MB / 276.9 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002672/0.02251, allocations: 1.538 MB / 278.4 MB, free: 11.55 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009079/0.02341, allocations: 349.1 kB / 278.8 MB, free: 11.19 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001882/0.0253, allocations: 0.8262 MB / 279.6 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001271/0.02657, allocations: 0.5297 MB / 280.1 MB, free: 9.828 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003024/0.02687, allocations: 128 kB / 280.3 MB, free: 9.703 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004956/0.02737, allocations: 179.8 kB / 280.4 MB, free: 9.527 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004645/0.02783, allocations: 310.8 kB / 280.7 MB, free: 9.223 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007431/0.02857, allocations: 430.8 kB / 281.2 MB, free: 8.801 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002763/0.03134, allocations: 1.662 MB / 282.8 MB, free: 7.133 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.03134, allocations: 0 / 282.8 MB, free: 7.133 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.03134, allocations: 4 kB / 282.8 MB, free: 7.129 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.479e-05/0.03138, allocations: 0 / 282.8 MB, free: 7.129 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.003756/0.03513, allocations: 1.718 MB / 284.5 MB, free: 5.367 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.03519, allocations: 12.03 kB / 284.6 MB, free: 5.355 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005504/0.03574, allocations: 236 kB / 284.8 MB, free: 5.125 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001947/0.03769, allocations: 0.7193 MB / 285.5 MB, free: 4.375 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.03779, allocations: 74.38 kB / 285.6 MB, free: 4.305 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002468/0.03804, allocations: 108.3 kB / 285.7 MB, free: 4.199 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002537/0.04058, allocations: 0.9787 MB / 286.7 MB, free: 3.199 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.441e-05/0.04063, allocations: 15.94 kB / 286.7 MB, free: 3.184 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.733e-05/0.04072, allocations: 40 kB / 286.7 MB, free: 3.145 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.425e-05/0.04074, allocations: 24 kB / 286.7 MB, free: 3.121 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001381/0.04213, allocations: 0.6169 MB / 287.4 MB, free: 2.508 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1257/0.1679, allocations: 3.333 MB / 290.7 MB, free: 30.7 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/0.1692, allocations: 0.6024 MB / 291.3 MB, free: 30.65 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000502/0.1697, allocations: 267.1 kB / 291.6 MB, free: 30.64 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.034e-05/0.1698, allocations: 14.89 kB / 291.6 MB, free: 30.64 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007303/0.1705, allocations: 356.6 kB / 291.9 MB, free: 30.58 MB / 266.7 MB Notification: Performance of pre-optimization done (n=80): time 3.276e-06/0.1705, allocations: 0.5 kB / 291.9 MB, free: 30.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.006096/0.1766, allocations: 2.97 MB / 294.9 MB, free: 29.56 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.1767, allocations: 66.75 kB / 295 MB, free: 29.49 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/0.1778, allocations: 0.9321 MB / 295.9 MB, free: 29.08 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.639e-05/0.1779, allocations: 41.98 kB / 295.9 MB, free: 29.04 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004134/0.1783, allocations: 0.6245 MB / 296.6 MB, free: 28.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002516/0.1785, allocations: 396.6 kB / 296.9 MB, free: 28.34 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002579/0.1788, allocations: 200.5 kB / 297.1 MB, free: 28.23 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.1789, allocations: 0.5466 MB / 297.7 MB, free: 27.71 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005324/0.1795, allocations: 256.4 kB / 297.9 MB, free: 27.63 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006612/0.1801, allocations: 0.4941 MB / 298.4 MB, free: 27.3 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001252/0.1814, allocations: 0.8212 MB / 299.2 MB, free: 26.81 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.942e-06/0.1814, allocations: 1.719 kB / 299.3 MB, free: 26.81 MB / 266.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001975/0.1834, allocations: 1.067 MB / 300.3 MB, free: 26.36 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.1834, allocations: 5.938 kB / 300.3 MB, free: 26.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.1834, allocations: 8.938 kB / 300.3 MB, free: 26.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005318/0.1839, allocations: 168.7 kB / 300.5 MB, free: 26.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007747/0.1847, allocations: 209.2 kB / 300.7 MB, free: 26.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003351/0.188, allocations: 4.98 MB / 305.7 MB, free: 21.78 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006897/0.1887, allocations: 28.69 kB / 305.7 MB, free: 21.76 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-05/0.1888, allocations: 36.59 kB / 305.7 MB, free: 21.75 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.0004782/0.1893, allocations: 318.2 kB / 306.1 MB, free: 21.49 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001828/0.1895, allocations: 136.3 kB / 306.2 MB, free: 21.43 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001704/0.1912, allocations: 0.9504 MB / 307.1 MB, free: 21.01 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.854e-06/0.1912, allocations: 17.2 kB / 307.2 MB, free: 21.01 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.1912, allocations: 3.594 kB / 307.2 MB, free: 21.01 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-05/0.1912, allocations: 4.875 kB / 307.2 MB, free: 21.01 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003977/0.1952, allocations: 2.511 MB / 309.7 MB, free: 19.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/0.1952, allocations: 7.688 kB / 309.7 MB, free: 19.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007497/0.1959, allocations: 177.4 kB / 309.9 MB, free: 19.56 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003881/0.1963, allocations: 143.1 kB / 310 MB, free: 19.44 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.176e-05/0.1964, allocations: 26.44 kB / 310 MB, free: 19.42 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00232/0.1987, allocations: 4.504 MB / 314.5 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.1987, allocations: 7.938 kB / 314.5 MB, free: 14.78 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00206/0.2008, allocations: 1.555 MB / 316.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003193/0.2011, allocations: 159.9 kB / 316.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.2012, allocations: 31.88 kB / 316.3 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000384/0.2016, allocations: 27.94 kB / 316.3 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/0.2017, allocations: 75.88 kB / 316.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.138e-05/0.2018, allocations: 27.98 kB / 316.4 MB, free: 13 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005583/0.2023, allocations: 0.5908 MB / 317 MB, free: 12.48 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2023, allocations: 4 kB / 317 MB, free: 12.47 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000907/0.2032, allocations: 244.4 kB / 317.2 MB, free: 12.24 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.002912/0.2062, allocations: 471.1 kB / 317.7 MB, free: 12.01 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001754/0.2079, allocations: 1.197 MB / 318.9 MB, free: 10.81 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.2079, allocations: 0 / 318.9 MB, free: 10.81 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008686/0.2088, allocations: 0.8355 MB / 319.7 MB, free: 9.934 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.2098, allocations: 193 kB / 319.9 MB, free: 9.758 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003015/0.2128, allocations: 2.383 MB / 322.3 MB, free: 7.289 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.2132, allocations: 0.5068 MB / 322.8 MB, free: 6.746 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003605/0.2135, allocations: 107.2 kB / 322.9 MB, free: 6.637 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001719/0.2137, allocations: 76.47 kB / 323 MB, free: 6.562 MB / 266.7 MB Notification: Performance of SimCode: time 1.252e-06/0.2137, allocations: 0 / 323 MB, free: 6.562 MB / 266.7 MB Notification: Performance of Templates: time 0.0205/0.2342, allocations: 11.05 MB / 334 MB, free: 11.68 MB / 282.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 4.9380068419268355]