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.001567/0.001567, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.00122/0.00122, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.235/1.235, allocations: 222.9 MB / 241 MB, free: 14.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.04037/0.04037, allocations: 7.999 MB / 299.1 MB, free: 7.094 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 59.89 kB / 362 MB, free: 8.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.175, allocations: 51.21 MB / 413.2 MB, free: 26.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads): time 0.004523/0.1796, allocations: 5.581 MB / 418.8 MB, free: 21 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002175/0.1818, allocations: 1.933 MB / 420.8 MB, free: 19.06 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002397/0.182, allocations: 23.94 kB / 420.8 MB, free: 19.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006635/0.1827, allocations: 414.1 kB / 421.2 MB, free: 18.63 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000865/0.1836, allocations: 0.6924 MB / 421.9 MB, free: 17.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001651/0.1838, allocations: 95.77 kB / 422 MB, free: 17.84 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001024/0.1848, allocations: 1.541 MB / 423.5 MB, free: 16.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002682/0.1851, allocations: 318.1 kB / 423.8 MB, free: 15.97 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002743/0.1854, allocations: 0.494 MB / 424.3 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005822/0.186, allocations: 0.7082 MB / 425 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.1861, allocations: 80 kB / 425.1 MB, free: 14.69 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004354/0.1865, allocations: 395.3 kB / 425.5 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003223/0.1869, allocations: 0.7127 MB / 426.2 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004015/0.1873, allocations: 0.8651 MB / 427.1 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001349/0.1886, allocations: 2.784 MB / 429.9 MB, free: 9.926 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1886, allocations: 3.938 kB / 429.9 MB, free: 9.922 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1886, allocations: 0 / 429.9 MB, free: 9.922 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.793e-05/0.1887, allocations: 0 / 429.9 MB, free: 9.922 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.002089/0.1908, allocations: 2.139 MB / 432 MB, free: 7.723 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.879e-05/0.1908, allocations: 12.02 kB / 432 MB, free: 7.711 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003884/0.1947, allocations: 1.484 MB / 433.5 MB, free: 6.223 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001476/0.1962, allocations: 0.8627 MB / 434.4 MB, free: 5.316 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.316e-05/0.1962, allocations: 89.95 kB / 434.4 MB, free: 5.227 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005401/0.1968, allocations: 239.7 kB / 434.7 MB, free: 4.992 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003836/0.2006, allocations: 5.045 MB / 439.7 MB, free: 15.47 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.147e-05/0.2007, allocations: 23.75 kB / 439.7 MB, free: 15.45 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001649/0.2008, allocations: 63.91 kB / 439.8 MB, free: 15.39 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001493/0.2023, allocations: 1.158 MB / 441 MB, free: 14.22 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005387/0.2077, allocations: 4.293 MB / 445.3 MB, free: 9.922 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01606/0.2238, allocations: 20.6 MB / 465.9 MB, free: 4.57 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/0.2253, allocations: 1.325 MB / 467.2 MB, free: 3.098 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005028/0.2258, allocations: 439.5 kB / 467.6 MB, free: 2.656 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.2258, allocations: 11.94 kB / 467.6 MB, free: 2.648 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.576e-05/0.2259, allocations: 42.5 kB / 467.7 MB, free: 2.598 MB / 334.1 MB Notification: Performance of pre-optimization done (n=85): time 3.276e-06/0.2259, allocations: 4 kB / 467.7 MB, free: 2.594 MB / 334.1 MB Notification: Performance of matching and sorting (n=114): time 0.005192/0.2311, allocations: 3.967 MB / 471.6 MB, free: 14.58 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/0.2311, allocations: 136.7 kB / 471.8 MB, free: 14.42 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00245/0.2336, allocations: 2.393 MB / 474.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.565e-05/0.2337, allocations: 41.64 kB / 474.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009757/0.2346, allocations: 1.768 MB / 476 MB, free: 10.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002849/0.2349, allocations: 446.3 kB / 476.4 MB, free: 9.703 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008266/0.2358, allocations: 0.8252 MB / 477.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.2359, allocations: 361.9 kB / 477.6 MB, free: 8.508 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001534/0.2374, allocations: 1.273 MB / 478.9 MB, free: 7.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002941/0.2404, allocations: 3.904 MB / 482.8 MB, free: 2.008 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004948/0.2454, allocations: 5.655 MB / 488.4 MB, free: 11.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.58e-05/0.2454, allocations: 28 kB / 488.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.006159/0.2516, allocations: 4.96 MB / 493.4 MB, free: 6.055 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.341e-05/0.2516, allocations: 46.34 kB / 493.5 MB, free: 6.012 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000861/0.2525, allocations: 0.7649 MB / 494.2 MB, free: 5.246 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.874e-05/0.2526, allocations: 124 kB / 494.3 MB, free: 5.125 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002257/0.2549, allocations: 0.9474 MB / 495.3 MB, free: 4.176 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001146/0.255, allocations: 179.5 kB / 495.5 MB, free: 4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001822/0.2568, allocations: 219.5 kB / 495.7 MB, free: 3.785 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002604/0.2571, allocations: 260 kB / 495.9 MB, free: 3.531 MB / 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.001257/0.2584, allocations: 1.202 MB / 497.1 MB, free: 2.316 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002486/0.2586, allocations: 197.4 kB / 497.3 MB, free: 2.121 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003821/0.259, allocations: 263.2 kB / 497.6 MB, free: 1.863 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000831/0.2598, allocations: 0.719 MB / 498.3 MB, free: 1.137 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.2599, allocations: 8 kB / 498.3 MB, free: 1.129 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.2599, allocations: 11.97 kB / 498.3 MB, free: 1.117 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004619/0.2645, allocations: 3.197 MB / 0.4898 GB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.408e-06/0.2645, allocations: 8 kB / 0.4898 GB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004457/0.265, allocations: 159.9 kB / 0.4899 GB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.125e-05/0.265, allocations: 12 kB / 0.4899 GB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.743e-05/0.2651, allocations: 32 kB / 0.49 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.389e-05/0.2651, allocations: 23.91 kB / 0.49 GB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.378e-06/0.2651, allocations: 15.94 kB / 0.49 GB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001463/0.2666, allocations: 1.718 MB / 0.4917 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003043/0.2669, allocations: 274.3 kB / 0.4919 GB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001635/0.267, allocations: 27.98 kB / 0.492 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000599/0.2676, allocations: 47.78 kB / 0.492 GB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.2678, allocations: 79.69 kB / 0.4921 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.959e-05/0.2678, allocations: 47.92 kB / 0.4921 GB, free: 11.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001593/0.2694, allocations: 1.478 MB / 0.4936 GB, free: 9.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.2694, allocations: 0 / 0.4936 GB, free: 9.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002195/0.2716, allocations: 0.5156 MB / 0.4941 GB, free: 9.145 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.0002847/0.2719, allocations: 194.8 kB / 0.4943 GB, free: 8.945 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003161/0.2751, allocations: 2.817 MB / 0.497 GB, free: 6.148 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.2751, allocations: 4.312 kB / 0.497 GB, free: 6.145 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005689/0.2757, allocations: 0.5322 MB / 0.4975 GB, free: 5.613 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/0.2769, allocations: 208.3 kB / 0.4977 GB, free: 5.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005249/0.2821, allocations: 4.597 MB / 0.5022 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1339/0.416, allocations: 1.915 MB / 0.5041 GB, free: 88.45 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002444/0.4185, allocations: 1.415 MB / 0.5055 GB, free: 88.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002704/0.4188, allocations: 146.3 kB / 0.5056 GB, free: 88.43 MB / 382.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4188, allocations: 0 / 0.5056 GB, free: 88.43 MB / 382.1 MB Notification: Performance of Templates: time 0.02321/0.442, allocations: 12.77 MB / 0.5181 GB, free: 83.62 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 -s gbode -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe 2>&1)