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-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: "" <> buildModelFMU(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads,fileNamePrefix="VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckFunctionDifferentiation_CircleRoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads,fileNamePrefix="VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckFunctionDifferentiation_CircleRoads",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009804/0.0009802, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.0009813/0.0009814, allocations: 194.7 kB / 16.14 MB, free: 6.641 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.461/1.461, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.1671/0.1671, allocations: 7.99 MB / 298 MB, free: 2.324 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 55.91 kB / 360 MB, free: 15.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1249, allocations: 51.22 MB / 411.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.01082/0.1358, allocations: 9.039 MB / 420.3 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00584/0.1417, allocations: 2.621 MB / 422.9 MB, free: 120 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001592/0.1434, allocations: 31.94 kB / 422.9 MB, free: 88 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.217/0.3604, allocations: 367.1 kB / 423.3 MB, free: 35.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00216/0.3626, allocations: 0.6661 MB / 424 MB, free: 35.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005218/0.3631, allocations: 121.4 kB / 424.1 MB, free: 35.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00244/0.3656, allocations: 2.187 MB / 426.3 MB, free: 35.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006501/0.3663, allocations: 313.2 kB / 426.6 MB, free: 35.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008547/0.3671, allocations: 448.4 kB / 427 MB, free: 35.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001156/0.3683, allocations: 0.7849 MB / 427.8 MB, free: 35.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002576/0.3686, allocations: 53.34 kB / 427.8 MB, free: 35.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008559/0.3694, allocations: 438.3 kB / 428.3 MB, free: 35.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000503/0.3699, allocations: 0.7091 MB / 429 MB, free: 35.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006276/0.3706, allocations: 0.8564 MB / 429.8 MB, free: 34.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001883/0.3725, allocations: 2.647 MB / 432.5 MB, free: 34.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3725, allocations: 3.422 kB / 432.5 MB, free: 34.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.3725, allocations: 0 / 432.5 MB, free: 34.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.282e-05/0.3725, allocations: 0 / 432.5 MB, free: 34.35 MB / 350.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.002987/0.3755, allocations: 2.149 MB / 434.6 MB, free: 33.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.3756, allocations: 9.625 kB / 434.6 MB, free: 33.29 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000354/0.3759, allocations: 373.9 kB / 435 MB, free: 33.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004332/0.3803, allocations: 1.485 MB / 436.5 MB, free: 33.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/0.3816, allocations: 0.8514 MB / 437.3 MB, free: 32.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.79e-05/0.3817, allocations: 82.72 kB / 437.4 MB, free: 32.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006226/0.3823, allocations: 257.3 kB / 437.7 MB, free: 32.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004995/0.3873, allocations: 5.042 MB / 442.7 MB, free: 30.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.381e-05/0.3874, allocations: 35.34 kB / 442.8 MB, free: 30.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001688/0.3876, allocations: 60.92 kB / 442.8 MB, free: 30.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001454/0.389, allocations: 1.15 MB / 444 MB, free: 29.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005633/0.3947, allocations: 4.301 MB / 448.3 MB, free: 28.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01714/0.4118, allocations: 20.67 MB / 468.9 MB, free: 28.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001516/0.4134, allocations: 1.338 MB / 470.3 MB, free: 27.83 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005107/0.4139, allocations: 449.8 kB / 470.7 MB, free: 27.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.107e-05/0.4139, allocations: 4.75 kB / 470.7 MB, free: 27.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.414, allocations: 42.09 kB / 470.8 MB, free: 27.62 MB / 366.1 MB Notification: Performance of pre-optimization done (n=86): time 2.605e-06/0.414, allocations: 1.25 kB / 470.8 MB, free: 27.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=117): time 0.01191/0.4259, allocations: 4.467 MB / 475.2 MB, free: 25.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.708e-05/0.426, allocations: 137.2 kB / 475.4 MB, free: 25.47 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003514/0.4295, allocations: 2.401 MB / 477.8 MB, free: 24.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.777e-05/0.4296, allocations: 37.27 kB / 477.8 MB, free: 24.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009283/0.4306, allocations: 1.758 MB / 479.6 MB, free: 23.12 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003674/0.4309, allocations: 459.4 kB / 480 MB, free: 22.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001073/0.432, allocations: 0.8306 MB / 480.8 MB, free: 22.4 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.4322, allocations: 354.9 kB / 481.2 MB, free: 22.08 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002324/0.4345, allocations: 1.305 MB / 482.5 MB, free: 21.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003238/0.4378, allocations: 3.928 MB / 486.4 MB, free: 17.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006328/0.4441, allocations: 5.714 MB / 492.1 MB, free: 12.72 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001067/0.4442, allocations: 26.03 kB / 492.2 MB, free: 12.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.009575/0.4538, allocations: 5.044 MB / 497.2 MB, free: 10.15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.79e-05/0.4539, allocations: 48 kB / 497.2 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001239/0.4552, allocations: 0.8432 MB / 498.1 MB, free: 9.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001528/0.4553, allocations: 124 kB / 498.2 MB, free: 9.219 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002805/0.4581, allocations: 0.9472 MB / 499.2 MB, free: 8.391 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00017/0.4583, allocations: 178.6 kB / 499.3 MB, free: 8.234 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002592/0.4609, allocations: 219.6 kB / 499.5 MB, free: 8.039 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003362/0.4613, allocations: 254 kB / 499.8 MB, free: 7.793 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.001636/0.4629, allocations: 1.217 MB / 0.4893 GB, free: 6.711 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004343/0.4633, allocations: 201.4 kB / 0.4895 GB, free: 6.512 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004025/0.4637, allocations: 263.4 kB / 0.4897 GB, free: 6.281 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001144/0.4649, allocations: 0.791 MB / 0.4905 GB, free: 5.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.559e-05/0.4649, allocations: 7.25 kB / 0.4905 GB, free: 5.566 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.4649, allocations: 6.891 kB / 0.4905 GB, free: 5.562 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005898/0.4708, allocations: 3.35 MB / 0.4938 GB, free: 2.434 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/0.4709, allocations: 8.094 kB / 0.4938 GB, free: 2.426 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007253/0.4716, allocations: 171.7 kB / 0.4939 GB, free: 2.258 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.141e-05/0.4716, allocations: 8 kB / 0.4939 GB, free: 2.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.255e-05/0.4717, allocations: 27.12 kB / 0.494 GB, free: 2.227 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.275e-05/0.4717, allocations: 11.94 kB / 0.494 GB, free: 2.215 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.323e-06/0.4717, allocations: 11.92 kB / 0.494 GB, free: 2.203 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001972/0.4737, allocations: 1.769 MB / 0.4957 GB, free: 376 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006803/0.4744, allocations: 378.3 kB / 0.4961 GB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002073/0.4746, allocations: 22.58 kB / 0.4961 GB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000735/0.4754, allocations: 59.92 kB / 0.4962 GB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.4755, allocations: 63.8 kB / 0.4962 GB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.351e-05/0.4756, allocations: 38.34 kB / 0.4963 GB, free: 15.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001952/0.4775, allocations: 1.482 MB / 0.4977 GB, free: 14.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4775, allocations: 0 / 0.4977 GB, free: 14.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00292/0.4805, allocations: 0.5452 MB / 0.4982 GB, free: 13.76 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.002566/0.483, allocations: 2.438 MB / 0.5006 GB, free: 11.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004287/0.4873, allocations: 2.93 MB / 0.5035 GB, free: 8.348 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.4874, allocations: 0 / 0.5035 GB, free: 8.348 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008018/0.4882, allocations: 0.6535 MB / 0.5041 GB, free: 7.699 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001325/0.4895, allocations: 191.8 kB / 0.5043 GB, free: 7.512 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03763/0.5271, allocations: 28.11 MB / 0.5318 GB, free: 7.094 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001665/0.5289, allocations: 1.927 MB / 0.5336 GB, free: 5.133 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.003121/0.532, allocations: 1.434 MB / 0.535 GB, free: 3.695 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001215/0.5332, allocations: 0.852 MB / 0.5359 GB, free: 2.844 MB / 414.1 MB Notification: Performance of SimCode: time 8.52e-07/0.5332, allocations: 0 / 0.5359 GB, free: 2.844 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06308/0.5963, allocations: 35.27 MB / 0.5703 GB, free: 15.85 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000319/0.5967, allocations: 230.2 kB / 0.5705 GB, free: 15.59 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.598/3.195, allocations: 5.922 kB / 0.5705 GB, free: 15.59 MB / 462.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckFunctionDifferentiation_CircleRoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckFunctionDifferentiation_CircleRoads.fmu > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.pipe 2>&1)