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.0008397/0.0008397, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0008782/0.0008782, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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.8533/0.8533, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.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.02946/0.02946, allocations: 6.21 MB / 266.5 MB, free: 6.969 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.313e-06/1.313e-06, allocations: 0 / 284.8 MB, free: 4.613 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.155e-05/2.286e-05, allocations: 5.547 kB / 284.8 MB, free: 4.609 MB / 266.7 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.1104/0.1104, allocations: 5.289 MB / 290.1 MB, free: 19.3 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002861/0.1133, allocations: 2.057 MB / 292.2 MB, free: 19.09 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003765/0.1136, allocations: 23.72 kB / 292.2 MB, free: 19.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007746/0.1144, allocations: 439.7 kB / 292.6 MB, free: 19 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001079/0.1155, allocations: 0.7424 MB / 293.4 MB, free: 18.82 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002793/0.1158, allocations: 138.4 kB / 293.5 MB, free: 18.8 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001402/0.1172, allocations: 1.56 MB / 295.1 MB, free: 18.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004638/0.1176, allocations: 390.3 kB / 295.4 MB, free: 18.21 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007349/0.1184, allocations: 0.7409 MB / 296.2 MB, free: 17.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007675/0.1191, allocations: 0.7149 MB / 296.9 MB, free: 17.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001376/0.1193, allocations: 81.97 kB / 297 MB, free: 17.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005086/0.1198, allocations: 359 kB / 297.3 MB, free: 17.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000415/0.1202, allocations: 0.7444 MB / 298.1 MB, free: 17.37 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003301/0.1205, allocations: 418 kB / 298.5 MB, free: 17.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001305/0.1218, allocations: 1.832 MB / 300.3 MB, free: 16.34 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.614e-06/0.1218, allocations: 1.375 kB / 300.3 MB, free: 16.34 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1218, allocations: 0 / 300.3 MB, free: 16.34 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.277e-05/0.1219, allocations: 1.031 kB / 300.3 MB, free: 16.34 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.001575/0.1235, allocations: 1.966 MB / 302.3 MB, free: 14.81 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.82e-05/0.1235, allocations: 14.17 kB / 302.3 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001533/0.125, allocations: 0.6514 MB / 302.9 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005753/0.1256, allocations: 0.6451 MB / 303.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.128e-05/0.1256, allocations: 86.23 kB / 303.7 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003685/0.126, allocations: 235.6 kB / 303.9 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001545/0.1275, allocations: 2.559 MB / 306.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.052e-05/0.1276, allocations: 21.12 kB / 306.5 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001095/0.1277, allocations: 59.03 kB / 306.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006929/0.1284, allocations: 1.008 MB / 307.5 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/0.1296, allocations: 1.319 MB / 308.9 MB, free: 9.531 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00719/0.1368, allocations: 17.15 MB / 326 MB, free: 7.664 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000451/0.1372, allocations: 454.4 kB / 326.5 MB, free: 7.184 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.1374, allocations: 120.6 kB / 326.6 MB, free: 7.055 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.1374, allocations: 15.95 kB / 326.6 MB, free: 7.039 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.1374, allocations: 38.56 kB / 326.6 MB, free: 6.992 MB / 282.7 MB Notification: Performance of pre-optimization done (n=86): time 1.814e-06/0.1374, allocations: 4 kB / 326.6 MB, free: 6.988 MB / 282.7 MB Notification: Performance of matching and sorting (n=117): time 0.002978/0.1404, allocations: 1.678 MB / 328.3 MB, free: 5.309 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/0.1404, allocations: 140.8 kB / 328.5 MB, free: 5.141 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009945/0.1414, allocations: 1.668 MB / 330.1 MB, free: 3.422 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.379e-05/0.1415, allocations: 41.69 kB / 330.2 MB, free: 3.375 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006862/0.1422, allocations: 1.785 MB / 331.9 MB, free: 1.57 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002341/0.1424, allocations: 472.3 kB / 332.4 MB, free: 1.105 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006534/0.1431, allocations: 0.7632 MB / 333.2 MB, free: 340 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.007e-05/0.1432, allocations: 341.9 kB / 333.5 MB, free: 15.99 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004903/0.1436, allocations: 465.9 kB / 334 MB, free: 15.53 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001483/0.1451, allocations: 2.954 MB / 336.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002568/0.1477, allocations: 3.9 MB / 340.8 MB, free: 6.059 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.84e-05/0.1477, allocations: 28 kB / 340.8 MB, free: 6.031 MB / 298.7 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.002432/0.1502, allocations: 2.768 MB / 343.6 MB, free: 3.258 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.567e-05/0.1502, allocations: 44 kB / 343.7 MB, free: 3.215 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002919/0.1505, allocations: 310 kB / 344 MB, free: 2.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.995e-05/0.1506, allocations: 123.9 kB / 344.1 MB, free: 2.789 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/0.1519, allocations: 0.9276 MB / 345 MB, free: 1.859 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.063e-05/0.152, allocations: 179.3 kB / 345.2 MB, free: 1.684 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009821/0.153, allocations: 187.7 kB / 345.4 MB, free: 1.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001842/0.1532, allocations: 224.9 kB / 345.6 MB, free: 1.281 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.0004706/0.1537, allocations: 451.3 kB / 346 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001513/0.1538, allocations: 115.9 kB / 346.1 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001749/0.154, allocations: 200.8 kB / 346.3 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002555/0.1542, allocations: 267 kB / 346.6 MB, free: 256 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1542, allocations: 4 kB / 346.6 MB, free: 252 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.1542, allocations: 3.984 kB / 346.6 MB, free: 248 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002007/0.1563, allocations: 1.877 MB / 348.5 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.1563, allocations: 4.438 kB / 348.5 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003166/0.1566, allocations: 143.8 kB / 348.6 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.173e-06/0.1566, allocations: 8 kB / 348.6 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.146e-05/0.1566, allocations: 19.98 kB / 348.7 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.072e-06/0.1566, allocations: 8 kB / 348.7 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.1566, allocations: 4 kB / 348.7 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006752/0.1573, allocations: 1.103 MB / 349.8 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002198/0.1575, allocations: 226.5 kB / 350 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.621e-05/0.1576, allocations: 16 kB / 350 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000291/0.1579, allocations: 20 kB / 350 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.402e-05/0.158, allocations: 75.75 kB / 350.1 MB, free: 12.6 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.855e-05/0.158, allocations: 27.98 kB / 350.1 MB, free: 12.57 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000489/0.1585, allocations: 0.6221 MB / 350.7 MB, free: 11.92 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1585, allocations: 0 / 350.7 MB, free: 11.92 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001449/0.16, allocations: 0.5271 MB / 351.3 MB, free: 11.39 MB / 314.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.0002812/0.1602, allocations: 168 kB / 351.4 MB, free: 11.22 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001362/0.1616, allocations: 1.593 MB / 353 MB, free: 9.633 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.692e-05/0.1617, allocations: 55.94 kB / 353.1 MB, free: 9.574 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002291/0.1619, allocations: 249.6 kB / 353.3 MB, free: 9.328 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006151/0.1625, allocations: 179.9 kB / 353.5 MB, free: 9.156 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003779/0.1663, allocations: 3.721 MB / 357.2 MB, free: 5.32 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004603/0.1668, allocations: 0.6046 MB / 357.8 MB, free: 4.688 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006528/0.1674, allocations: 308.3 kB / 358.1 MB, free: 4.387 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003897/0.1678, allocations: 327.3 kB / 358.5 MB, free: 4.066 MB / 314.7 MB Notification: Performance of SimCode: time 1.092e-06/0.1678, allocations: 0 / 358.5 MB, free: 4.066 MB / 314.7 MB Notification: Performance of Templates: time 0.0213/0.1891, allocations: 15.46 MB / 373.9 MB, free: 4.809 MB / 330.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: 2.7209831150248647]