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-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_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.001027/0.001027, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001202/0.001202, allocations: 191.9 kB / 16.25 MB, free: 6.633 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.281/1.281, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.163/0.163, allocations: 7.974 MB / 298.1 MB, free: 2.395 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001048/0.001048, allocations: 59.91 kB / 360.2 MB, free: 14.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09209/0.09316, allocations: 51.21 MB / 411.4 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads): time 0.009053/0.1022, allocations: 9.074 MB / 420.5 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00434/0.1066, allocations: 2.489 MB / 423 MB, free: 100 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001404/0.108, allocations: 31.94 kB / 423 MB, free: 68 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1559/0.264, allocations: 368.5 kB / 423.4 MB, free: 35.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001585/0.2656, allocations: 0.6532 MB / 424 MB, free: 35.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002266/0.2659, allocations: 90.83 kB / 424.1 MB, free: 35.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001227/0.2671, allocations: 1.569 MB / 425.7 MB, free: 35.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003481/0.2675, allocations: 332.1 kB / 426 MB, free: 35.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003822/0.2679, allocations: 0.4987 MB / 426.5 MB, free: 35.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006064/0.2685, allocations: 0.8141 MB / 427.3 MB, free: 35.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001185/0.2686, allocations: 81.16 kB / 427.4 MB, free: 35.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005082/0.2691, allocations: 395.3 kB / 427.8 MB, free: 35.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004842/0.2696, allocations: 0.7316 MB / 428.5 MB, free: 35.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005008/0.2701, allocations: 0.8901 MB / 429.4 MB, free: 34.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001672/0.2718, allocations: 2.665 MB / 432.1 MB, free: 34.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2718, allocations: 0 / 432.1 MB, free: 34.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.2718, allocations: 0 / 432.1 MB, free: 34.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.679e-05/0.2719, allocations: 3.938 kB / 432.1 MB, free: 34.49 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.002349/0.2742, allocations: 2.14 MB / 434.2 MB, free: 33.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.2743, allocations: 10.09 kB / 434.2 MB, free: 33.44 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002741/0.2745, allocations: 374.3 kB / 434.6 MB, free: 33.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004023/0.2786, allocations: 1.485 MB / 436.1 MB, free: 33.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009536/0.2795, allocations: 0.8572 MB / 436.9 MB, free: 32.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.162e-05/0.2796, allocations: 82.05 kB / 437 MB, free: 32.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005552/0.2802, allocations: 248.4 kB / 437.3 MB, free: 32.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004249/0.2844, allocations: 5.033 MB / 442.3 MB, free: 30.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.886e-05/0.2845, allocations: 32.78 kB / 442.3 MB, free: 30.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001584/0.2846, allocations: 63.11 kB / 442.4 MB, free: 30.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001277/0.2859, allocations: 1.156 MB / 443.5 MB, free: 30.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004978/0.2909, allocations: 4.298 MB / 447.8 MB, free: 28.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01454/0.3055, allocations: 20.66 MB / 468.5 MB, free: 28.88 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001321/0.3068, allocations: 1.332 MB / 469.8 MB, free: 27.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004646/0.3073, allocations: 450.8 kB / 470.3 MB, free: 27.8 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.3073, allocations: 6.875 kB / 470.3 MB, free: 27.8 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.3073, allocations: 43.72 kB / 470.3 MB, free: 27.76 MB / 366.1 MB Notification: Performance of pre-optimization done (n=85): time 2.335e-06/0.3074, allocations: 0 / 470.3 MB, free: 27.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=114): time 0.005003/0.3124, allocations: 3.955 MB / 474.3 MB, free: 25.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.871e-05/0.3124, allocations: 140.4 kB / 474.4 MB, free: 25.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002654/0.3151, allocations: 2.396 MB / 476.8 MB, free: 24.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.368e-05/0.3152, allocations: 40.62 kB / 476.8 MB, free: 24.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000857/0.316, allocations: 1.764 MB / 478.6 MB, free: 23.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002863/0.3163, allocations: 453.1 kB / 479 MB, free: 23.01 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008808/0.3172, allocations: 0.8219 MB / 479.9 MB, free: 22.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.3174, allocations: 354.6 kB / 480.2 MB, free: 22.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001637/0.319, allocations: 1.274 MB / 481.5 MB, free: 21.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002617/0.3216, allocations: 3.904 MB / 485.4 MB, free: 17.9 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0051/0.3268, allocations: 5.661 MB / 491.1 MB, free: 12.97 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.141e-05/0.3268, allocations: 25.31 kB / 491.1 MB, free: 12.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.008415/0.3353, allocations: 4.958 MB / 496 MB, free: 10.94 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.769e-05/0.3354, allocations: 54.53 kB / 496.1 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001019/0.3364, allocations: 0.7624 MB / 496.9 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001494/0.3365, allocations: 120.8 kB / 497 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002632/0.3392, allocations: 0.9418 MB / 497.9 MB, free: 9.262 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001412/0.3393, allocations: 187.6 kB / 498.1 MB, free: 9.098 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002539/0.3419, allocations: 221.2 kB / 498.3 MB, free: 8.902 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003079/0.3422, allocations: 256.5 kB / 498.6 MB, free: 8.656 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001663/0.3439, allocations: 1.212 MB / 499.8 MB, free: 7.578 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003364/0.3442, allocations: 201.3 kB / 500 MB, free: 7.379 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003997/0.3446, allocations: 259.3 kB / 0.4885 GB, free: 7.152 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009147/0.3455, allocations: 0.7122 MB / 0.4892 GB, free: 6.508 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.581e-05/0.3456, allocations: 5.734 kB / 0.4892 GB, free: 6.504 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.3456, allocations: 4.406 kB / 0.4892 GB, free: 6.504 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005054/0.3506, allocations: 3.21 MB / 0.4923 GB, free: 3.668 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/0.3507, allocations: 8 kB / 0.4923 GB, free: 3.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004886/0.3512, allocations: 156.4 kB / 0.4925 GB, free: 3.531 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.464e-05/0.3512, allocations: 12 kB / 0.4925 GB, free: 3.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.428e-05/0.3512, allocations: 30.52 kB / 0.4925 GB, free: 3.492 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.519e-05/0.3513, allocations: 31.25 kB / 0.4926 GB, free: 3.465 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.307e-06/0.3513, allocations: 11.94 kB / 0.4926 GB, free: 3.453 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001839/0.3531, allocations: 1.718 MB / 0.4943 GB, free: 1.719 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000455/0.3536, allocations: 273.8 kB / 0.4945 GB, free: 1.438 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001943/0.3538, allocations: 32.22 kB / 0.4945 GB, free: 1.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006384/0.3544, allocations: 43.2 kB / 0.4946 GB, free: 1.379 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/0.3546, allocations: 82.55 kB / 0.4947 GB, free: 1.316 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.734e-05/0.3547, allocations: 42.64 kB / 0.4947 GB, free: 1.277 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002106/0.3568, allocations: 1.483 MB / 0.4962 GB, free: 15.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3568, allocations: 0 / 0.4962 GB, free: 15.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003148/0.3599, allocations: 0.5176 MB / 0.4967 GB, free: 15.32 MB / 382.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 (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.002181/0.3621, allocations: 2.361 MB / 0.499 GB, free: 12.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0042/0.3663, allocations: 2.938 MB / 0.5018 GB, free: 9.914 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/0.3664, allocations: 4 kB / 0.5018 GB, free: 9.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006418/0.367, allocations: 0.536 MB / 0.5024 GB, free: 9.379 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/0.3684, allocations: 206.7 kB / 0.5026 GB, free: 9.184 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03496/0.4034, allocations: 28.05 MB / 0.53 GB, free: 8.695 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001608/0.4051, allocations: 1.931 MB / 0.5318 GB, free: 6.727 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002827/0.4079, allocations: 1.407 MB / 0.5332 GB, free: 5.316 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000986/0.4089, allocations: 0.8468 MB / 0.534 GB, free: 4.473 MB / 414.1 MB Notification: Performance of SimCode: time 7.72e-07/0.4089, allocations: 0 / 0.534 GB, free: 4.473 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1483/0.5573, allocations: 34.68 MB / 0.5679 GB, free: 2.062 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002145/0.5575, allocations: 233.8 kB / 0.5681 GB, free: 1.809 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.954/3.512, allocations: 2.812 kB / 0.5681 GB, free: 1.809 MB / 446.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/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)