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.000811/0.0008113, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.004729/0.004729, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.426/1.426, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.1339/0.1339, allocations: 7.979 MB / 299.4 MB, free: 3.281 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002907/0.0002907, allocations: 12 kB / 362.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08779/0.0881, allocations: 52.2 MB / 414.7 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.008485/0.09663, allocations: 8.576 MB / 423.3 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1841/0.2808, allocations: 2.569 MB / 425.8 MB, free: 34.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006707/0.2815, allocations: 30.81 kB / 425.9 MB, free: 34.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005226/0.282, allocations: 223.9 kB / 426.1 MB, free: 34.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001285/0.2833, allocations: 0.6695 MB / 426.7 MB, free: 34.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002441/0.2836, allocations: 108.7 kB / 426.9 MB, free: 34.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001434/0.285, allocations: 2.19 MB / 429 MB, free: 34.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003403/0.2854, allocations: 393.4 kB / 429.4 MB, free: 34.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003545/0.2857, allocations: 450.8 kB / 429.9 MB, free: 33.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006657/0.2864, allocations: 0.7816 MB / 430.6 MB, free: 33.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001077/0.2865, allocations: 53.53 kB / 430.7 MB, free: 33.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005424/0.2871, allocations: 439 kB / 431.1 MB, free: 33.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004015/0.2875, allocations: 0.7168 MB / 431.8 MB, free: 33.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004819/0.288, allocations: 0.8846 MB / 432.7 MB, free: 33.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001433/0.2894, allocations: 2.609 MB / 435.3 MB, free: 32.83 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.2894, allocations: 0 / 435.3 MB, free: 32.83 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.2894, allocations: 0 / 435.3 MB, free: 32.83 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.827e-05/0.2894, allocations: 0 / 435.3 MB, free: 32.83 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.001927/0.2914, allocations: 1.779 MB / 437.1 MB, free: 31.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.2914, allocations: 9.875 kB / 437.1 MB, free: 31.79 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003122/0.2917, allocations: 370.9 kB / 437.5 MB, free: 31.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004299/0.296, allocations: 1.53 MB / 439 MB, free: 31.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.2971, allocations: 0.8512 MB / 439.9 MB, free: 31.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.926e-05/0.2971, allocations: 94.28 kB / 440 MB, free: 31.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000593/0.2977, allocations: 251.6 kB / 440.2 MB, free: 31.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004411/0.3021, allocations: 5.042 MB / 445.3 MB, free: 29.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.321e-05/0.3022, allocations: 21.72 kB / 445.3 MB, free: 29.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001726/0.3024, allocations: 67.92 kB / 445.3 MB, free: 29.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001403/0.3038, allocations: 1.152 MB / 446.5 MB, free: 29.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005265/0.3091, allocations: 4.3 MB / 450.8 MB, free: 28.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01581/0.3249, allocations: 20.69 MB / 471.5 MB, free: 27.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001386/0.3263, allocations: 1.344 MB / 472.8 MB, free: 27.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004833/0.3268, allocations: 442 kB / 473.3 MB, free: 26.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.3268, allocations: 14.81 kB / 473.3 MB, free: 26.9 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.3268, allocations: 38.16 kB / 473.3 MB, free: 26.86 MB / 366.1 MB Notification: Performance of pre-optimization done (n=86): time 2.625e-06/0.3269, allocations: 0 / 473.3 MB, free: 26.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=117): time 0.01057/0.3374, allocations: 4.456 MB / 477.8 MB, free: 24.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.917e-05/0.3375, allocations: 142 kB / 477.9 MB, free: 24.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002872/0.3404, allocations: 2.395 MB / 480.3 MB, free: 23.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.869e-05/0.3405, allocations: 38.58 kB / 480.3 MB, free: 23.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008324/0.3413, allocations: 1.757 MB / 482.1 MB, free: 22.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000302/0.3417, allocations: 472.8 kB / 482.6 MB, free: 22.03 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003635/0.342, allocations: 350.1 kB / 482.9 MB, free: 21.88 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.3422, allocations: 354.2 kB / 483.2 MB, free: 21.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001718/0.3439, allocations: 1.307 MB / 484.5 MB, free: 21.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002482/0.3464, allocations: 3.926 MB / 488.5 MB, free: 17.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004882/0.3513, allocations: 5.71 MB / 494.2 MB, free: 12.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.244e-05/0.3513, allocations: 31.28 kB / 494.2 MB, free: 12.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.007455/0.3588, allocations: 5.032 MB / 499.2 MB, free: 9.637 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.434e-05/0.3589, allocations: 52.56 kB / 499.3 MB, free: 9.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001105/0.36, allocations: 0.8408 MB / 0.4884 GB, free: 8.828 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000129/0.3601, allocations: 120.7 kB / 0.4885 GB, free: 8.711 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002622/0.3628, allocations: 0.9572 MB / 0.4895 GB, free: 7.875 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001268/0.3629, allocations: 186.3 kB / 0.4896 GB, free: 7.711 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002287/0.3652, allocations: 228.3 kB / 0.4899 GB, free: 7.508 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002751/0.3655, allocations: 255.3 kB / 0.4901 GB, free: 7.262 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.001459/0.367, allocations: 1.207 MB / 0.4913 GB, free: 6.121 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002804/0.3672, allocations: 197.4 kB / 0.4915 GB, free: 5.926 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004677/0.3677, allocations: 263.1 kB / 0.4917 GB, free: 5.668 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00103/0.3687, allocations: 0.7906 MB / 0.4925 GB, free: 4.875 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.3688, allocations: 0 / 0.4925 GB, free: 4.875 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.3688, allocations: 15.91 kB / 0.4925 GB, free: 4.859 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004816/0.3736, allocations: 3.344 MB / 0.4958 GB, free: 1.438 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/0.3736, allocations: 8 kB / 0.4958 GB, free: 1.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007081/0.3743, allocations: 175.7 kB / 0.4959 GB, free: 1.258 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/0.3744, allocations: 7.938 kB / 0.496 GB, free: 1.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.351e-05/0.3744, allocations: 25.23 kB / 0.496 GB, free: 1.227 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.667e-06/0.3744, allocations: 8 kB / 0.496 GB, free: 1.219 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/0.3745, allocations: 8.375 kB / 0.496 GB, free: 1.211 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001878/0.3763, allocations: 1.788 MB / 0.4977 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005586/0.3769, allocations: 386.2 kB / 0.4981 GB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001811/0.3771, allocations: 25.08 kB / 0.4981 GB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007239/0.3778, allocations: 56.2 kB / 0.4982 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.378, allocations: 67.78 kB / 0.4983 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.837e-05/0.378, allocations: 36 kB / 0.4983 GB, free: 14.78 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001765/0.3798, allocations: 1.486 MB / 0.4997 GB, free: 13.28 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.382e-06/0.3798, allocations: 4 kB / 0.4997 GB, free: 13.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002635/0.3825, allocations: 0.5448 MB / 0.5003 GB, free: 12.73 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.002219/0.3847, allocations: 2.438 MB / 0.5027 GB, free: 10.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003839/0.3885, allocations: 2.938 MB / 0.5055 GB, free: 7.316 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3885, allocations: 0 / 0.5055 GB, free: 7.316 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007512/0.3893, allocations: 0.6454 MB / 0.5062 GB, free: 6.672 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002056/0.3914, allocations: 198.1 kB / 0.5063 GB, free: 6.477 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03175/0.4231, allocations: 28.14 MB / 0.5338 GB, free: 6.027 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001553/0.4247, allocations: 1.912 MB / 0.5357 GB, free: 4.078 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002951/0.4277, allocations: 1.45 MB / 0.5371 GB, free: 2.625 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001045/0.4287, allocations: 0.8508 MB / 0.5379 GB, free: 1.773 MB / 414.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4287, allocations: 0 / 0.5379 GB, free: 1.773 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1531/0.5819, allocations: 35.01 MB / 0.5721 GB, free: 15.05 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002566/0.5822, allocations: 236.9 kB / 0.5724 GB, free: 14.79 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.447/3.029, allocations: 0 / 0.5724 GB, free: 14.79 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)