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.001683/0.001683, allocations: 68.08 kB / 21.24 MB, free: 0.5391 MB / 14.72 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.002499/0.002499, allocations: 148.9 kB / 24.49 MB, free: 3.707 MB / 14.72 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.48/1.48, allocations: 173.4 MB / 201.1 MB, free: 12.7 MB / 190.1 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 0.001581/0.001581, allocations: 46.59 kB / 319.4 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09197/0.09355, allocations: 52.16 MB / 371.6 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.00821/0.1018, allocations: 5.526 MB / 377.1 MB, free: 1.793 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004334/0.1061, allocations: 2.08 MB / 379.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000644/0.1067, allocations: 35.75 kB / 379.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008975/0.1076, allocations: 429.3 kB / 379.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001057/0.1087, allocations: 472.9 kB / 380.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.1098, allocations: 0.5262 MB / 380.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001855/0.1117, allocations: 1.48 MB / 382.1 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006087/0.1123, allocations: 353.1 kB / 382.4 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006941/0.113, allocations: 0.5642 MB / 383 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008142/0.1138, allocations: 0.6025 MB / 383.6 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001979/0.114, allocations: 132 kB / 383.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003322/0.1143, allocations: 168 kB / 383.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003343/0.1146, allocations: 302.9 kB / 384.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005624/0.1152, allocations: 0.5324 MB / 384.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001812/0.117, allocations: 1.653 MB / 386.4 MB, free: 8.453 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.117, allocations: 4 kB / 386.4 MB, free: 8.449 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.117, allocations: 0 / 386.4 MB, free: 8.449 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.777e-05/0.117, allocations: 0 / 386.4 MB, free: 8.449 MB / 350.1 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.002761/0.1198, allocations: 1.513 MB / 387.9 MB, free: 6.898 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.1198, allocations: 12.03 kB / 387.9 MB, free: 6.887 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002273/0.1201, allocations: 148 kB / 388 MB, free: 6.742 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/0.1213, allocations: 0.6861 MB / 388.7 MB, free: 6.027 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.531e-05/0.1214, allocations: 82.11 kB / 388.8 MB, free: 5.949 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001567/0.1215, allocations: 107.9 kB / 388.9 MB, free: 5.844 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001637/0.1232, allocations: 0.9118 MB / 389.8 MB, free: 4.914 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.038e-05/0.1232, allocations: 19.88 kB / 389.8 MB, free: 4.895 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.974e-05/0.1233, allocations: 40 kB / 389.9 MB, free: 4.855 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.385e-05/0.1233, allocations: 24 kB / 389.9 MB, free: 4.832 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/0.1247, allocations: 0.6402 MB / 390.6 MB, free: 4.195 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00458/0.1292, allocations: 2.615 MB / 393.2 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001405/0.1306, allocations: 0.5763 MB / 393.7 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005275/0.1312, allocations: 278.7 kB / 394 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.198e-05/0.1312, allocations: 8.656 kB / 394 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006644/0.1319, allocations: 344.3 kB / 394.4 MB, free: 292 kB / 350.1 MB Notification: Performance of pre-optimization done (n=80): time 2.735e-06/0.1319, allocations: 0 / 394.4 MB, free: 292 kB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.006204/0.1381, allocations: 2.944 MB / 397.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.1381, allocations: 60.41 kB / 397.4 MB, free: 13.22 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/0.1392, allocations: 0.8642 MB / 398.2 MB, free: 12.35 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.677e-05/0.1393, allocations: 41.7 kB / 398.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004643/0.1397, allocations: 0.536 MB / 398.8 MB, free: 11.76 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000309/0.14, allocations: 360.9 kB / 399.2 MB, free: 11.4 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002447/0.1403, allocations: 166.6 kB / 399.3 MB, free: 11.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.1404, allocations: 345.9 kB / 399.7 MB, free: 10.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000559/0.141, allocations: 269.9 kB / 399.9 MB, free: 10.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006906/0.1417, allocations: 437.4 kB / 400.3 MB, free: 10.15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001357/0.1431, allocations: 0.7483 MB / 401.1 MB, free: 9.352 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.1431, allocations: 3.938 kB / 401.1 MB, free: 9.348 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001914/0.145, allocations: 1.021 MB / 402.1 MB, free: 8.312 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.145, allocations: 8 kB / 402.1 MB, free: 8.305 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.145, allocations: 8.375 kB / 402.1 MB, free: 8.297 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004423/0.1454, allocations: 137.6 kB / 402.3 MB, free: 8.156 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007886/0.1462, allocations: 211.8 kB / 402.5 MB, free: 7.949 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004109/0.1503, allocations: 3.704 MB / 406.2 MB, free: 4.047 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005729/0.1509, allocations: 27.98 kB / 406.2 MB, free: 4.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.639e-05/0.151, allocations: 32.12 kB / 406.2 MB, free: 3.988 MB / 366.1 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.0004923/0.1515, allocations: 313.5 kB / 406.5 MB, free: 3.672 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/0.1516, allocations: 107.3 kB / 406.7 MB, free: 3.566 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001987/0.1536, allocations: 0.955 MB / 407.6 MB, free: 2.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/0.1536, allocations: 12 kB / 407.6 MB, free: 2.578 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.1536, allocations: 8 kB / 407.6 MB, free: 2.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/0.1536, allocations: 3.984 kB / 407.6 MB, free: 2.566 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003895/0.1575, allocations: 2.144 MB / 409.8 MB, free: 348 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.293e-06/0.1576, allocations: 7.938 kB / 409.8 MB, free: 340 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008005/0.1584, allocations: 188.2 kB / 410 MB, free: 152 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003573/0.1587, allocations: 117.6 kB / 410.1 MB, free: 28 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.827e-05/0.1588, allocations: 32.03 kB / 410.1 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003346/0.1621, allocations: 3.324 MB / 413.4 MB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/0.1621, allocations: 7.938 kB / 413.4 MB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002477/0.1646, allocations: 1.443 MB / 414.9 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003382/0.165, allocations: 167.2 kB / 415 MB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.1651, allocations: 24 kB / 415.1 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004065/0.1655, allocations: 23.98 kB / 415.1 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/0.1656, allocations: 84.83 kB / 415.2 MB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.24e-05/0.1657, allocations: 35.98 kB / 415.2 MB, free: 10.63 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007637/0.1664, allocations: 0.6123 MB / 415.8 MB, free: 10.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1664, allocations: 0 / 415.8 MB, free: 10.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009159/0.1674, allocations: 243.9 kB / 416.1 MB, free: 9.781 MB / 382.1 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.001663/0.169, allocations: 474.9 kB / 416.5 MB, free: 9.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001867/0.1709, allocations: 1.021 MB / 417.5 MB, free: 8.453 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1709, allocations: 0 / 417.5 MB, free: 8.453 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001097/0.172, allocations: 0.6875 MB / 418.2 MB, free: 7.738 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008981/0.1729, allocations: 159.6 kB / 418.4 MB, free: 7.586 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003967/0.1769, allocations: 2.613 MB / 421 MB, free: 4.902 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005967/0.1774, allocations: 0.5184 MB / 421.5 MB, free: 4.348 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003526/0.1778, allocations: 111.2 kB / 421.6 MB, free: 4.234 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001889/0.178, allocations: 76.47 kB / 421.7 MB, free: 4.16 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.178, allocations: 0 / 421.7 MB, free: 4.16 MB / 382.1 MB Notification: Performance of Templates: time 0.02186/0.1998, allocations: 10.93 MB / 432.6 MB, free: 9.379 MB / 398.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Vehicle/Vehicle.csv","/var/lib/jenkins1/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: 5.268499803030863]