Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.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_FlatRoads,fileNamePrefix="VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckFunctionDifferentiation_FlatRoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads,fileNamePrefix="VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckFunctionDifferentiation_FlatRoads",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.000852/0.0008524, allocations: 91.92 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.0009707/0.0009707, 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.402/1.402, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo): time 0.1655/0.1655, allocations: 7.967 MB / 299 MB, free: 3.23 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003146/0.0003147, allocations: 12 kB / 361.8 MB, free: 14.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1069, allocations: 52.2 MB / 414 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads): time 0.007881/0.1148, allocations: 8.07 MB / 422.1 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2181/0.333, allocations: 2.33 MB / 424.4 MB, free: 34.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001382/0.3344, allocations: 29.41 kB / 424.5 MB, free: 34.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001027/0.3354, allocations: 381.2 kB / 424.8 MB, free: 34.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002873/0.3383, allocations: 1.13 MB / 426 MB, free: 34.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003545/0.3387, allocations: 81.11 kB / 426 MB, free: 34.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00212/0.3408, allocations: 1.697 MB / 427.7 MB, free: 34.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005637/0.3414, allocations: 378.5 kB / 428.1 MB, free: 33.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007185/0.3421, allocations: 0.4886 MB / 428.6 MB, free: 33.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008859/0.343, allocations: 0.7674 MB / 429.4 MB, free: 33.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001455/0.3432, allocations: 55.19 kB / 429.4 MB, free: 33.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006892/0.3439, allocations: 331.8 kB / 429.7 MB, free: 33.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005311/0.3444, allocations: 0.6897 MB / 430.4 MB, free: 33.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002725/0.3447, allocations: 388.4 kB / 430.8 MB, free: 33.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001492/0.3462, allocations: 2.065 MB / 432.9 MB, free: 33.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.3462, allocations: 0 / 432.9 MB, free: 33.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.3462, allocations: 3.469 kB / 432.9 MB, free: 33.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.441e-05/0.3463, allocations: 0 / 432.9 MB, free: 33.39 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: 763 * Number of variables: 763 Notification: Performance of Generate backend data structure: time 0.002284/0.3486, allocations: 1.79 MB / 434.7 MB, free: 32.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.3486, allocations: 13.86 kB / 434.7 MB, free: 32.35 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003912/0.349, allocations: 370.7 kB / 435.1 MB, free: 32.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004026/0.3531, allocations: 1.529 MB / 436.6 MB, free: 32.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001166/0.3542, allocations: 0.8396 MB / 437.4 MB, free: 31.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.212e-05/0.3543, allocations: 81.53 kB / 437.5 MB, free: 31.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005576/0.3549, allocations: 256.7 kB / 437.7 MB, free: 31.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005313/0.3602, allocations: 5.029 MB / 442.8 MB, free: 30.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.409e-05/0.3603, allocations: 28.81 kB / 442.8 MB, free: 30.4 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001713/0.3604, allocations: 72.16 kB / 442.9 MB, free: 30.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001411/0.3619, allocations: 1.148 MB / 444 MB, free: 30.37 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00615/0.368, allocations: 4.277 MB / 448.3 MB, free: 30.22 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01915/0.3872, allocations: 20.66 MB / 469 MB, free: 30.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001664/0.3889, allocations: 1.328 MB / 470.3 MB, free: 29.76 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007188/0.3897, allocations: 444.5 kB / 470.7 MB, free: 29.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.254e-05/0.3897, allocations: 5.594 kB / 470.7 MB, free: 29.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.512e-05/0.3898, allocations: 41.84 kB / 470.8 MB, free: 29.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=85): time 6.152e-06/0.3898, allocations: 4.562 kB / 470.8 MB, free: 29.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=114): time 0.007958/0.3978, allocations: 3.936 MB / 474.7 MB, free: 27.63 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.577e-05/0.3979, allocations: 135.6 kB / 474.8 MB, free: 27.47 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004661/0.4026, allocations: 2.389 MB / 477.2 MB, free: 26.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001369/0.4027, allocations: 41.14 kB / 477.3 MB, free: 26.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001339/0.4041, allocations: 1.753 MB / 479 MB, free: 25.13 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005431/0.4046, allocations: 459.9 kB / 479.5 MB, free: 24.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003096/0.405, allocations: 85.72 kB / 479.6 MB, free: 24.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0004589/0.4054, allocations: 0.5354 MB / 480.1 MB, free: 24.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002336/0.4078, allocations: 1.26 MB / 481.4 MB, free: 23.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003767/0.4116, allocations: 3.886 MB / 485.2 MB, free: 19.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003981/0.4156, allocations: 2.208 MB / 487.4 MB, free: 19.08 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000182/0.4158, allocations: 27.5 kB / 487.5 MB, free: 19.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.01116/0.4269, allocations: 4.928 MB / 492.4 MB, free: 17.22 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001415/0.4271, allocations: 45.69 kB / 492.4 MB, free: 17.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001339/0.4285, allocations: 0.7715 MB / 493.2 MB, free: 17.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003439/0.4288, allocations: 137 kB / 493.4 MB, free: 17.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003247/0.4321, allocations: 0.9468 MB / 494.3 MB, free: 16.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003167/0.4324, allocations: 179.3 kB / 494.5 MB, free: 16.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003254/0.4357, allocations: 219.5 kB / 494.7 MB, free: 16.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005964/0.4363, allocations: 253.8 kB / 494.9 MB, free: 16.14 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 425 * 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 (509): * Single equations (assignments): 503 * 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.002403/0.4387, allocations: 1.206 MB / 496.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005551/0.4393, allocations: 197.4 kB / 496.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006749/0.44, allocations: 263.3 kB / 496.6 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009052/0.4409, allocations: 0.7092 MB / 497.3 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.331e-05/0.4409, allocations: 4 kB / 497.3 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.4409, allocations: 9.719 kB / 497.3 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006413/0.4474, allocations: 3.209 MB / 0.4888 GB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.871e-05/0.4474, allocations: 8 kB / 0.4888 GB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005563/0.448, allocations: 155.7 kB / 0.489 GB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.383e-05/0.448, allocations: 18.19 kB / 0.489 GB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.942e-05/0.4481, allocations: 24.94 kB / 0.489 GB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.418e-05/0.4481, allocations: 23.92 kB / 0.489 GB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-05/0.4482, allocations: 11.94 kB / 0.489 GB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002406/0.4506, allocations: 1.711 MB / 0.4907 GB, free: 8.859 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008357/0.4514, allocations: 278.3 kB / 0.491 GB, free: 8.566 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005639/0.452, allocations: 23.98 kB / 0.491 GB, free: 8.543 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/0.4531, allocations: 49.12 kB / 0.491 GB, free: 8.496 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.4532, allocations: 79.7 kB / 0.4911 GB, free: 8.418 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.872e-05/0.4533, allocations: 45.02 kB / 0.4912 GB, free: 8.375 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002989/0.4563, allocations: 1.474 MB / 0.4926 GB, free: 6.883 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4563, allocations: 0 / 0.4926 GB, free: 6.883 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.004739/0.4611, allocations: 0.5148 MB / 0.4931 GB, free: 6.371 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * 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 (84): * Single equations (assignments): 78 * 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.003202/0.4643, allocations: 2.346 MB / 0.4954 GB, free: 3.887 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005444/0.4697, allocations: 2.771 MB / 0.4981 GB, free: 1.141 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.74e-05/0.4698, allocations: 4 kB / 0.4981 GB, free: 1.137 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007797/0.4706, allocations: 0.5325 MB / 0.4986 GB, free: 0.6094 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002373/0.473, allocations: 198.3 kB / 0.4988 GB, free: 424 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03697/0.5099, allocations: 17.21 MB / 0.5156 GB, free: 12.87 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002546/0.5125, allocations: 1.923 MB / 0.5175 GB, free: 10.92 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.003911/0.5165, allocations: 1.399 MB / 0.5189 GB, free: 9.516 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001666/0.5182, allocations: 0.8508 MB / 0.5197 GB, free: 8.664 MB / 398.1 MB Notification: Performance of SimCode: time 1.512e-06/0.5182, allocations: 1.75 kB / 0.5197 GB, free: 8.664 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07049/0.5887, allocations: 38.62 MB / 0.5574 GB, free: 2.406 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002945/0.589, allocations: 214.3 kB / 0.5576 GB, free: 2.168 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.909/3.499, allocations: 4 kB / 0.5576 GB, free: 2.164 MB / 430.1 MB (rm -f VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe ; mkfifo VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe ; head -c 1048576 < VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe >> ../files/VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckFunctionDifferentiation_FlatRoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckFunctionDifferentiation_FlatRoads.fmu > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe 2>&1) Environment - environmentSimulation: