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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 103.4 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 188.4 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.264/1.264, allocations: 225.6 MB / 250 MB, free: 13.43 MB / 206.1 MB [Timeout remaining time 89] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.04314/0.04314, allocations: 8.112 MB / 313.1 MB, free: 1.387 MB / 238.1 MB [Timeout remaining time 90] Using package VehicleInterfaces with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads") translateModel(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001728/0.001728, allocations: 75.89 kB / 436.2 MB, free: 14.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07685/0.07858, allocations: 54.02 MB / 490.2 MB, free: 8.336 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.00629/0.08487, allocations: 5.573 MB / 495.8 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003086/0.08796, allocations: 2.048 MB / 497.8 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000215/0.08817, allocations: 20 kB / 497.8 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008292/0.089, allocations: 426 kB / 498.3 MB, free: 252 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001208/0.09021, allocations: 0.7158 MB / 499 MB, free: 15.53 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002787/0.09049, allocations: 131.6 kB / 499.1 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00157/0.09206, allocations: 1.54 MB / 0.4889 GB, free: 13.86 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003285/0.09238, allocations: 258.2 kB / 0.4891 GB, free: 13.59 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004907/0.09288, allocations: 0.5096 MB / 0.4896 GB, free: 13.08 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008896/0.09377, allocations: 0.79 MB / 0.4904 GB, free: 12.29 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001383/0.0939, allocations: 84 kB / 0.4905 GB, free: 12.2 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006997/0.0946, allocations: 447.2 kB / 0.4909 GB, free: 11.77 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006079/0.09521, allocations: 0.7437 MB / 0.4916 GB, free: 11.02 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007025/0.09591, allocations: 0.8729 MB / 0.4925 GB, free: 10.14 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002577/0.09849, allocations: 2.815 MB / 0.4953 GB, free: 7.312 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.09849, allocations: 0 / 0.4953 GB, free: 7.312 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.0985, allocations: 0 / 0.4953 GB, free: 7.312 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.826e-05/0.09851, allocations: 3.938 kB / 0.4953 GB, free: 7.309 MB / 366.1 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.002931/0.1014, allocations: 2.198 MB / 0.4974 GB, free: 5.047 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.1015, allocations: 12.02 kB / 0.4974 GB, free: 5.035 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004307/0.1058, allocations: 1.497 MB / 0.4989 GB, free: 3.535 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001303/0.1071, allocations: 0.8589 MB / 0.4997 GB, free: 2.633 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.238e-05/0.1072, allocations: 94.02 kB / 0.4998 GB, free: 2.539 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006005/0.1078, allocations: 243.8 kB / 0.5 GB, free: 2.301 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1585/0.2663, allocations: 5.035 MB / 0.505 GB, free: 21.09 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.659e-05/0.2663, allocations: 23.41 kB / 0.505 GB, free: 21.07 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001599/0.2665, allocations: 69.81 kB / 0.505 GB, free: 21.07 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001492/0.268, allocations: 1.157 MB / 0.5062 GB, free: 21.02 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005425/0.2734, allocations: 4.296 MB / 0.5104 GB, free: 19.7 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01323/0.2867, allocations: 20.64 MB / 0.5305 GB, free: 3.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/0.2878, allocations: 1.29 MB / 0.5318 GB, free: 2.758 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004202/0.2882, allocations: 416.9 kB / 0.5322 GB, free: 2.555 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.2882, allocations: 12.75 kB / 0.5322 GB, free: 2.551 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.568e-05/0.2883, allocations: 45.25 kB / 0.5322 GB, free: 2.5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=86): time 2.805e-06/0.2883, allocations: 0 / 0.5322 GB, free: 2.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=117): time 0.009195/0.2975, allocations: 4.592 MB / 0.5367 GB, free: 15.99 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.588e-05/0.2975, allocations: 140.7 kB / 0.5369 GB, free: 15.83 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002461/0.3, allocations: 2.401 MB / 0.5392 GB, free: 14.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.522e-05/0.3001, allocations: 41.22 kB / 0.5392 GB, free: 14.28 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001253/0.3013, allocations: 1.834 MB / 0.541 GB, free: 12.44 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003769/0.3017, allocations: 484.4 kB / 0.5415 GB, free: 11.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009347/0.3026, allocations: 0.8377 MB / 0.5423 GB, free: 11.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.3028, allocations: 356.1 kB / 0.5426 GB, free: 10.76 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001746/0.3045, allocations: 1.308 MB / 0.5439 GB, free: 9.449 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003699/0.3082, allocations: 3.922 MB / 0.5478 GB, free: 4.215 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006048/0.3143, allocations: 5.71 MB / 0.5533 GB, free: 13.21 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.22e-05/0.3143, allocations: 28 kB / 0.5534 GB, free: 13.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.006898/0.3212, allocations: 5.047 MB / 0.5583 GB, free: 8.133 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.322e-05/0.3213, allocations: 44 kB / 0.5583 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001119/0.3224, allocations: 0.8335 MB / 0.5591 GB, free: 7.254 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000124/0.3225, allocations: 127.9 kB / 0.5593 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002515/0.325, allocations: 0.9529 MB / 0.5602 GB, free: 6.176 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001413/0.3252, allocations: 183.8 kB / 0.5604 GB, free: 5.996 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001898/0.3271, allocations: 231.6 kB / 0.5606 GB, free: 5.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00029/0.3273, allocations: 260 kB / 0.5608 GB, free: 5.516 MB / 398.1 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.001423/0.3288, allocations: 1.191 MB / 0.562 GB, free: 4.312 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000307/0.3291, allocations: 210.6 kB / 0.5622 GB, free: 4.105 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004638/0.3295, allocations: 267.1 kB / 0.5625 GB, free: 3.84 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001092/0.3306, allocations: 0.7954 MB / 0.5632 GB, free: 3.039 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.3306, allocations: 0 / 0.5632 GB, free: 3.039 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.3307, allocations: 7.984 kB / 0.5632 GB, free: 3.031 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005039/0.3357, allocations: 3.343 MB / 0.5665 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.796e-06/0.3357, allocations: 4.438 kB / 0.5665 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000676/0.3364, allocations: 175.7 kB / 0.5667 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.838e-06/0.3364, allocations: 9.875 kB / 0.5667 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.657e-05/0.3364, allocations: 27.97 kB / 0.5667 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.075e-05/0.3365, allocations: 11.94 kB / 0.5667 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.3365, allocations: 4 kB / 0.5667 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001992/0.3384, allocations: 1.795 MB / 0.5685 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006087/0.3391, allocations: 391.5 kB / 0.5689 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001682/0.3392, allocations: 20 kB / 0.5689 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000695/0.3399, allocations: 60.47 kB / 0.5689 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.34, allocations: 67.8 kB / 0.569 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.606e-05/0.3401, allocations: 37.06 kB / 0.569 GB, free: 12.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001796/0.3419, allocations: 1.482 MB / 0.5705 GB, free: 11.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3419, allocations: 0 / 0.5705 GB, free: 11.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002229/0.3441, allocations: 0.535 MB / 0.571 GB, free: 10.88 MB / 414.1 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.0003378/0.3445, allocations: 187.5 kB / 0.5712 GB, free: 10.69 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003663/0.3481, allocations: 2.802 MB / 0.5739 GB, free: 7.902 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3481, allocations: 2.281 kB / 0.5739 GB, free: 7.902 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007895/0.3489, allocations: 0.5938 MB / 0.5745 GB, free: 7.312 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.35, allocations: 198.7 kB / 0.5747 GB, free: 7.121 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006257/0.3562, allocations: 4.91 MB / 0.5795 GB, free: 2.117 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001734/0.358, allocations: 1.922 MB / 0.5814 GB, free: 172 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004863/0.3585, allocations: 195.4 kB / 0.5815 GB, free: 15.97 MB / 430.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3585, allocations: 0 / 0.5815 GB, free: 15.97 MB / 430.1 MB Notification: Performance of Templates: time 0.04061/0.3991, allocations: 31.61 MB / 0.6124 GB, free: 436 kB / 446.1 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=480 -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.pipe 2>&1) [Timeout 480]