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.005068/0.005068, allocations: 103.3 kB / 15.73 MB, free: 6.047 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.001265/0.001265, allocations: 191.3 kB / 16.67 MB, free: 5.961 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.276/1.276, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.04052/0.04052, allocations: 8.01 MB / 298.5 MB, free: 7.109 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 63.89 kB / 412.6 MB, free: 23.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09027/0.09143, allocations: 51.21 MB / 463.8 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.005962/0.09743, allocations: 5.55 MB / 469.3 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003533/0.101, allocations: 2.033 MB / 471.4 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005199/0.1015, allocations: 23.94 kB / 471.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000922/0.1024, allocations: 410.1 kB / 471.8 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001367/0.1038, allocations: 0.6924 MB / 472.5 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003137/0.1041, allocations: 131.6 kB / 472.6 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001676/0.1058, allocations: 1.549 MB / 474.2 MB, free: 9.672 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004554/0.1063, allocations: 320.9 kB / 474.5 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005984/0.1069, allocations: 0.4979 MB / 475 MB, free: 8.848 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008509/0.1078, allocations: 0.716 MB / 475.7 MB, free: 8.129 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001815/0.108, allocations: 80 kB / 475.8 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006737/0.1086, allocations: 443.2 kB / 476.2 MB, free: 7.617 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005324/0.1092, allocations: 0.7127 MB / 476.9 MB, free: 6.902 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007006/0.1099, allocations: 0.869 MB / 477.8 MB, free: 6.027 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002312/0.1122, allocations: 2.802 MB / 480.6 MB, free: 3.215 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.1122, allocations: 0 / 480.6 MB, free: 3.215 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1122, allocations: 3.938 kB / 480.6 MB, free: 3.211 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.959e-05/0.1123, allocations: 0 / 480.6 MB, free: 3.211 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.003153/0.1155, allocations: 2.151 MB / 482.8 MB, free: 1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.1155, allocations: 8.031 kB / 482.8 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004169/0.1159, allocations: 373.6 kB / 483.1 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004556/0.1205, allocations: 1.484 MB / 484.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001526/0.122, allocations: 0.8545 MB / 485.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.16e-05/0.1221, allocations: 86.03 kB / 485.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006097/0.1227, allocations: 251.6 kB / 485.8 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005174/0.1279, allocations: 5.037 MB / 490.8 MB, free: 8.391 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.195e-05/0.1279, allocations: 31.66 kB / 490.9 MB, free: 8.359 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001681/0.1281, allocations: 63.84 kB / 490.9 MB, free: 8.297 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001535/0.1297, allocations: 1.158 MB / 492.1 MB, free: 7.137 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005692/0.1354, allocations: 4.297 MB / 496.4 MB, free: 2.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2139/0.3493, allocations: 20.59 MB / 0.5049 GB, free: 29.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001321/0.3506, allocations: 1.342 MB / 0.5062 GB, free: 29.26 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005326/0.3512, allocations: 447.7 kB / 0.5066 GB, free: 29.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.824e-05/0.3512, allocations: 8.859 kB / 0.5066 GB, free: 29.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.3512, allocations: 39 kB / 0.5066 GB, free: 29.19 MB / 382.1 MB Notification: Performance of pre-optimization done (n=86): time 3.928e-06/0.3513, allocations: 5.688 kB / 0.5066 GB, free: 29.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=117): time 0.01005/0.3613, allocations: 4.471 MB / 0.511 GB, free: 27.94 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.3614, allocations: 138.5 kB / 0.5111 GB, free: 27.79 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00267/0.364, allocations: 2.395 MB / 0.5135 GB, free: 27.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.594e-05/0.3641, allocations: 37.75 kB / 0.5135 GB, free: 27.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009208/0.365, allocations: 1.764 MB / 0.5152 GB, free: 26.11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002622/0.3653, allocations: 459.1 kB / 0.5157 GB, free: 25.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00101/0.3663, allocations: 0.8342 MB / 0.5165 GB, free: 25.39 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.784e-05/0.3664, allocations: 358.2 kB / 0.5168 GB, free: 25.06 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001907/0.3683, allocations: 1.307 MB / 0.5181 GB, free: 24.67 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002885/0.3712, allocations: 3.929 MB / 0.5219 GB, free: 20.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004623/0.3759, allocations: 5.72 MB / 0.5275 GB, free: 15.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000151/0.376, allocations: 25.53 kB / 0.5276 GB, free: 15.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.005697/0.3817, allocations: 5.028 MB / 0.5325 GB, free: 14.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.227e-05/0.3818, allocations: 43.47 kB / 0.5325 GB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009281/0.3827, allocations: 0.8375 MB / 0.5333 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.293e-05/0.3828, allocations: 123.8 kB / 0.5334 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00236/0.3852, allocations: 0.9544 MB / 0.5344 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.484e-05/0.3853, allocations: 181.6 kB / 0.5345 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002228/0.3875, allocations: 225.6 kB / 0.5348 GB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002094/0.3878, allocations: 259.7 kB / 0.535 GB, free: 12.85 MB / 382.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.001478/0.3892, allocations: 1.203 MB / 0.5362 GB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002658/0.3895, allocations: 197.4 kB / 0.5364 GB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003202/0.3898, allocations: 273.1 kB / 0.5366 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009626/0.3908, allocations: 0.7878 MB / 0.5374 GB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.3909, allocations: 4 kB / 0.5374 GB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.477e-06/0.3909, allocations: 7.688 kB / 0.5374 GB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004523/0.3954, allocations: 3.335 MB / 0.5407 GB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.3954, allocations: 5.781 kB / 0.5407 GB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006197/0.396, allocations: 171.7 kB / 0.5408 GB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.615e-06/0.3961, allocations: 11.5 kB / 0.5409 GB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.542e-05/0.3961, allocations: 31.48 kB / 0.5409 GB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.3961, allocations: 4 kB / 0.5409 GB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.3961, allocations: 11.94 kB / 0.5409 GB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001403/0.3976, allocations: 1.776 MB / 0.5426 GB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005503/0.3981, allocations: 378.2 kB / 0.543 GB, free: 5.102 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001615/0.3983, allocations: 27.94 kB / 0.543 GB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006616/0.3989, allocations: 55.92 kB / 0.5431 GB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.3991, allocations: 71.55 kB / 0.5431 GB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-05/0.3991, allocations: 39.5 kB / 0.5432 GB, free: 4.914 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00121/0.4003, allocations: 1.482 MB / 0.5446 GB, free: 3.414 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4003, allocations: 0 / 0.5446 GB, free: 3.414 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002004/0.4024, allocations: 0.5378 MB / 0.5452 GB, free: 2.883 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.001667/0.404, allocations: 2.433 MB / 0.5475 GB, free: 400 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003459/0.4075, allocations: 2.954 MB / 0.5504 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4075, allocations: 256 / 0.5504 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007517/0.4083, allocations: 0.6421 MB / 0.551 GB, free: 12.82 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.4093, allocations: 194.6 kB / 0.5512 GB, free: 12.64 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02768/0.437, allocations: 25.67 MB / 0.5763 GB, free: 15.53 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001746/0.4388, allocations: 1.93 MB / 0.5782 GB, free: 13.57 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002639/0.4415, allocations: 1.44 MB / 0.5796 GB, free: 12.13 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001058/0.4425, allocations: 0.8507 MB / 0.5804 GB, free: 11.28 MB / 430.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4425, allocations: 0 / 0.5804 GB, free: 11.28 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06899/0.5115, allocations: 33.94 MB / 0.6136 GB, free: 9.676 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.84, allocations: 12.58 kB / 0.6136 GB, free: 9.664 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)