Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.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.000957/0.000957, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001294/0.002251, 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.0008669/0.0008669, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009615/0.001828, 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 0.9972/0.9972, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1302/1.127, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.03422/0.03422, allocations: 6.192 MB / 250.2 MB, free: 8.891 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004189/0.03841, allocations: 2.296 MB / 252.5 MB, free: 6.586 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_CircleRoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads") translateModel(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 253.7 MB, free: 5.316 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.733e-05/1.865e-05, allocations: 6.25 kB / 253.7 MB, free: 5.309 MB / 250.7 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.004294/0.004312, allocations: 5.38 MB / 259.1 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002735/0.007048, allocations: 2.059 MB / 261.2 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002865/0.007334, allocations: 23.94 kB / 261.2 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006357/0.00797, allocations: 465.8 kB / 261.6 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009159/0.008886, allocations: 0.7347 MB / 262.4 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002101/0.009096, allocations: 127.5 kB / 262.5 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00112/0.01022, allocations: 1.545 MB / 264 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002991/0.01052, allocations: 321.8 kB / 264.4 MB, free: 10.61 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006614/0.01118, allocations: 0.7798 MB / 265.1 MB, free: 9.828 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006421/0.01182, allocations: 0.7089 MB / 265.8 MB, free: 9.117 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.01192, allocations: 80 kB / 265.9 MB, free: 9.039 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006469/0.01257, allocations: 375.2 kB / 266.3 MB, free: 8.672 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004097/0.01298, allocations: 0.6777 MB / 267 MB, free: 7.992 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002864/0.01326, allocations: 354.5 kB / 267.3 MB, free: 7.645 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001325/0.01459, allocations: 1.727 MB / 269 MB, free: 5.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.528e-05/0.0146, allocations: 0 / 269 MB, free: 5.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.01461, allocations: 8 kB / 269 MB, free: 5.902 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.401e-05/0.01463, allocations: 0 / 269 MB, free: 5.902 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: 764 * Number of variables: 764 Notification: Performance of Generate backend data structure: time 0.002098/0.01673, allocations: 2.384 MB / 271.4 MB, free: 3.461 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.01676, allocations: 11.98 kB / 271.4 MB, free: 3.449 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001596/0.01836, allocations: 0.6601 MB / 272.1 MB, free: 2.789 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006684/0.01902, allocations: 0.6496 MB / 272.8 MB, free: 2.109 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.404e-05/0.01907, allocations: 82.42 kB / 272.8 MB, free: 2.027 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003828/0.01945, allocations: 227.6 kB / 273.1 MB, free: 1.805 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1192/0.1386, allocations: 2.541 MB / 275.6 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.619e-05/0.1387, allocations: 26.78 kB / 275.6 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001355/0.1389, allocations: 63.94 kB / 275.7 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001138/0.14, allocations: 1.012 MB / 276.7 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002357/0.1423, allocations: 1.313 MB / 278 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01072/0.1531, allocations: 17.13 MB / 295.1 MB, free: 15.57 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006793/0.1537, allocations: 445.9 kB / 295.6 MB, free: 15.34 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.1539, allocations: 124 kB / 295.7 MB, free: 15.3 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.1539, allocations: 10.83 kB / 295.7 MB, free: 15.3 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.1539, allocations: 45.33 kB / 295.7 MB, free: 15.25 MB / 282.7 MB Notification: Performance of pre-optimization done (n=86): time 4.138e-06/0.154, allocations: 0.5938 kB / 295.7 MB, free: 15.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=117): time 0.003984/0.1579, allocations: 1.683 MB / 297.4 MB, free: 14.82 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.541e-05/0.158, allocations: 137.3 kB / 297.6 MB, free: 14.67 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001626/0.1596, allocations: 1.678 MB / 299.2 MB, free: 14.16 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.31e-05/0.1597, allocations: 37.98 kB / 299.3 MB, free: 14.12 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009186/0.1606, allocations: 1.779 MB / 301.1 MB, free: 12.77 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004955/0.1611, allocations: 476.7 kB / 301.5 MB, free: 12.45 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001053/0.1622, allocations: 0.7697 MB / 302.3 MB, free: 12.09 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.1623, allocations: 334.2 kB / 302.6 MB, free: 11.77 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008429/0.1631, allocations: 471.1 kB / 303.1 MB, free: 11.69 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001763/0.1649, allocations: 2.955 MB / 306 MB, free: 8.105 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003021/0.1679, allocations: 3.914 MB / 310 MB, free: 3.883 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.712e-05/0.1679, allocations: 28 kB / 310 MB, free: 3.855 MB / 282.7 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.003165/0.1711, allocations: 2.761 MB / 312.7 MB, free: 1.09 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.309e-05/0.1712, allocations: 45.66 kB / 312.8 MB, free: 1.047 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003533/0.1715, allocations: 306.1 kB / 313.1 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.493e-05/0.1716, allocations: 127.9 kB / 313.2 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001701/0.1733, allocations: 1.018 MB / 314.2 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001054/0.1734, allocations: 183.3 kB / 314.4 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/0.1746, allocations: 183.7 kB / 314.6 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001957/0.1748, allocations: 228.5 kB / 314.8 MB, free: 15.02 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 423 * 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 (512): * Single equations (assignments): 506 * 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.0005887/0.1754, allocations: 451.7 kB / 315.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001892/0.1756, allocations: 119.9 kB / 315.4 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002008/0.1758, allocations: 200.8 kB / 315.6 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002975/0.1761, allocations: 259 kB / 315.8 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.1761, allocations: 4.547 kB / 315.8 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.1761, allocations: 7.984 kB / 315.8 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002354/0.1784, allocations: 1.857 MB / 317.7 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.1784, allocations: 4 kB / 317.7 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003748/0.1788, allocations: 156.9 kB / 317.8 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002481/0.179, allocations: 234.1 kB / 318.1 MB, free: 11.67 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.388e-06/0.1791, allocations: 8 kB / 318.1 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.51e-05/0.1791, allocations: 19.98 kB / 318.1 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.897e-06/0.1791, allocations: 12.81 kB / 318.1 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.1791, allocations: 4.375 kB / 318.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007234/0.1798, allocations: 1.102 MB / 319.2 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.1799, allocations: 19.98 kB / 319.2 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003037/0.1802, allocations: 20 kB / 319.3 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.491e-05/0.1803, allocations: 67.77 kB / 319.3 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.389e-05/0.1804, allocations: 31.98 kB / 319.4 MB, free: 10.32 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004969/0.1809, allocations: 0.6197 MB / 320 MB, free: 9.672 MB / 298.7 MB Notification: Performance of sort global known variables: time 2e-07/0.1809, allocations: 0 / 320 MB, free: 9.672 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001537/0.1824, allocations: 0.531 MB / 320.5 MB, free: 9.141 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (87): * Single equations (assignments): 81 * 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.0003126/0.1827, allocations: 169.7 kB / 320.7 MB, free: 8.969 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001605/0.1843, allocations: 1.6 MB / 322.3 MB, free: 7.375 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001091/0.1844, allocations: 69.8 kB / 322.3 MB, free: 7.305 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000245/0.1847, allocations: 245.2 kB / 322.6 MB, free: 7.066 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007258/0.1854, allocations: 303 kB / 322.9 MB, free: 6.77 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004691/0.1901, allocations: 3.777 MB / 326.6 MB, free: 2.879 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004733/0.1906, allocations: 0.6007 MB / 327.2 MB, free: 2.25 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0007093/0.1913, allocations: 312.2 kB / 327.6 MB, free: 1.945 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004181/0.1917, allocations: 327.3 kB / 327.9 MB, free: 1.625 MB / 298.7 MB Notification: Performance of SimCode: time 1.903e-06/0.1917, allocations: 0 / 327.9 MB, free: 1.625 MB / 298.7 MB Notification: Performance of Templates: time 0.02337/0.2151, allocations: 15.67 MB / 343.5 MB, free: 2.188 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.makefile [Timeout 660] (rm -f VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.pipe ; mkfifo VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.pipe ; head -c 1048576 < VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.pipe >> ../files/VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.sim & ./VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads -abortSlowSimulation -alarm=240 -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1001160256564617]