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.008989/0.008989, allocations: 104.5 kB / 15.74 MB, free: 6.441 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.001592/0.001592, allocations: 190.2 kB / 16.67 MB, free: 6.355 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.1678/0.1678, allocations: 7.986 MB / 298.5 MB, free: 2.238 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 63.91 kB / 412.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2344, allocations: 51.2 MB / 463.8 MB, free: 18.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.005456/0.2399, allocations: 5.559 MB / 469.4 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00334/0.2432, allocations: 2.022 MB / 471.4 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006498/0.2439, allocations: 17.66 kB / 471.4 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.245, allocations: 415.4 kB / 471.8 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001722/0.2467, allocations: 0.7058 MB / 472.5 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004168/0.2472, allocations: 135.9 kB / 472.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001967/0.2491, allocations: 1.542 MB / 474.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005183/0.2497, allocations: 322.9 kB / 474.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008271/0.2505, allocations: 0.4998 MB / 475 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001001/0.2515, allocations: 0.7136 MB / 475.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002547/0.2518, allocations: 81.12 kB / 475.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000949/0.2528, allocations: 438.1 kB / 476.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007323/0.2535, allocations: 0.7171 MB / 476.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008375/0.2544, allocations: 0.8756 MB / 477.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003039/0.2574, allocations: 2.8 MB / 480.6 MB, free: 8.566 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.2575, allocations: 0 / 480.6 MB, free: 8.566 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2575, allocations: 1.406 kB / 480.6 MB, free: 8.566 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.913e-05/0.2576, allocations: 4 kB / 480.6 MB, free: 8.562 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.004445/0.262, allocations: 2.142 MB / 482.8 MB, free: 6.957 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.2621, allocations: 9.344 kB / 482.8 MB, free: 6.957 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005342/0.2626, allocations: 372.5 kB / 483.1 MB, free: 6.699 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004666/0.2673, allocations: 1.49 MB / 484.6 MB, free: 5.914 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001714/0.269, allocations: 0.8531 MB / 485.5 MB, free: 5.297 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.11e-05/0.2691, allocations: 85.86 kB / 485.6 MB, free: 5.254 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007602/0.2699, allocations: 254.8 kB / 485.8 MB, free: 5.172 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006936/0.2769, allocations: 5.046 MB / 490.9 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.274e-05/0.277, allocations: 29.84 kB / 490.9 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002376/0.2772, allocations: 64.94 kB / 490.9 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001558/0.2788, allocations: 1.156 MB / 492.1 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007245/0.286, allocations: 4.293 MB / 496.4 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02384/0.3099, allocations: 20.61 MB / 0.5049 GB, free: 7.586 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001778/0.3117, allocations: 1.341 MB / 0.5062 GB, free: 6.094 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000633/0.3124, allocations: 451.2 kB / 0.5066 GB, free: 5.641 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.266e-05/0.3125, allocations: 8 kB / 0.5066 GB, free: 5.633 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.3125, allocations: 38.56 kB / 0.5067 GB, free: 5.586 MB / 382.1 MB Notification: Performance of pre-optimization done (n=86): time 4.258e-06/0.3125, allocations: 0 / 0.5067 GB, free: 5.586 MB / 382.1 MB Notification: Performance of matching and sorting (n=117): time 0.01238/0.3249, allocations: 4.486 MB / 0.511 GB, free: 1.051 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.653e-05/0.325, allocations: 136.8 kB / 0.5112 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003428/0.3285, allocations: 2.397 MB / 0.5135 GB, free: 14.45 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001773/0.3287, allocations: 37.7 kB / 0.5136 GB, free: 14.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001274/0.3299, allocations: 1.757 MB / 0.5153 GB, free: 12.62 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005222/0.3305, allocations: 466.1 kB / 0.5157 GB, free: 12.16 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001582/0.3321, allocations: 0.8292 MB / 0.5165 GB, free: 11.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002011/0.3323, allocations: 357.9 kB / 0.5169 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002109/0.3344, allocations: 1.308 MB / 0.5181 GB, free: 9.656 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003778/0.3382, allocations: 3.919 MB / 0.522 GB, free: 4.426 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006194/0.3444, allocations: 5.716 MB / 0.5276 GB, free: 13.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.312e-05/0.3446, allocations: 24 kB / 0.5276 GB, free: 13.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.008707/0.3533, allocations: 5.038 MB / 0.5325 GB, free: 8.344 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.654e-05/0.3534, allocations: 48.94 kB / 0.5325 GB, free: 8.297 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00123/0.3546, allocations: 0.8374 MB / 0.5334 GB, free: 7.457 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000173/0.3548, allocations: 124 kB / 0.5335 GB, free: 7.336 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003007/0.3578, allocations: 0.9477 MB / 0.5344 GB, free: 6.387 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001564/0.358, allocations: 183.3 kB / 0.5346 GB, free: 6.207 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002555/0.3606, allocations: 219.6 kB / 0.5348 GB, free: 5.992 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005635/0.3612, allocations: 263.9 kB / 0.535 GB, free: 5.734 MB / 414.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.00204/0.3632, allocations: 1.202 MB / 0.5362 GB, free: 4.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004254/0.3637, allocations: 197.4 kB / 0.5364 GB, free: 4.324 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005823/0.3643, allocations: 267.1 kB / 0.5367 GB, free: 4.055 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001128/0.3654, allocations: 0.7993 MB / 0.5374 GB, free: 3.246 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.3654, allocations: 0 / 0.5374 GB, free: 3.246 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/0.3654, allocations: 7.984 kB / 0.5374 GB, free: 3.238 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005946/0.3714, allocations: 3.341 MB / 0.5407 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/0.3714, allocations: 4 kB / 0.5407 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007782/0.3722, allocations: 175.7 kB / 0.5409 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.354e-05/0.3723, allocations: 8 kB / 0.5409 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.552e-05/0.3723, allocations: 27.94 kB / 0.5409 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.035e-05/0.3724, allocations: 11.98 kB / 0.5409 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.3724, allocations: 7.938 kB / 0.5409 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002147/0.3745, allocations: 1.779 MB / 0.5427 GB, free: 13.72 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008002/0.3753, allocations: 382.3 kB / 0.543 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000349/0.3757, allocations: 23.94 kB / 0.5431 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008873/0.3766, allocations: 59.92 kB / 0.5431 GB, free: 13.24 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/0.3768, allocations: 59.8 kB / 0.5432 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-05/0.3769, allocations: 43.97 kB / 0.5432 GB, free: 13.14 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00247/0.3793, allocations: 1.474 MB / 0.5447 GB, free: 11.65 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3794, allocations: 4 kB / 0.5447 GB, free: 11.64 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003297/0.3827, allocations: 0.5429 MB / 0.5452 GB, free: 11.1 MB / 430.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.002763/0.3855, allocations: 2.435 MB / 0.5476 GB, free: 8.594 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004793/0.3903, allocations: 2.954 MB / 0.5504 GB, free: 5.664 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.436e-05/0.3903, allocations: 4.125 kB / 0.5505 GB, free: 5.66 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008592/0.3912, allocations: 0.6437 MB / 0.5511 GB, free: 5.016 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001767/0.393, allocations: 196.6 kB / 0.5513 GB, free: 4.82 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04074/0.4338, allocations: 25.66 MB / 0.5763 GB, free: 7.684 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002546/0.4364, allocations: 1.926 MB / 0.5782 GB, free: 5.723 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00329/0.4397, allocations: 1.44 MB / 0.5796 GB, free: 4.277 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001568/0.4413, allocations: 0.8508 MB / 0.5804 GB, free: 3.426 MB / 462.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4413, allocations: 0 / 0.5804 GB, free: 3.426 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2716/0.7129, allocations: 33.44 MB / 0.6131 GB, free: 107.4 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.67/13.38, allocations: 11.8 kB / 0.6131 GB, free: 107.4 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)