Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0006931/0.0006931, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009103/0.001603, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001468/0.002903, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.007/1.007, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09238/1.099, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.2/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.2/package.mo): time 0.03815/0.03815, allocations: 6.198 MB / 250.2 MB, free: 8.898 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004499/0.04265, allocations: 2.297 MB / 252.5 MB, free: 6.594 MB / 250.7 MB " [Timeout remaining time 180] Using package VehicleInterfaces with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.2/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads") translateModel(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 253.7 MB, free: 5.324 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.471e-05/1.608e-05, allocations: 6.25 kB / 253.7 MB, free: 5.316 MB / 250.7 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads): time 0.006187/0.006203, allocations: 5.407 MB / 259.1 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003535/0.009738, allocations: 1.993 MB / 261.1 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004747/0.01021, allocations: 27.88 kB / 261.1 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009156/0.01113, allocations: 449.9 kB / 261.6 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001457/0.01259, allocations: 0.7386 MB / 262.3 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002376/0.01282, allocations: 95.62 kB / 262.4 MB, free: 12.58 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001815/0.01464, allocations: 1.553 MB / 264 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005516/0.01519, allocations: 321.7 kB / 264.3 MB, free: 10.69 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009693/0.01616, allocations: 0.7589 MB / 265 MB, free: 9.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009819/0.01714, allocations: 0.709 MB / 265.8 MB, free: 9.219 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001762/0.01732, allocations: 80 kB / 265.8 MB, free: 9.141 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007001/0.01802, allocations: 339.3 kB / 266.2 MB, free: 8.809 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005833/0.0186, allocations: 0.6777 MB / 266.8 MB, free: 8.129 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004317/0.01903, allocations: 354.5 kB / 267.2 MB, free: 7.781 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001926/0.02096, allocations: 1.715 MB / 268.9 MB, free: 6.059 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.827e-05/0.02098, allocations: 0 / 268.9 MB, free: 6.059 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.02098, allocations: 0 / 268.9 MB, free: 6.059 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.126e-05/0.02104, allocations: 3.938 kB / 268.9 MB, free: 6.055 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: 763 * Number of variables: 763 Notification: Performance of Generate backend data structure: time 0.002756/0.02379, allocations: 2.376 MB / 271.3 MB, free: 3.621 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.02383, allocations: 12.03 kB / 271.3 MB, free: 3.609 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001587/0.02541, allocations: 0.6445 MB / 271.9 MB, free: 2.965 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006584/0.02607, allocations: 0.6535 MB / 272.6 MB, free: 2.281 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.83e-05/0.02612, allocations: 86.41 kB / 272.7 MB, free: 2.195 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003702/0.02649, allocations: 223.5 kB / 272.9 MB, free: 1.977 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1099/0.1363, allocations: 2.536 MB / 275.4 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.238e-05/0.1364, allocations: 27.69 kB / 275.5 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001703/0.1366, allocations: 61.39 kB / 275.5 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001214/0.1378, allocations: 1.021 MB / 276.5 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002727/0.1405, allocations: 1.3 MB / 277.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01007/0.1506, allocations: 17.13 MB / 295 MB, free: 15.17 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006367/0.1512, allocations: 445.9 kB / 295.4 MB, free: 14.93 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.1514, allocations: 123.6 kB / 295.5 MB, free: 14.89 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.1514, allocations: 11.28 kB / 295.5 MB, free: 14.89 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.1514, allocations: 39.44 kB / 295.6 MB, free: 14.84 MB / 282.7 MB Notification: Performance of pre-optimization done (n=85): time 4.178e-06/0.1514, allocations: 4.781 kB / 295.6 MB, free: 14.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=114): time 0.002335/0.1538, allocations: 1.372 MB / 297 MB, free: 14.55 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.86e-05/0.1538, allocations: 141.4 kB / 297.1 MB, free: 14.39 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001553/0.1554, allocations: 1.678 MB / 298.8 MB, free: 13.98 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.686e-05/0.1554, allocations: 43.41 kB / 298.8 MB, free: 13.94 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007905/0.1562, allocations: 1.785 MB / 300.6 MB, free: 12.59 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002765/0.1565, allocations: 463.1 kB / 301 MB, free: 12.27 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006909/0.1572, allocations: 0.7567 MB / 301.8 MB, free: 11.94 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.1573, allocations: 341.3 kB / 302.1 MB, free: 11.61 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005153/0.1578, allocations: 459.1 kB / 302.6 MB, free: 11.53 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001666/0.1595, allocations: 2.951 MB / 305.5 MB, free: 7.938 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00287/0.1623, allocations: 3.887 MB / 309.4 MB, free: 3.879 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.991e-05/0.1624, allocations: 30.73 kB / 309.5 MB, free: 3.879 MB / 282.7 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.003453/0.1659, allocations: 2.739 MB / 312.2 MB, free: 1.238 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.888e-05/0.1659, allocations: 44.66 kB / 312.2 MB, free: 1.195 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003066/0.1662, allocations: 294.8 kB / 312.5 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.535e-05/0.1663, allocations: 124 kB / 312.6 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001712/0.168, allocations: 1.01 MB / 313.7 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001026/0.1681, allocations: 180.3 kB / 313.8 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/0.1696, allocations: 183.7 kB / 314 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002151/0.1698, allocations: 224.9 kB / 314.2 MB, free: 15.2 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 425 * Number of states: 0 () * Number of discrete variables: 12 (world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (509): * Single equations (assignments): 503 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006729/0.1705, allocations: 451.2 kB / 314.7 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002092/0.1707, allocations: 123.9 kB / 314.8 MB, free: 14.63 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002142/0.1709, allocations: 205.3 kB / 315 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002599/0.1712, allocations: 235.1 kB / 315.2 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.1712, allocations: 3.938 kB / 315.2 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.1712, allocations: 8.547 kB / 315.2 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002468/0.1737, allocations: 2.011 MB / 317.2 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/0.1737, allocations: 12.66 kB / 317.3 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002741/0.174, allocations: 147.8 kB / 317.4 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002029/0.1742, allocations: 179.8 kB / 317.6 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.29e-05/0.1742, allocations: 16 kB / 317.6 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.113e-05/0.1742, allocations: 31.98 kB / 317.6 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-05/0.1742, allocations: 20.8 kB / 317.6 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/0.1742, allocations: 16.48 kB / 317.7 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007385/0.175, allocations: 1.211 MB / 318.9 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.1751, allocations: 27.92 kB / 318.9 MB, free: 10.22 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002927/0.1754, allocations: 20 kB / 318.9 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.363e-05/0.1754, allocations: 91.58 kB / 319 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.056e-05/0.1755, allocations: 34.23 kB / 319 MB, free: 10.08 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005044/0.176, allocations: 0.6299 MB / 319.7 MB, free: 9.422 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.176, allocations: 0 / 319.7 MB, free: 9.422 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001769/0.1778, allocations: 0.5038 MB / 320.2 MB, free: 8.918 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 78 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003062/0.1781, allocations: 173 kB / 320.3 MB, free: 8.742 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001676/0.1797, allocations: 1.578 MB / 321.9 MB, free: 7.176 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001058/0.1798, allocations: 59.94 kB / 322 MB, free: 7.113 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002225/0.1801, allocations: 246.2 kB / 322.2 MB, free: 6.875 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008268/0.1809, allocations: 311.2 kB / 322.5 MB, free: 6.574 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005001/0.1859, allocations: 3.902 MB / 326.4 MB, free: 2.492 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005516/0.1864, allocations: 0.5999 MB / 327 MB, free: 1.855 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0007208/0.1872, allocations: 310.6 kB / 327.3 MB, free: 1.551 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003567/0.1875, allocations: 315.3 kB / 327.6 MB, free: 1.242 MB / 298.7 MB Notification: Performance of SimCode: time 1.523e-06/0.1875, allocations: 0 / 327.6 MB, free: 1.242 MB / 298.7 MB Notification: Performance of Templates: time 0.02359/0.2111, allocations: 14.33 MB / 342 MB, free: 3.125 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.makefile [Timeout 660] (rm -f VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe ; mkfifo VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe ; head -c 1048576 < VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe >> ../files/VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.sim & ./VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads -abortSlowSimulation -alarm=240 -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.071931635029614]