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.0006631/0.0006631, allocations: 77.06 kB / 9.98 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008756/0.001539, allocations: 444 kB / 10.41 MB, free: 276 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.0006722/0.0006722, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008613/0.001534, allocations: 475.6 kB / 11.79 MB, free: 2.371 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.8779/0.8779, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07641/0.9543, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.0259/0.0259, allocations: 6.187 MB / 250.3 MB, free: 8.789 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003766/0.02967, allocations: 2.299 MB / 252.6 MB, free: 6.488 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.392e-06/1.392e-06, allocations: 0 / 253.9 MB, free: 5.18 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.545e-05/1.684e-05, allocations: 6.25 kB / 253.9 MB, free: 5.172 MB / 250.7 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.004186/0.004203, allocations: 5.373 MB / 259.3 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002612/0.006815, allocations: 2.067 MB / 261.4 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003139/0.007129, allocations: 23.94 kB / 261.4 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006192/0.007748, allocations: 461.8 kB / 261.9 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001003/0.008751, allocations: 0.7425 MB / 262.6 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002383/0.00899, allocations: 123.6 kB / 262.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001184/0.01017, allocations: 1.53 MB / 264.2 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003968/0.01057, allocations: 313.8 kB / 264.6 MB, free: 10.49 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006919/0.01126, allocations: 0.7914 MB / 265.3 MB, free: 9.699 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006924/0.01195, allocations: 0.7012 MB / 266 MB, free: 8.996 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001294/0.01208, allocations: 80 kB / 266.1 MB, free: 8.918 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005201/0.0126, allocations: 371.3 kB / 266.5 MB, free: 8.555 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003796/0.01298, allocations: 0.6816 MB / 267.2 MB, free: 7.871 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002748/0.01326, allocations: 358.5 kB / 267.5 MB, free: 7.52 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001237/0.0145, allocations: 1.727 MB / 269.2 MB, free: 5.785 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.071e-05/0.01451, allocations: 0 / 269.2 MB, free: 5.785 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.01451, allocations: 0 / 269.2 MB, free: 5.785 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.443e-05/0.01454, allocations: 0 / 269.2 MB, free: 5.785 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.001884/0.01643, allocations: 2.387 MB / 271.6 MB, free: 3.34 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.01646, allocations: 19.91 kB / 271.7 MB, free: 3.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00157/0.01803, allocations: 0.6484 MB / 272.3 MB, free: 2.672 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006227/0.01865, allocations: 0.6574 MB / 273 MB, free: 1.984 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.024e-05/0.01869, allocations: 78.42 kB / 273 MB, free: 1.906 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003677/0.01906, allocations: 231.6 kB / 273.3 MB, free: 1.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09989/0.1189, allocations: 2.54 MB / 275.8 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.201e-05/0.119, allocations: 29.73 kB / 275.8 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001473/0.1191, allocations: 58.52 kB / 275.9 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009796/0.1201, allocations: 0.9385 MB / 276.8 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002181/0.1223, allocations: 1.315 MB / 278.1 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008796/0.1311, allocations: 17.12 MB / 295.3 MB, free: 15.56 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005572/0.1317, allocations: 443.1 kB / 295.7 MB, free: 15.33 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000136/0.1318, allocations: 122.8 kB / 295.8 MB, free: 15.29 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.1318, allocations: 10.45 kB / 295.8 MB, free: 15.29 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.1318, allocations: 48.67 kB / 295.9 MB, free: 15.23 MB / 282.7 MB Notification: Performance of pre-optimization done (n=86): time 3.396e-06/0.1318, allocations: 0 / 295.9 MB, free: 15.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=117): time 0.003667/0.1355, allocations: 1.749 MB / 297.6 MB, free: 14.8 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/0.1356, allocations: 141.4 kB / 297.8 MB, free: 14.64 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/0.1367, allocations: 1.672 MB / 299.4 MB, free: 14.13 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.385e-05/0.1368, allocations: 42.44 kB / 299.5 MB, free: 14.09 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006464/0.1374, allocations: 1.783 MB / 301.3 MB, free: 12.74 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002443/0.1377, allocations: 476.1 kB / 301.7 MB, free: 12.42 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006084/0.1383, allocations: 0.7653 MB / 302.5 MB, free: 12.06 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.683e-05/0.1384, allocations: 336.3 kB / 302.8 MB, free: 11.75 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004246/0.1388, allocations: 465.6 kB / 303.3 MB, free: 11.66 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001418/0.1402, allocations: 2.956 MB / 306.2 MB, free: 8.078 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002669/0.1429, allocations: 4.214 MB / 310.4 MB, free: 3.504 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-05/0.1429, allocations: 28 kB / 310.5 MB, free: 3.477 MB / 282.7 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.00254/0.1455, allocations: 2.766 MB / 313.2 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.879e-05/0.1455, allocations: 44 kB / 313.3 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003339/0.1458, allocations: 335.8 kB / 313.6 MB, free: 332 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.385e-05/0.1459, allocations: 124.7 kB / 313.7 MB, free: 208 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001563/0.1475, allocations: 1.022 MB / 314.7 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.146e-05/0.1476, allocations: 187.3 kB / 314.9 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/0.1486, allocations: 183.7 kB / 315.1 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001849/0.1488, allocations: 228 kB / 315.3 MB, free: 14.59 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.0004931/0.1493, allocations: 450.3 kB / 315.8 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001607/0.1495, allocations: 111.9 kB / 315.9 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001866/0.1497, allocations: 205.5 kB / 316.1 MB, free: 13.83 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002541/0.1499, allocations: 255 kB / 316.3 MB, free: 13.58 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.1499, allocations: 4 kB / 316.3 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.1499, allocations: 3.984 kB / 316.3 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002104/0.152, allocations: 1.863 MB / 318.2 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.85e-05/0.1521, allocations: 11.98 kB / 318.2 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003678/0.1524, allocations: 163.7 kB / 318.4 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002127/0.1526, allocations: 226.5 kB / 318.6 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.215e-06/0.1526, allocations: 11.98 kB / 318.6 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.208e-05/0.1527, allocations: 16.88 kB / 318.6 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.1527, allocations: 8 kB / 318.6 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.1527, allocations: 11.92 kB / 318.6 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006619/0.1533, allocations: 1.097 MB / 319.7 MB, free: 10.03 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.166e-05/0.1534, allocations: 16 kB / 319.8 MB, free: 10.01 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003057/0.1537, allocations: 21.62 kB / 319.8 MB, free: 9.992 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.253e-05/0.1538, allocations: 69.5 kB / 319.8 MB, free: 9.926 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.045e-05/0.1539, allocations: 28.97 kB / 319.9 MB, free: 9.898 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004591/0.1543, allocations: 0.626 MB / 320.5 MB, free: 9.242 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1543, allocations: 0 / 320.5 MB, free: 9.242 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001367/0.1557, allocations: 0.5271 MB / 321 MB, free: 8.715 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.0002751/0.156, allocations: 175.5 kB / 321.2 MB, free: 8.539 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001389/0.1574, allocations: 1.671 MB / 322.9 MB, free: 6.973 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.106e-05/0.1574, allocations: 59.92 kB / 322.9 MB, free: 6.91 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002889/0.1577, allocations: 312 kB / 323.2 MB, free: 6.609 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009845/0.1587, allocations: 1.023 MB / 324.3 MB, free: 5.5 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004171/0.1629, allocations: 3.781 MB / 328 MB, free: 1.605 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004458/0.1633, allocations: 0.5955 MB / 328.6 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0006107/0.1639, allocations: 313.1 kB / 328.9 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003768/0.1643, allocations: 319.3 kB / 329.2 MB, free: 372 kB / 298.7 MB Notification: Performance of SimCode: time 1.353e-06/0.1643, allocations: 3.938 kB / 329.3 MB, free: 368 kB / 298.7 MB Notification: Performance of Templates: time 0.01955/0.1839, allocations: 13.46 MB / 342.7 MB, free: 2.992 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: 2.5809014523401856]