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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo", uses=false) Using package VehicleInterfaces with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/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=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads") translateModel(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 104.7 kB / 16.29 MB, free: 6.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001734/0.001734, allocations: 183.2 kB / 17.22 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo): time 0.04157/0.04157, allocations: 7.979 MB / 299 MB, free: 7.172 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 67.89 kB / 361.3 MB, free: 8.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2068, allocations: 51.21 MB / 412.5 MB, free: 26.74 MB / 302.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.005034/0.2119, allocations: 5.544 MB / 418.1 MB, free: 21.17 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002928/0.2148, allocations: 2.033 MB / 420.1 MB, free: 19.14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003802/0.2153, allocations: 23.94 kB / 420.1 MB, free: 19.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007936/0.2161, allocations: 402.2 kB / 420.5 MB, free: 18.72 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001062/0.2172, allocations: 0.6963 MB / 421.2 MB, free: 18.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002996/0.2175, allocations: 123.7 kB / 421.3 MB, free: 17.9 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001068/0.2186, allocations: 1.549 MB / 422.9 MB, free: 16.35 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000292/0.2189, allocations: 326.1 kB / 423.2 MB, free: 16.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003448/0.2192, allocations: 0.4978 MB / 423.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005779/0.2198, allocations: 0.7121 MB / 424.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001206/0.2199, allocations: 80 kB / 424.5 MB, free: 14.72 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000615/0.2206, allocations: 431.2 kB / 424.9 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003732/0.2209, allocations: 0.7244 MB / 425.6 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004427/0.2214, allocations: 0.8768 MB / 426.5 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001654/0.2231, allocations: 2.8 MB / 429.3 MB, free: 9.883 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2231, allocations: 0 / 429.3 MB, free: 9.883 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.995e-06/0.2231, allocations: 4 kB / 429.3 MB, free: 9.879 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.291e-05/0.2231, allocations: 0 / 429.3 MB, free: 9.879 MB / 302.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.002373/0.2255, allocations: 2.147 MB / 431.4 MB, free: 7.672 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.2255, allocations: 12.03 kB / 431.5 MB, free: 7.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004197/0.2297, allocations: 1.472 MB / 432.9 MB, free: 6.184 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001176/0.2309, allocations: 0.8588 MB / 433.8 MB, free: 5.281 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.679e-05/0.231, allocations: 89.97 kB / 433.9 MB, free: 5.191 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005748/0.2316, allocations: 251.6 kB / 434.1 MB, free: 4.945 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00457/0.2361, allocations: 5.037 MB / 439.2 MB, free: 15.44 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.748e-05/0.2362, allocations: 35.59 kB / 439.2 MB, free: 15.4 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001825/0.2364, allocations: 63.91 kB / 439.3 MB, free: 15.34 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001671/0.2381, allocations: 1.154 MB / 440.4 MB, free: 14.18 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006399/0.2445, allocations: 4.297 MB / 444.7 MB, free: 9.883 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01998/0.2645, allocations: 20.61 MB / 465.3 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001575/0.2661, allocations: 1.333 MB / 466.7 MB, free: 3.047 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005508/0.2667, allocations: 451.2 kB / 467.1 MB, free: 2.594 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.2667, allocations: 4 kB / 467.1 MB, free: 2.59 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.2667, allocations: 42.5 kB / 467.1 MB, free: 2.539 MB / 334.1 MB Notification: Performance of pre-optimization done (n=86): time 2.815e-06/0.2668, allocations: 0 / 467.1 MB, free: 2.539 MB / 334.1 MB Notification: Performance of matching and sorting (n=117): time 0.01166/0.2784, allocations: 4.481 MB / 471.6 MB, free: 14.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.196e-05/0.2785, allocations: 144.8 kB / 471.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002785/0.2813, allocations: 2.389 MB / 474.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.397e-05/0.2814, allocations: 45.69 kB / 474.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001093/0.2825, allocations: 1.761 MB / 476 MB, free: 9.574 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003494/0.2829, allocations: 462.2 kB / 476.4 MB, free: 9.117 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008888/0.2838, allocations: 0.8214 MB / 477.2 MB, free: 8.285 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.2839, allocations: 353.9 kB / 477.6 MB, free: 7.934 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001794/0.2857, allocations: 1.312 MB / 478.9 MB, free: 6.617 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003503/0.2892, allocations: 3.926 MB / 482.8 MB, free: 1.379 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005961/0.2952, allocations: 5.72 MB / 488.5 MB, free: 10.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.635e-05/0.2953, allocations: 24.19 kB / 488.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.007418/0.3027, allocations: 5.033 MB / 493.6 MB, free: 5.305 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.069e-05/0.3028, allocations: 48.19 kB / 493.6 MB, free: 5.258 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001108/0.3039, allocations: 0.8465 MB / 494.5 MB, free: 4.406 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001186/0.304, allocations: 120 kB / 494.6 MB, free: 4.289 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002726/0.3068, allocations: 0.9513 MB / 495.5 MB, free: 3.336 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001322/0.3069, allocations: 183.3 kB / 495.7 MB, free: 3.156 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002257/0.3092, allocations: 215.6 kB / 495.9 MB, free: 2.945 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003071/0.3095, allocations: 260 kB / 496.2 MB, free: 2.691 MB / 366.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.001448/0.311, allocations: 1.199 MB / 497.4 MB, free: 1.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000302/0.3113, allocations: 197.4 kB / 497.6 MB, free: 1.285 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004274/0.3117, allocations: 271.1 kB / 497.8 MB, free: 1.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001098/0.3128, allocations: 0.7876 MB / 498.6 MB, free: 228 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.3128, allocations: 0 / 498.6 MB, free: 228 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.3128, allocations: 11.97 kB / 498.6 MB, free: 216 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005125/0.318, allocations: 3.338 MB / 0.4902 GB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/0.318, allocations: 4 kB / 0.4902 GB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007302/0.3187, allocations: 175.7 kB / 0.4904 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-05/0.3188, allocations: 8 kB / 0.4904 GB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.736e-05/0.3188, allocations: 23.98 kB / 0.4904 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-05/0.3189, allocations: 15.88 kB / 0.4904 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.982e-06/0.3189, allocations: 8.438 kB / 0.4904 GB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00193/0.3208, allocations: 1.787 MB / 0.4922 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005598/0.3214, allocations: 382.3 kB / 0.4926 GB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001936/0.3216, allocations: 20 kB / 0.4926 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007265/0.3223, allocations: 59.86 kB / 0.4926 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.3224, allocations: 63.8 kB / 0.4927 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.747e-05/0.3225, allocations: 35.98 kB / 0.4927 GB, free: 10.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001813/0.3243, allocations: 1.478 MB / 0.4942 GB, free: 8.609 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3243, allocations: 0 / 0.4942 GB, free: 8.609 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00245/0.3268, allocations: 0.5468 MB / 0.4947 GB, free: 8.062 MB / 382.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.0003464/0.3271, allocations: 186.9 kB / 0.4949 GB, free: 7.871 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003863/0.331, allocations: 2.955 MB / 0.4978 GB, free: 4.941 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.331, allocations: 4 kB / 0.4978 GB, free: 4.938 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007838/0.3318, allocations: 0.6531 MB / 0.4984 GB, free: 4.285 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.333, allocations: 184.3 kB / 0.4986 GB, free: 4.102 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1575/0.4905, allocations: 4.578 MB / 0.5031 GB, free: 89.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00166/0.4922, allocations: 1.928 MB / 0.5049 GB, free: 89.22 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00267/0.4949, allocations: 1.442 MB / 0.5063 GB, free: 89.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003872/0.4953, allocations: 151.8 kB / 0.5065 GB, free: 89.2 MB / 382.1 MB Notification: Performance of SimCode: time 8.12e-07/0.4953, allocations: 3.75 kB / 0.5065 GB, free: 89.2 MB / 382.1 MB Notification: Performance of Templates: time 0.02574/0.521, allocations: 17.28 MB / 0.5234 GB, free: 78.62 MB / 382.1 MB make -j1 -f VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.makefile (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 -s gbode -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.pipe 2>&1)