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.0009602/0.0009602, allocations: 76.94 kB / 19.94 MB, free: 4.543 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.001019/0.001019, allocations: 176.9 kB / 23.36 MB, free: 1.125 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.9011/0.9011, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.0273/0.0273, allocations: 6.212 MB / 266.5 MB, free: 6.941 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.272e-06/1.272e-06, allocations: 0 / 284.9 MB, free: 4.535 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.109e-05/1.236e-05, allocations: 2.312 kB / 284.9 MB, free: 4.531 MB / 266.7 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.1033/0.1033, allocations: 5.316 MB / 290.2 MB, free: 19.3 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002943/0.1062, allocations: 2.062 MB / 292.2 MB, free: 19.08 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003809/0.1066, allocations: 21.94 kB / 292.3 MB, free: 19.07 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007982/0.1074, allocations: 439.2 kB / 292.7 MB, free: 18.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00114/0.1085, allocations: 0.7405 MB / 293.4 MB, free: 18.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002674/0.1088, allocations: 134.4 kB / 293.6 MB, free: 18.79 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001407/0.1102, allocations: 1.561 MB / 295.1 MB, free: 18.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005488/0.1108, allocations: 392.2 kB / 295.5 MB, free: 18.14 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009221/0.1117, allocations: 0.7401 MB / 296.3 MB, free: 17.85 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001004/0.1127, allocations: 0.7161 MB / 297 MB, free: 17.67 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002085/0.1129, allocations: 79.81 kB / 297 MB, free: 17.67 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006751/0.1136, allocations: 371.3 kB / 297.4 MB, free: 17.6 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005091/0.1141, allocations: 0.7399 MB / 298.1 MB, free: 17.3 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004749/0.1146, allocations: 422.9 kB / 298.6 MB, free: 17.1 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001616/0.1162, allocations: 1.834 MB / 300.4 MB, free: 16.27 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1162, allocations: 4 kB / 300.4 MB, free: 16.26 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1162, allocations: 1.375 kB / 300.4 MB, free: 16.26 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.692e-05/0.1163, allocations: 0 / 300.4 MB, free: 16.26 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.002207/0.1185, allocations: 1.958 MB / 302.4 MB, free: 14.74 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.1185, allocations: 13.3 kB / 302.4 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001779/0.1203, allocations: 0.648 MB / 303 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007554/0.121, allocations: 0.657 MB / 303.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.647e-05/0.1211, allocations: 85.78 kB / 303.8 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003825/0.1215, allocations: 230.8 kB / 304 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001896/0.1234, allocations: 2.562 MB / 306.5 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.658e-05/0.1234, allocations: 20 kB / 306.6 MB, free: 11.74 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/0.1235, allocations: 62.72 kB / 306.6 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007019/0.1242, allocations: 1.003 MB / 307.6 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00149/0.1257, allocations: 1.328 MB / 309 MB, free: 9.422 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008109/0.1338, allocations: 17.15 MB / 326.1 MB, free: 7.562 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005186/0.1343, allocations: 449.4 kB / 326.5 MB, free: 7.086 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.1345, allocations: 116.6 kB / 326.7 MB, free: 6.961 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.1345, allocations: 15.95 kB / 326.7 MB, free: 6.945 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.1345, allocations: 50.48 kB / 326.7 MB, free: 6.887 MB / 282.7 MB Notification: Performance of pre-optimization done (n=86): time 4.017e-06/0.1345, allocations: 0 / 326.7 MB, free: 6.887 MB / 282.7 MB Notification: Performance of matching and sorting (n=117): time 0.003357/0.1379, allocations: 1.674 MB / 328.4 MB, free: 5.211 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/0.1379, allocations: 140.8 kB / 328.5 MB, free: 5.043 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.139, allocations: 1.672 MB / 330.2 MB, free: 3.32 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.739e-05/0.1391, allocations: 41.69 kB / 330.2 MB, free: 3.273 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006443/0.1397, allocations: 1.782 MB / 332 MB, free: 1.473 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002354/0.1399, allocations: 476.3 kB / 332.5 MB, free: 1.004 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005297/0.1405, allocations: 0.767 MB / 333.3 MB, free: 232 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.623e-05/0.1406, allocations: 333.9 kB / 333.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004681/0.141, allocations: 469.9 kB / 334 MB, free: 15.43 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001458/0.1425, allocations: 2.957 MB / 337 MB, free: 11.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002666/0.1451, allocations: 3.908 MB / 340.9 MB, free: 5.953 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.951e-05/0.1452, allocations: 28 kB / 340.9 MB, free: 5.926 MB / 298.7 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.002821/0.148, allocations: 2.766 MB / 343.7 MB, free: 3.152 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.858e-05/0.148, allocations: 44 kB / 343.7 MB, free: 3.109 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003004/0.1483, allocations: 314 kB / 344.1 MB, free: 2.801 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.903e-05/0.1484, allocations: 123.9 kB / 344.2 MB, free: 2.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001488/0.1499, allocations: 0.9553 MB / 345.1 MB, free: 1.719 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.847e-05/0.15, allocations: 179.3 kB / 345.3 MB, free: 1.543 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/0.1511, allocations: 180.3 kB / 345.5 MB, free: 1.367 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001891/0.1513, allocations: 228 kB / 345.7 MB, free: 1.145 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.0005566/0.1518, allocations: 454.3 kB / 346.2 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/0.152, allocations: 115.9 kB / 346.3 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001791/0.1522, allocations: 209.6 kB / 346.5 MB, free: 372 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000502/0.1527, allocations: 255 kB / 346.7 MB, free: 116 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.1527, allocations: 4 kB / 346.7 MB, free: 112 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.1527, allocations: 3.984 kB / 346.7 MB, free: 108 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002184/0.1549, allocations: 1.875 MB / 348.6 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.1549, allocations: 9.312 kB / 348.6 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000352/0.1552, allocations: 151.8 kB / 348.8 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.1553, allocations: 4 kB / 348.8 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.31e-05/0.1553, allocations: 20 kB / 348.8 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.181e-06/0.1553, allocations: 7.984 kB / 348.8 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.1553, allocations: 11.94 kB / 348.8 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006739/0.156, allocations: 1.095 MB / 349.9 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002207/0.1562, allocations: 222.5 kB / 350.1 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.675e-05/0.1563, allocations: 27.98 kB / 350.1 MB, free: 12.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003059/0.1566, allocations: 23.98 kB / 350.2 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.635e-05/0.1567, allocations: 68.39 kB / 350.2 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.29e-05/0.1567, allocations: 27.98 kB / 350.3 MB, free: 12.43 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004961/0.1572, allocations: 0.6182 MB / 350.9 MB, free: 11.78 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1572, allocations: 0 / 350.9 MB, free: 11.78 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001611/0.1588, allocations: 0.5272 MB / 351.4 MB, free: 11.25 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.0002909/0.1591, allocations: 175.9 kB / 351.6 MB, free: 11.07 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001508/0.1606, allocations: 1.593 MB / 353.2 MB, free: 9.484 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.905e-05/0.1607, allocations: 51.94 kB / 353.2 MB, free: 9.43 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002392/0.161, allocations: 260 kB / 353.5 MB, free: 9.172 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006383/0.1616, allocations: 174.4 kB / 353.6 MB, free: 9.004 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004228/0.1658, allocations: 3.72 MB / 357.4 MB, free: 5.172 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004717/0.1663, allocations: 0.6007 MB / 358 MB, free: 4.543 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006977/0.167, allocations: 308.4 kB / 358.3 MB, free: 4.242 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004119/0.1674, allocations: 331.3 kB / 358.6 MB, free: 3.918 MB / 314.7 MB Notification: Performance of SimCode: time 1.643e-06/0.1674, allocations: 0 / 358.6 MB, free: 3.918 MB / 314.7 MB Notification: Performance of Templates: time 0.02263/0.19, allocations: 15.46 MB / 374 MB, free: 4.664 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.701799999922514]