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.001119/0.001119, allocations: 107.6 kB / 16.37 MB, free: 6.477 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.001215/0.001215, allocations: 195.8 kB / 17.31 MB, free: 5.824 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.255/1.255, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.04047/0.04047, allocations: 7.996 MB / 299.2 MB, free: 7.145 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 63.84 kB / 362 MB, free: 8.203 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2043/0.2057, allocations: 51.21 MB / 413.3 MB, free: 26.61 MB / 302.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads): time 0.004909/0.2106, allocations: 5.578 MB / 418.8 MB, free: 21.02 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00262/0.2133, allocations: 1.939 MB / 420.8 MB, free: 19.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003037/0.2136, allocations: 23.94 kB / 420.8 MB, free: 19.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007604/0.2144, allocations: 406.2 kB / 421.2 MB, free: 18.65 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001002/0.2154, allocations: 0.7002 MB / 421.9 MB, free: 17.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001867/0.2156, allocations: 99.69 kB / 422 MB, free: 17.85 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00112/0.2168, allocations: 1.537 MB / 423.5 MB, free: 16.31 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002935/0.2171, allocations: 318.1 kB / 423.8 MB, free: 15.99 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003147/0.2174, allocations: 0.494 MB / 424.3 MB, free: 15.49 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005432/0.2179, allocations: 0.7121 MB / 425 MB, free: 14.78 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001086/0.218, allocations: 80 kB / 425.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004833/0.2185, allocations: 387.4 kB / 425.5 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003428/0.2189, allocations: 0.7127 MB / 426.2 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000434/0.2193, allocations: 0.8728 MB / 427.1 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001519/0.2209, allocations: 2.78 MB / 429.9 MB, free: 9.941 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2209, allocations: 0 / 429.9 MB, free: 9.941 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2209, allocations: 0 / 429.9 MB, free: 9.941 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.275e-05/0.2209, allocations: 4 kB / 429.9 MB, free: 9.938 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.002363/0.2233, allocations: 2.139 MB / 432 MB, free: 7.738 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.2233, allocations: 8.031 kB / 432 MB, free: 7.73 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004104/0.2274, allocations: 1.488 MB / 433.5 MB, free: 6.238 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001183/0.2286, allocations: 0.8587 MB / 434.4 MB, free: 5.336 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.732e-05/0.2287, allocations: 85.97 kB / 434.4 MB, free: 5.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005613/0.2293, allocations: 251.7 kB / 434.7 MB, free: 5.004 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00412/0.2334, allocations: 5.041 MB / 439.7 MB, free: 15.49 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.504e-05/0.2334, allocations: 27.75 kB / 439.8 MB, free: 15.46 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001678/0.2336, allocations: 63.91 kB / 439.8 MB, free: 15.4 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001627/0.2352, allocations: 1.154 MB / 441 MB, free: 14.24 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006157/0.2414, allocations: 4.289 MB / 445.3 MB, free: 9.941 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01778/0.2592, allocations: 20.6 MB / 465.9 MB, free: 4.59 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001489/0.2608, allocations: 1.331 MB / 467.2 MB, free: 3.113 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005117/0.2613, allocations: 451.2 kB / 467.6 MB, free: 2.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.878e-05/0.2613, allocations: 8 kB / 467.7 MB, free: 2.652 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.2613, allocations: 34.56 kB / 467.7 MB, free: 2.609 MB / 334.1 MB Notification: Performance of pre-optimization done (n=85): time 3.156e-06/0.2614, allocations: 4 kB / 467.7 MB, free: 2.605 MB / 334.1 MB Notification: Performance of matching and sorting (n=114): time 0.005199/0.2666, allocations: 3.962 MB / 471.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.333e-05/0.2666, allocations: 144.5 kB / 471.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002533/0.2692, allocations: 2.397 MB / 474.2 MB, free: 12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.807e-05/0.2693, allocations: 41.69 kB / 474.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00102/0.2703, allocations: 1.757 MB / 476 MB, free: 10.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002997/0.2706, allocations: 458.2 kB / 476.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008146/0.2714, allocations: 0.8174 MB / 477.3 MB, free: 8.887 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.2715, allocations: 353.9 kB / 477.6 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001527/0.2731, allocations: 1.277 MB / 478.9 MB, free: 7.254 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003042/0.2761, allocations: 3.904 MB / 482.8 MB, free: 2.031 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005136/0.2813, allocations: 5.659 MB / 488.4 MB, free: 11.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.565e-05/0.2813, allocations: 24 kB / 488.5 MB, free: 11.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.006481/0.2878, allocations: 4.963 MB / 493.4 MB, free: 6.078 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.819e-05/0.2879, allocations: 44 kB / 493.5 MB, free: 6.035 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009316/0.2888, allocations: 0.7758 MB / 494.2 MB, free: 5.258 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001161/0.2889, allocations: 124 kB / 494.4 MB, free: 5.137 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002333/0.2913, allocations: 0.9396 MB / 495.3 MB, free: 4.195 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000128/0.2914, allocations: 183.5 kB / 495.5 MB, free: 4.016 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002014/0.2934, allocations: 211.6 kB / 495.7 MB, free: 3.809 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002752/0.2937, allocations: 264.4 kB / 495.9 MB, free: 3.551 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.001592/0.2953, allocations: 1.206 MB / 497.2 MB, free: 2.332 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004184/0.2958, allocations: 201.4 kB / 497.3 MB, free: 2.133 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004588/0.2962, allocations: 267.1 kB / 497.6 MB, free: 1.871 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009089/0.2971, allocations: 0.7151 MB / 498.3 MB, free: 1.148 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.2972, allocations: 0 / 498.3 MB, free: 1.148 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.2972, allocations: 3.984 kB / 498.3 MB, free: 1.145 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004661/0.3018, allocations: 3.197 MB / 0.4898 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-05/0.3019, allocations: 15.94 kB / 0.4898 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004814/0.3024, allocations: 159.7 kB / 0.4899 GB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.346e-05/0.3024, allocations: 12.38 kB / 0.49 GB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-05/0.3024, allocations: 28.72 kB / 0.49 GB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.387e-05/0.3024, allocations: 19.94 kB / 0.49 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-05/0.3025, allocations: 19.92 kB / 0.49 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001548/0.304, allocations: 1.723 MB / 0.4917 GB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003348/0.3044, allocations: 274.3 kB / 0.492 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001645/0.3045, allocations: 28 kB / 0.492 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006149/0.3052, allocations: 43.95 kB / 0.492 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.3053, allocations: 87.66 kB / 0.4921 GB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.948e-05/0.3053, allocations: 39.94 kB / 0.4922 GB, free: 11.17 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001666/0.307, allocations: 1.486 MB / 0.4936 GB, free: 9.668 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.307, allocations: 0 / 0.4936 GB, free: 9.668 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002407/0.3094, allocations: 0.5078 MB / 0.4941 GB, free: 9.16 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.0003056/0.3098, allocations: 190.9 kB / 0.4943 GB, free: 8.965 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003339/0.3131, allocations: 2.821 MB / 0.497 GB, free: 6.164 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.3131, allocations: 0 / 0.497 GB, free: 6.164 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005682/0.3137, allocations: 0.5415 MB / 0.4976 GB, free: 5.625 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.3149, allocations: 201.7 kB / 0.4978 GB, free: 5.426 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005491/0.3204, allocations: 4.599 MB / 0.5022 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1462/0.4666, allocations: 1.919 MB / 0.5041 GB, free: 88.81 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002858/0.4695, allocations: 1.419 MB / 0.5055 GB, free: 88.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002958/0.4698, allocations: 141.4 kB / 0.5056 GB, free: 88.79 MB / 382.1 MB Notification: Performance of SimCode: time 7.82e-07/0.4698, allocations: 0 / 0.5056 GB, free: 88.79 MB / 382.1 MB Notification: Performance of Templates: time 0.02443/0.4942, allocations: 12.78 MB / 0.5181 GB, free: 83.82 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 cvode -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe 2>&1)