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.0008577/0.0008578, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.0008948/0.0008948, allocations: 172.7 kB / 15.95 MB, free: 208 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.464/1.464, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo): time 0.1792/0.1792, allocations: 7.961 MB / 299 MB, free: 3.348 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003179/0.0003181, allocations: 8 kB / 361.8 MB, free: 14.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1129, allocations: 52.21 MB / 414 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.007739/0.1206, allocations: 8.042 MB / 422.1 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2188/0.3395, allocations: 2.414 MB / 424.5 MB, free: 33.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001293/0.3408, allocations: 31.34 kB / 424.5 MB, free: 33.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009392/0.3418, allocations: 386.2 kB / 424.9 MB, free: 33.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002889/0.3447, allocations: 1.126 MB / 426 MB, free: 33.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003747/0.3451, allocations: 113.6 kB / 426.1 MB, free: 33.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001927/0.347, allocations: 1.697 MB / 427.8 MB, free: 33.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004741/0.3475, allocations: 375.8 kB / 428.2 MB, free: 33.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004883/0.348, allocations: 0.4973 MB / 428.7 MB, free: 33.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007485/0.3487, allocations: 0.772 MB / 429.5 MB, free: 33.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.3488, allocations: 55.25 kB / 429.5 MB, free: 33.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007057/0.3496, allocations: 373.8 kB / 429.9 MB, free: 33.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000483/0.3501, allocations: 0.6949 MB / 430.6 MB, free: 33.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002609/0.3503, allocations: 384.7 kB / 431 MB, free: 33.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001513/0.3518, allocations: 2.071 MB / 433 MB, free: 33.19 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.3519, allocations: 0 / 433 MB, free: 33.19 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3519, allocations: 0 / 433 MB, free: 33.19 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.127e-05/0.3519, allocations: 0 / 433 MB, free: 33.19 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.002376/0.3543, allocations: 1.806 MB / 434.8 MB, free: 32.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.3543, allocations: 13.45 kB / 434.9 MB, free: 32.15 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000417/0.3548, allocations: 370.3 kB / 435.2 MB, free: 32.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004017/0.3588, allocations: 1.529 MB / 436.7 MB, free: 31.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/0.3599, allocations: 0.8483 MB / 437.6 MB, free: 31.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.492e-05/0.36, allocations: 86.5 kB / 437.7 MB, free: 31.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005477/0.3605, allocations: 246.3 kB / 437.9 MB, free: 31.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004987/0.3655, allocations: 5.038 MB / 443 MB, free: 30.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.76e-05/0.3656, allocations: 25 kB / 443 MB, free: 30.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001706/0.3658, allocations: 61.44 kB / 443 MB, free: 30.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00145/0.3672, allocations: 1.158 MB / 444.2 MB, free: 30.17 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005824/0.3731, allocations: 4.272 MB / 448.5 MB, free: 30.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01749/0.3906, allocations: 20.68 MB / 469.2 MB, free: 30.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001673/0.3923, allocations: 1.334 MB / 470.5 MB, free: 29.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005782/0.3929, allocations: 451.2 kB / 470.9 MB, free: 29.4 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.938e-05/0.393, allocations: 13.56 kB / 470.9 MB, free: 29.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/0.393, allocations: 38.25 kB / 471 MB, free: 29.35 MB / 366.1 MB Notification: Performance of pre-optimization done (n=86): time 3.857e-06/0.393, allocations: 1.125 kB / 471 MB, free: 29.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=117): time 0.01044/0.4034, allocations: 4.455 MB / 475.4 MB, free: 27.36 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.789e-05/0.4036, allocations: 136.9 kB / 475.6 MB, free: 27.2 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003477/0.4071, allocations: 2.383 MB / 477.9 MB, free: 26.28 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001182/0.4072, allocations: 39.84 kB / 478 MB, free: 26.24 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001108/0.4083, allocations: 1.755 MB / 479.7 MB, free: 24.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003898/0.4087, allocations: 469.1 kB / 480.2 MB, free: 24.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001475/0.4089, allocations: 79.92 kB / 480.3 MB, free: 24.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000345/0.4092, allocations: 0.5308 MB / 480.8 MB, free: 24.08 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001975/0.4112, allocations: 1.29 MB / 482.1 MB, free: 23.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003557/0.4148, allocations: 3.907 MB / 486 MB, free: 19.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003413/0.4182, allocations: 2.235 MB / 488.2 MB, free: 18.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.053e-05/0.4183, allocations: 34.47 kB / 488.3 MB, free: 18.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.007847/0.4261, allocations: 5.003 MB / 493.3 MB, free: 16.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.197e-05/0.4262, allocations: 47.75 kB / 493.3 MB, free: 16.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001143/0.4274, allocations: 0.8456 MB / 494.2 MB, free: 16.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001788/0.4276, allocations: 136 kB / 494.3 MB, free: 16.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002648/0.4302, allocations: 0.9503 MB / 495.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001218/0.4303, allocations: 186.3 kB / 495.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002626/0.433, allocations: 216.9 kB / 495.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002795/0.4333, allocations: 260.2 kB / 495.9 MB, free: 15.36 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.00159/0.4349, allocations: 1.201 MB / 497.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003722/0.4352, allocations: 200 kB / 497.3 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004646/0.4357, allocations: 268 kB / 497.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001049/0.4368, allocations: 0.7865 MB / 498.3 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-05/0.4368, allocations: 0 / 498.3 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.4368, allocations: 10.19 kB / 498.4 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00594/0.4428, allocations: 3.347 MB / 0.4899 GB, free: 9.887 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/0.4428, allocations: 6.125 kB / 0.49 GB, free: 9.883 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000762/0.4436, allocations: 171.7 kB / 0.4901 GB, free: 9.715 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.986e-05/0.4436, allocations: 8 kB / 0.4901 GB, free: 9.707 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.512e-05/0.4437, allocations: 25.91 kB / 0.4901 GB, free: 9.684 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.411e-05/0.4437, allocations: 12.38 kB / 0.4902 GB, free: 9.672 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/0.4437, allocations: 8 kB / 0.4902 GB, free: 9.664 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002461/0.4462, allocations: 1.779 MB / 0.4919 GB, free: 7.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008395/0.4471, allocations: 386.2 kB / 0.4923 GB, free: 7.422 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001891/0.4473, allocations: 17.33 kB / 0.4923 GB, free: 7.406 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007146/0.448, allocations: 60.62 kB / 0.4923 GB, free: 7.348 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.4481, allocations: 67.8 kB / 0.4924 GB, free: 7.281 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.957e-05/0.4482, allocations: 47.14 kB / 0.4925 GB, free: 7.238 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002194/0.4504, allocations: 1.466 MB / 0.4939 GB, free: 5.754 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.4504, allocations: 3.938 kB / 0.4939 GB, free: 5.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00325/0.4537, allocations: 0.5406 MB / 0.4944 GB, free: 5.211 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.002488/0.4561, allocations: 2.421 MB / 0.4968 GB, free: 2.723 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004799/0.461, allocations: 2.913 MB / 0.4996 GB, free: 15.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.461, allocations: 3.938 kB / 0.4996 GB, free: 15.83 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008303/0.4618, allocations: 0.6469 MB / 0.5003 GB, free: 15.19 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001447/0.4633, allocations: 186.4 kB / 0.5004 GB, free: 15 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02898/0.4923, allocations: 17.34 MB / 0.5174 GB, free: 11.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002198/0.4945, allocations: 1.927 MB / 0.5193 GB, free: 9.457 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.003383/0.4979, allocations: 1.437 MB / 0.5207 GB, free: 8.016 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001232/0.4992, allocations: 0.8546 MB / 0.5215 GB, free: 7.164 MB / 398.1 MB Notification: Performance of SimCode: time 3.316e-06/0.4992, allocations: 0 / 0.5215 GB, free: 7.164 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06505/0.5643, allocations: 39.73 MB / 0.5603 GB, free: 15.81 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000223/0.5645, allocations: 216.6 kB / 0.5605 GB, free: 15.57 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.034/3.599, allocations: 0 / 0.5605 GB, free: 15.57 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: