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.0009848/0.0009848, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001036/0.001036, allocations: 192.4 kB / 16.25 MB, free: 6.617 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 / 239.9 MB, free: 4.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.1648/0.1648, allocations: 7.983 MB / 298.1 MB, free: 2.336 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 59.91 kB / 360.2 MB, free: 14.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09126/0.0924, allocations: 51.22 MB / 411.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.009219/0.1017, allocations: 9.047 MB / 420.5 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004272/0.106, allocations: 2.578 MB / 423 MB, free: 12 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.1549/0.2609, allocations: 28.02 kB / 423.1 MB, free: 35.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001259/0.2622, allocations: 370.3 kB / 423.4 MB, free: 35.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001492/0.2637, allocations: 0.6552 MB / 424.1 MB, free: 35.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003391/0.2641, allocations: 121.3 kB / 424.2 MB, free: 35.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001356/0.2655, allocations: 1.575 MB / 425.8 MB, free: 35.51 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003546/0.2658, allocations: 337.5 kB / 426.1 MB, free: 35.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004102/0.2662, allocations: 0.5042 MB / 426.6 MB, free: 35.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006179/0.2669, allocations: 0.8154 MB / 427.4 MB, free: 35.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.267, allocations: 84.53 kB / 427.5 MB, free: 35.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005692/0.2676, allocations: 444.8 kB / 428 MB, free: 35.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004099/0.268, allocations: 0.7289 MB / 428.7 MB, free: 35.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004735/0.2685, allocations: 0.8973 MB / 429.6 MB, free: 34.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001678/0.2702, allocations: 2.687 MB / 432.3 MB, free: 34.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2702, allocations: 0.5625 kB / 432.3 MB, free: 34.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2702, allocations: 0 / 432.3 MB, free: 34.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.808e-05/0.2702, allocations: 0 / 432.3 MB, free: 34.4 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.002631/0.2729, allocations: 2.142 MB / 434.4 MB, free: 33.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.2729, allocations: 9.562 kB / 434.4 MB, free: 33.34 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002908/0.2732, allocations: 375.1 kB / 434.8 MB, free: 33.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004075/0.2773, allocations: 1.483 MB / 436.3 MB, free: 33.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009678/0.2783, allocations: 0.8567 MB / 437.1 MB, free: 32.67 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.304e-05/0.2783, allocations: 85.56 kB / 437.2 MB, free: 32.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005563/0.2789, allocations: 253.3 kB / 437.5 MB, free: 32.63 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004182/0.2831, allocations: 5.042 MB / 442.5 MB, free: 30.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.222e-05/0.2831, allocations: 30.53 kB / 442.5 MB, free: 30.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001627/0.2833, allocations: 64.12 kB / 442.6 MB, free: 30.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001309/0.2846, allocations: 1.151 MB / 443.7 MB, free: 29.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004889/0.2895, allocations: 4.304 MB / 448 MB, free: 28.76 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01424/0.3038, allocations: 20.67 MB / 468.7 MB, free: 28.72 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00146/0.3053, allocations: 1.328 MB / 470 MB, free: 27.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004955/0.3058, allocations: 450.7 kB / 470.5 MB, free: 27.65 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.941e-05/0.3058, allocations: 9.875 kB / 470.5 MB, free: 27.65 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.3059, allocations: 40.91 kB / 470.5 MB, free: 27.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=86): time 3.216e-06/0.3059, allocations: 0 / 470.5 MB, free: 27.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=117): time 0.01202/0.3179, allocations: 4.464 MB / 475 MB, free: 25.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.922e-05/0.318, allocations: 141.6 kB / 475.1 MB, free: 25.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003813/0.3218, allocations: 2.392 MB / 477.5 MB, free: 24.53 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001109/0.322, allocations: 38.72 kB / 477.6 MB, free: 24.49 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00103/0.323, allocations: 1.768 MB / 479.3 MB, free: 23.1 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004495/0.3235, allocations: 459.5 kB / 479.8 MB, free: 22.79 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001158/0.3246, allocations: 0.8282 MB / 480.6 MB, free: 22.39 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.3248, allocations: 356 kB / 481 MB, free: 22.06 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00187/0.3267, allocations: 1.309 MB / 482.3 MB, free: 21.67 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002722/0.3294, allocations: 3.924 MB / 486.2 MB, free: 17.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005774/0.3352, allocations: 5.717 MB / 491.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.899e-05/0.3353, allocations: 29.19 kB / 491.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.008653/0.344, allocations: 5.03 MB / 497 MB, free: 10.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.391e-05/0.3441, allocations: 45.41 kB / 497 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001217/0.3453, allocations: 0.8425 MB / 497.9 MB, free: 9.395 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000209/0.3455, allocations: 128.7 kB / 498 MB, free: 9.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003112/0.3487, allocations: 0.9543 MB / 498.9 MB, free: 8.434 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002447/0.3489, allocations: 179.6 kB / 499.1 MB, free: 8.277 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003187/0.3521, allocations: 214.1 kB / 499.3 MB, free: 8.086 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006133/0.3527, allocations: 255.3 kB / 499.6 MB, free: 7.84 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.002463/0.3552, allocations: 1.205 MB / 0.489 GB, free: 6.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006028/0.3558, allocations: 204.6 kB / 0.4892 GB, free: 6.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006316/0.3565, allocations: 263.6 kB / 0.4895 GB, free: 6.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001193/0.3577, allocations: 0.7956 MB / 0.4903 GB, free: 5.625 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.257e-05/0.3577, allocations: 0.6562 kB / 0.4903 GB, free: 5.625 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.589e-05/0.3577, allocations: 4.734 kB / 0.4903 GB, free: 5.625 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006493/0.3642, allocations: 3.36 MB / 0.4935 GB, free: 2.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/0.3642, allocations: 4 kB / 0.4935 GB, free: 2.746 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007355/0.365, allocations: 172.2 kB / 0.4937 GB, free: 2.578 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.326e-05/0.365, allocations: 12 kB / 0.4937 GB, free: 2.566 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.71e-05/0.3651, allocations: 27.94 kB / 0.4938 GB, free: 2.539 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.015e-05/0.3651, allocations: 11.98 kB / 0.4938 GB, free: 2.527 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.3651, allocations: 7.938 kB / 0.4938 GB, free: 2.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002077/0.3672, allocations: 1.784 MB / 0.4955 GB, free: 0.6719 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007538/0.368, allocations: 378.3 kB / 0.4959 GB, free: 288 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003658/0.3683, allocations: 18.5 kB / 0.4959 GB, free: 272 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009202/0.3693, allocations: 59.92 kB / 0.4959 GB, free: 212 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.3694, allocations: 63.8 kB / 0.496 GB, free: 148 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.509e-05/0.3695, allocations: 39.98 kB / 0.496 GB, free: 108 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002291/0.3718, allocations: 1.478 MB / 0.4975 GB, free: 14.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3718, allocations: 0 / 0.4975 GB, free: 14.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003179/0.375, allocations: 0.5498 MB / 0.498 GB, free: 14.06 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.00272/0.3777, allocations: 2.429 MB / 0.5004 GB, free: 11.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004963/0.3827, allocations: 3.199 MB / 0.5035 GB, free: 8.395 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.3827, allocations: 5.75 kB / 0.5035 GB, free: 8.391 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008432/0.3835, allocations: 0.6449 MB / 0.5042 GB, free: 7.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001677/0.3852, allocations: 193.7 kB / 0.5043 GB, free: 7.566 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03772/0.423, allocations: 28.11 MB / 0.5318 GB, free: 7.152 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001799/0.4248, allocations: 1.931 MB / 0.5337 GB, free: 5.184 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.003026/0.4279, allocations: 1.441 MB / 0.5351 GB, free: 3.738 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001199/0.4291, allocations: 0.8507 MB / 0.5359 GB, free: 2.887 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4291, allocations: 0 / 0.5359 GB, free: 2.887 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3128/0.7419, allocations: 35.86 MB / 0.5709 GB, free: 15.32 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000232/0.7421, allocations: 240.2 kB / 0.5712 GB, free: 15.06 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.875/3.618, allocations: 4 kB / 0.5712 GB, free: 15.06 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)