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.002438/0.002438, allocations: 81.5 kB / 19.44 MB, free: 348 kB / 13.93 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.003031/0.003031, allocations: 177.2 kB / 22.76 MB, free: 1.664 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 1.529/1.529, allocations: 177.2 MB / 203.1 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] 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.05385/0.05385, allocations: 6.197 MB / 265.8 MB, free: 7.125 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.362e-06/1.362e-06, allocations: 0 / 336.9 MB, free: 12.05 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.495e-05/2.631e-05, allocations: 2.312 kB / 336.9 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.004644/0.004671, allocations: 5.352 MB / 342.3 MB, free: 6.668 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003021/0.007691, allocations: 2.005 MB / 344.3 MB, free: 4.656 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004524/0.008144, allocations: 23.94 kB / 344.3 MB, free: 4.633 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008411/0.008985, allocations: 437.9 kB / 344.7 MB, free: 4.203 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001125/0.01011, allocations: 0.7348 MB / 345.5 MB, free: 3.465 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000268/0.01038, allocations: 135.5 kB / 345.6 MB, free: 3.332 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001099/0.01148, allocations: 1.557 MB / 347.1 MB, free: 1.773 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003128/0.01179, allocations: 357.5 kB / 347.5 MB, free: 1.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005947/0.01238, allocations: 0.7401 MB / 348.2 MB, free: 0.668 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000739/0.01312, allocations: 0.7558 MB / 349 MB, free: 15.91 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001836/0.01331, allocations: 80 kB / 349.1 MB, free: 15.83 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007429/0.01405, allocations: 359.2 kB / 349.4 MB, free: 15.48 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001007/0.01506, allocations: 0.7476 MB / 350.2 MB, free: 14.73 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005618/0.01562, allocations: 426.2 kB / 350.6 MB, free: 14.31 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00336/0.01898, allocations: 2.685 MB / 353.3 MB, free: 11.62 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.01898, allocations: 0 / 353.3 MB, free: 11.62 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.01898, allocations: 0 / 353.3 MB, free: 11.62 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.128e-05/0.01903, allocations: 0 / 353.3 MB, free: 11.62 MB / 282.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.004329/0.02335, allocations: 2.564 MB / 355.8 MB, free: 9 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.0234, allocations: 15.89 kB / 355.8 MB, free: 8.984 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006017/0.02941, allocations: 1.739 MB / 357.6 MB, free: 7.242 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001944/0.03136, allocations: 0.7656 MB / 358.3 MB, free: 6.445 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.094e-05/0.03145, allocations: 90.41 kB / 358.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000683/0.03213, allocations: 231.6 kB / 358.7 MB, free: 6.129 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005411/0.03754, allocations: 3.312 MB / 362 MB, free: 2.184 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.997e-05/0.0376, allocations: 27.75 kB / 362 MB, free: 2.156 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000201/0.0378, allocations: 63.91 kB / 362.1 MB, free: 2.094 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002036/0.03984, allocations: 1.154 MB / 363.2 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004531/0.04437, allocations: 1.786 MB / 365 MB, free: 15.14 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02854/0.07291, allocations: 26.78 MB / 391.8 MB, free: 3.434 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001265/0.07418, allocations: 498.7 kB / 392.3 MB, free: 2.898 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003651/0.07454, allocations: 178.7 kB / 392.4 MB, free: 2.707 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.339e-05/0.07458, allocations: 12 kB / 392.5 MB, free: 2.695 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.193e-05/0.07462, allocations: 49.33 kB / 392.5 MB, free: 2.637 MB / 314.7 MB Notification: Performance of pre-optimization done (n=86): time 2.905e-06/0.07462, allocations: 0 / 392.5 MB, free: 2.637 MB / 314.7 MB Notification: Performance of matching and sorting (n=117): time 0.009633/0.08425, allocations: 3.373 MB / 395.9 MB, free: 15.25 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.08436, allocations: 136.8 kB / 396 MB, free: 15.08 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003831/0.08819, allocations: 2.691 MB / 398.7 MB, free: 12.33 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.698e-05/0.08827, allocations: 41.69 kB / 398.7 MB, free: 12.29 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002102/0.09038, allocations: 2.084 MB / 400.8 MB, free: 10.18 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005691/0.09094, allocations: 0.5004 MB / 401.3 MB, free: 9.676 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001544/0.09249, allocations: 1.034 MB / 402.4 MB, free: 8.629 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003008/0.09279, allocations: 0.516 MB / 402.9 MB, free: 8.105 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001132/0.09392, allocations: 495.8 kB / 403.4 MB, free: 7.617 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005181/0.0991, allocations: 4.501 MB / 407.9 MB, free: 1.32 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1183/0.2174, allocations: 5.48 MB / 413.3 MB, free: 66.83 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.067e-05/0.2175, allocations: 26.38 kB / 413.4 MB, free: 66.83 MB / 330.7 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.005586/0.223, allocations: 3.619 MB / 417 MB, free: 66.13 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.246e-05/0.2231, allocations: 45.61 kB / 417 MB, free: 66.13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007504/0.2238, allocations: 479.6 kB / 417.5 MB, free: 66.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001052/0.224, allocations: 120 kB / 417.6 MB, free: 66.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002521/0.2265, allocations: 0.9479 MB / 418.6 MB, free: 66.03 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001048/0.2266, allocations: 186.3 kB / 418.8 MB, free: 65.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001993/0.2286, allocations: 223.8 kB / 419 MB, free: 65.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002547/0.2288, allocations: 256.9 kB / 419.2 MB, free: 65.98 MB / 330.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.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * 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.0007069/0.2295, allocations: 0.5449 MB / 419.8 MB, free: 65.74 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002808/0.2298, allocations: 211.9 kB / 420 MB, free: 65.73 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004405/0.2303, allocations: 205.8 kB / 420.2 MB, free: 65.71 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006585/0.2309, allocations: 431 kB / 420.6 MB, free: 65.66 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.2309, allocations: 0 / 420.6 MB, free: 65.66 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.2309, allocations: 7.312 kB / 420.6 MB, free: 65.66 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004939/0.2359, allocations: 3.169 MB / 423.8 MB, free: 64.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.2359, allocations: 3.75 kB / 423.8 MB, free: 64.95 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006926/0.2366, allocations: 173.1 kB / 423.9 MB, free: 64.94 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.696e-06/0.2366, allocations: 9.062 kB / 424 MB, free: 64.93 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.572e-05/0.2366, allocations: 27.05 kB / 424 MB, free: 64.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.2366, allocations: 12 kB / 424 MB, free: 64.9 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.2366, allocations: 11.94 kB / 424 MB, free: 64.89 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/0.2379, allocations: 1.471 MB / 425.5 MB, free: 63.5 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005812/0.2385, allocations: 270.6 kB / 425.7 MB, free: 63.27 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001718/0.2387, allocations: 25.02 kB / 425.8 MB, free: 63.24 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007096/0.2394, allocations: 55.59 kB / 425.8 MB, free: 63.21 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.2395, allocations: 69.64 kB / 425.9 MB, free: 63.17 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-05/0.2396, allocations: 39.72 kB / 425.9 MB, free: 63.14 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001105/0.2407, allocations: 1.06 MB / 427 MB, free: 62.2 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2407, allocations: 0 / 427 MB, free: 62.2 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002283/0.2429, allocations: 0.5307 MB / 427.5 MB, free: 61.68 MB / 330.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.0003169/0.2433, allocations: 179.3 kB / 427.7 MB, free: 61.52 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002635/0.2459, allocations: 2.056 MB / 429.7 MB, free: 59.7 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2459, allocations: 0 / 429.7 MB, free: 59.7 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004696/0.2464, allocations: 372.1 kB / 430.1 MB, free: 59.37 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.2474, allocations: 170.4 kB / 430.3 MB, free: 59.21 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004103/0.2515, allocations: 3.775 MB / 434 MB, free: 55.65 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00106/0.2526, allocations: 1.196 MB / 435.2 MB, free: 54.76 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.002177/0.2547, allocations: 1.225 MB / 436.5 MB, free: 53.53 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003293/0.2551, allocations: 140.5 kB / 436.6 MB, free: 53.39 MB / 330.7 MB Notification: Performance of SimCode: time 1.383e-06/0.2551, allocations: 0 / 436.6 MB, free: 53.39 MB / 330.7 MB Notification: Performance of Templates: time 0.02383/0.2789, allocations: 14.02 MB / 450.6 MB, free: 39.71 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: 5.361602523946203]