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/package.mo", uses=false) Using package VehicleInterfaces with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/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.001288/0.001288, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.001519/0.001519, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo): time 0.2005/0.2005, allocations: 7.951 MB / 298.9 MB, free: 3.316 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003203/0.0003204, allocations: 8 kB / 361.7 MB, free: 14.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09974/0.1001, allocations: 52.21 MB / 413.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.007425/0.1076, allocations: 7.677 MB / 421.6 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004276/0.1119, allocations: 2.479 MB / 424.1 MB, free: 120 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007814/0.1127, allocations: 31.94 kB / 424.1 MB, free: 88 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2003/0.313, allocations: 338 kB / 424.4 MB, free: 34.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003472/0.3165, allocations: 1.166 MB / 425.6 MB, free: 34.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003937/0.3169, allocations: 117.6 kB / 425.7 MB, free: 34.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001384/0.3183, allocations: 0.9108 MB / 426.6 MB, free: 34.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003873/0.3187, allocations: 371.8 kB / 427 MB, free: 33.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000373/0.3191, allocations: 428.2 kB / 427.4 MB, free: 33.92 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005783/0.3196, allocations: 0.5519 MB / 428 MB, free: 33.92 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001106/0.3198, allocations: 56.12 kB / 428 MB, free: 33.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006011/0.3204, allocations: 380.5 kB / 428.4 MB, free: 33.92 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004433/0.3208, allocations: 0.6411 MB / 429 MB, free: 33.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002308/0.3211, allocations: 386.9 kB / 429.4 MB, free: 33.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00145/0.3225, allocations: 2.076 MB / 431.5 MB, free: 33.72 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.3225, allocations: 0 / 431.5 MB, free: 33.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3225, allocations: 0 / 431.5 MB, free: 33.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.556e-05/0.3226, allocations: 3.188 kB / 431.5 MB, free: 33.72 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.002268/0.3249, allocations: 1.811 MB / 433.3 MB, free: 32.69 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.3249, allocations: 14.05 kB / 433.3 MB, free: 32.68 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003644/0.3253, allocations: 370.8 kB / 433.7 MB, free: 32.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005051/0.3303, allocations: 1.804 MB / 435.5 MB, free: 32.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001537/0.3319, allocations: 0.8366 MB / 436.3 MB, free: 32.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.612e-05/0.332, allocations: 85.97 kB / 436.4 MB, free: 32.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005956/0.3326, allocations: 254 kB / 436.6 MB, free: 32.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005117/0.3377, allocations: 5.028 MB / 441.7 MB, free: 30.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.2e-05/0.3378, allocations: 28.78 kB / 441.7 MB, free: 30.76 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001947/0.338, allocations: 62.91 kB / 441.8 MB, free: 30.76 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001499/0.3395, allocations: 1.152 MB / 442.9 MB, free: 30.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006044/0.3455, allocations: 4.272 MB / 447.2 MB, free: 30.6 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0183/0.3639, allocations: 20.68 MB / 467.9 MB, free: 31.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00161/0.3655, allocations: 1.341 MB / 469.2 MB, free: 30.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.489e-05/0.3656, allocations: 5.906 kB / 469.2 MB, free: 30.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.3656, allocations: 46.06 kB / 469.3 MB, free: 30.36 MB / 366.1 MB Notification: Performance of pre-optimization done (n=86): time 3.818e-06/0.3656, allocations: 4 kB / 469.3 MB, free: 30.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=117): time 0.01086/0.3765, allocations: 4.707 MB / 474 MB, free: 28.08 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.957e-05/0.3766, allocations: 144.5 kB / 474.1 MB, free: 27.92 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003256/0.3799, allocations: 2.381 MB / 476.5 MB, free: 27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001233/0.38, allocations: 39.94 kB / 476.5 MB, free: 26.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00102/0.381, allocations: 1.754 MB / 478.3 MB, free: 25.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003989/0.3814, allocations: 467.1 kB / 478.7 MB, free: 25.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001469/0.3816, allocations: 78.12 kB / 478.8 MB, free: 25.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003756/0.382, allocations: 0.5306 MB / 479.3 MB, free: 24.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001997/0.384, allocations: 1.299 MB / 480.6 MB, free: 24.4 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003081/0.3871, allocations: 3.894 MB / 484.5 MB, free: 20.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003212/0.3903, allocations: 2.237 MB / 486.8 MB, free: 19.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.688e-05/0.3904, allocations: 29 kB / 486.8 MB, free: 19.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.007637/0.398, allocations: 5.009 MB / 491.8 MB, free: 17.62 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.972e-05/0.3981, allocations: 47.89 kB / 491.9 MB, free: 17.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001042/0.3992, allocations: 0.8475 MB / 492.7 MB, free: 17.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001441/0.3993, allocations: 138 kB / 492.8 MB, free: 17.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002821/0.4021, allocations: 0.9538 MB / 493.8 MB, free: 17.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001695/0.4023, allocations: 181.7 kB / 494 MB, free: 17.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002561/0.4049, allocations: 217.7 kB / 494.2 MB, free: 17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000317/0.4052, allocations: 257.6 kB / 494.4 MB, free: 16.75 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001577/0.4068, allocations: 1.2 MB / 495.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003287/0.4071, allocations: 202 kB / 495.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000415/0.4076, allocations: 267 kB / 496.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009898/0.4085, allocations: 0.7902 MB / 496.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.4086, allocations: 0 / 496.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.4086, allocations: 8.219 kB / 496.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005754/0.4143, allocations: 3.34 MB / 0.4885 GB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/0.4144, allocations: 8.062 kB / 0.4885 GB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000736/0.4151, allocations: 180.2 kB / 0.4887 GB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.478e-05/0.4152, allocations: 8 kB / 0.4887 GB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.032e-05/0.4152, allocations: 22.02 kB / 0.4887 GB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.005e-05/0.4153, allocations: 11.12 kB / 0.4887 GB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/0.4153, allocations: 7.938 kB / 0.4887 GB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002499/0.4178, allocations: 2.081 MB / 0.4908 GB, free: 9.156 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008729/0.4187, allocations: 391.8 kB / 0.4911 GB, free: 8.754 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002022/0.4189, allocations: 16 kB / 0.4912 GB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007826/0.4197, allocations: 62.11 kB / 0.4912 GB, free: 8.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.4198, allocations: 67.81 kB / 0.4913 GB, free: 8.613 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.13e-05/0.4199, allocations: 37.16 kB / 0.4913 GB, free: 8.578 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002452/0.4223, allocations: 1.466 MB / 0.4927 GB, free: 7.094 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4223, allocations: 0 / 0.4927 GB, free: 7.094 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003656/0.426, allocations: 0.544 MB / 0.4933 GB, free: 6.551 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003386/0.4294, allocations: 3.787 MB / 0.497 GB, free: 2.633 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005084/0.4345, allocations: 2.916 MB / 0.4998 GB, free: 15.74 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/0.4345, allocations: 0.8125 kB / 0.4998 GB, free: 15.74 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008969/0.4355, allocations: 0.6484 MB / 0.5005 GB, free: 15.1 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/0.4367, allocations: 175.3 kB / 0.5006 GB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2455/0.6822, allocations: 80.94 MB / 0.5797 GB, free: 119.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001472/0.6837, allocations: 1.968 MB / 0.5816 GB, free: 118.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002911/0.6867, allocations: 1.442 MB / 0.583 GB, free: 118.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001121/0.6878, allocations: 0.8525 MB / 0.5838 GB, free: 118.9 MB / 446.1 MB Notification: Performance of SimCode: time 8.81e-07/0.6878, allocations: 0 / 0.5838 GB, free: 118.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0683/0.7561, allocations: 39.7 MB / 0.6226 GB, free: 108.2 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001505/0.7563, allocations: 215.6 kB / 0.6228 GB, free: 108 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.866/3.622, allocations: 4 kB / 0.6228 GB, free: 108 MB / 446.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/linux/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) Environment - environmentSimulation: