Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.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-master/package.mo", uses=false) 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_FlatRoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads") translateModel(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 110.6 kB / 15.99 MB, free: 6.348 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.001462/0.001462, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.351/1.351, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.04256/0.04256, allocations: 7.984 MB / 298.7 MB, free: 7.383 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 63.89 kB / 360.8 MB, free: 9.285 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2493, allocations: 51.21 MB / 412 MB, free: 26.94 MB / 302.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads): time 0.006951/0.2563, allocations: 9.079 MB / 421 MB, free: 17.83 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004405/0.2607, allocations: 2.489 MB / 423.5 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001392/0.2622, allocations: 31.94 kB / 423.6 MB, free: 15.31 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.2633, allocations: 362.7 kB / 423.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001439/0.2647, allocations: 0.6577 MB / 424.6 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000234/0.265, allocations: 87.84 kB / 424.7 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001299/0.2663, allocations: 1.572 MB / 426.2 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003471/0.2667, allocations: 338 kB / 426.6 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003888/0.2671, allocations: 0.4979 MB / 427.1 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006639/0.2677, allocations: 0.8174 MB / 427.9 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001116/0.2678, allocations: 80 kB / 428 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005624/0.2684, allocations: 395.3 kB / 428.3 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003974/0.2688, allocations: 0.7362 MB / 429.1 MB, free: 9.766 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004693/0.2693, allocations: 0.8923 MB / 430 MB, free: 8.867 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001507/0.2708, allocations: 2.123 MB / 432.1 MB, free: 6.742 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.2708, allocations: 4 kB / 432.1 MB, free: 6.738 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2708, allocations: 3.938 kB / 432.1 MB, free: 6.734 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.525e-05/0.2709, allocations: 0 / 432.1 MB, free: 6.734 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: 763 * Number of variables: 763 Notification: Performance of Generate backend data structure: time 0.002603/0.2735, allocations: 2.139 MB / 434.2 MB, free: 4.535 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.2735, allocations: 8.031 kB / 434.3 MB, free: 4.527 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004274/0.2778, allocations: 1.488 MB / 435.7 MB, free: 3.035 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/0.279, allocations: 0.8587 MB / 436.6 MB, free: 2.133 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.521e-05/0.2791, allocations: 85.97 kB / 436.7 MB, free: 2.047 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000612/0.2797, allocations: 251.7 kB / 436.9 MB, free: 1.801 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005853/0.2856, allocations: 5.041 MB / 442 MB, free: 12.28 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.648e-05/0.2857, allocations: 27.8 kB / 442 MB, free: 12.25 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001925/0.2859, allocations: 59.91 kB / 442.1 MB, free: 12.2 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001844/0.2877, allocations: 1.158 MB / 443.2 MB, free: 11.04 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007139/0.2949, allocations: 4.293 MB / 447.5 MB, free: 6.73 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02224/0.3171, allocations: 20.65 MB / 468.2 MB, free: 1.332 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001713/0.3189, allocations: 1.326 MB / 469.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005536/0.3195, allocations: 455.1 kB / 469.9 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.106e-05/0.3195, allocations: 4 kB / 469.9 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.3196, allocations: 42.5 kB / 470 MB, free: 15.35 MB / 350.1 MB Notification: Performance of pre-optimization done (n=85): time 3.276e-06/0.3196, allocations: 4 kB / 470 MB, free: 15.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=114): time 0.006231/0.3258, allocations: 3.959 MB / 473.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.993e-05/0.3259, allocations: 136.5 kB / 474.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00325/0.3292, allocations: 2.401 MB / 476.5 MB, free: 8.742 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.167e-05/0.3293, allocations: 41.69 kB / 476.5 MB, free: 8.695 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001186/0.3305, allocations: 1.757 MB / 478.3 MB, free: 6.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003727/0.3309, allocations: 458.2 kB / 478.7 MB, free: 6.457 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001208/0.3321, allocations: 0.8174 MB / 479.5 MB, free: 5.629 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.3323, allocations: 358.1 kB / 479.9 MB, free: 5.273 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001748/0.334, allocations: 1.277 MB / 481.2 MB, free: 3.992 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003615/0.3376, allocations: 3.912 MB / 485.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006057/0.3437, allocations: 5.657 MB / 490.7 MB, free: 7.797 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-05/0.3438, allocations: 24 kB / 490.8 MB, free: 7.773 MB / 366.1 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.007854/0.3517, allocations: 4.956 MB / 495.7 MB, free: 2.812 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.433e-05/0.3518, allocations: 44 kB / 495.8 MB, free: 2.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000992/0.3528, allocations: 0.7848 MB / 496.5 MB, free: 1.988 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001246/0.3529, allocations: 120.1 kB / 496.7 MB, free: 1.871 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002679/0.3556, allocations: 0.9513 MB / 497.6 MB, free: 0.918 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001353/0.3557, allocations: 183.3 kB / 497.8 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002198/0.3579, allocations: 215.6 kB / 498 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003224/0.3583, allocations: 252 kB / 498.2 MB, free: 288 kB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 425 * 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 (509): * Single equations (assignments): 503 * 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.001625/0.3599, allocations: 1.206 MB / 499.4 MB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003555/0.3603, allocations: 201.3 kB / 499.6 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004585/0.3607, allocations: 263.1 kB / 499.9 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009529/0.3617, allocations: 0.7113 MB / 0.4889 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.568e-05/0.3617, allocations: 8 kB / 0.4889 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.285e-05/0.3617, allocations: 3.984 kB / 0.4889 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004746/0.3665, allocations: 3.213 MB / 0.492 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.269e-05/0.3665, allocations: 8 kB / 0.492 GB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000509/0.367, allocations: 155.7 kB / 0.4922 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.574e-05/0.3671, allocations: 12 kB / 0.4922 GB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.553e-05/0.3671, allocations: 31.98 kB / 0.4922 GB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.708e-05/0.3672, allocations: 23.88 kB / 0.4923 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.947e-06/0.3672, allocations: 11.94 kB / 0.4923 GB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001879/0.3691, allocations: 1.709 MB / 0.4939 GB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004557/0.3695, allocations: 274.3 kB / 0.4942 GB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00019/0.3697, allocations: 27.98 kB / 0.4942 GB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006457/0.3704, allocations: 51.88 kB / 0.4943 GB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.3705, allocations: 83.67 kB / 0.4943 GB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.642e-05/0.3706, allocations: 43.94 kB / 0.4944 GB, free: 7.906 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002165/0.3728, allocations: 1.486 MB / 0.4958 GB, free: 6.402 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3728, allocations: 0 / 0.4958 GB, free: 6.402 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002708/0.3755, allocations: 0.5078 MB / 0.4963 GB, free: 5.895 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * 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 (84): * Single equations (assignments): 78 * 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.0003861/0.3759, allocations: 194.9 kB / 0.4965 GB, free: 5.695 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004612/0.3805, allocations: 2.932 MB / 0.4994 GB, free: 2.781 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.151e-05/0.3805, allocations: 4 kB / 0.4994 GB, free: 2.777 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007053/0.3812, allocations: 0.5373 MB / 0.4999 GB, free: 2.242 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001635/0.3829, allocations: 191.5 kB / 0.5001 GB, free: 2.051 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1878/0.5707, allocations: 5.816 MB / 0.5058 GB, free: 77.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001525/0.5723, allocations: 1.928 MB / 0.5077 GB, free: 76.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005004/0.5728, allocations: 180.7 kB / 0.5078 GB, free: 76.92 MB / 382.1 MB Notification: Performance of SimCode: time 7.82e-07/0.5728, allocations: 0 / 0.5078 GB, free: 76.92 MB / 382.1 MB Notification: Performance of Templates: time 0.03924/0.6121, allocations: 30.05 MB / 0.5372 GB, free: 55.31 MB / 382.1 MB make -j1 -f VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.makefile (rm -f VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe ; mkfifo VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe ; head -c 1048576 < VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe >> ../files/VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.sim & ./VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe 2>&1)