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.00136/0.00136, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 192 kB / 16.53 MB, free: 6.391 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.296/1.296, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.1433/0.1433, allocations: 7.986 MB / 298.4 MB, free: 2.328 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 59.91 kB / 360.7 MB, free: 14.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07829/0.07953, allocations: 51.2 MB / 411.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.005979/0.08554, allocations: 5.548 MB / 417.5 MB, free: 5.758 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00306/0.08863, allocations: 2.04 MB / 419.5 MB, free: 3.711 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002685/0.08891, allocations: 16 kB / 419.5 MB, free: 3.695 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008175/0.08974, allocations: 406.2 kB / 419.9 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001152/0.09093, allocations: 0.7002 MB / 420.6 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002662/0.09121, allocations: 131.6 kB / 420.7 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001397/0.09262, allocations: 1.542 MB / 422.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003628/0.09299, allocations: 322.4 kB / 422.6 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004433/0.09344, allocations: 0.5018 MB / 423.1 MB, free: 88 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1464/0.2399, allocations: 0.7022 MB / 423.8 MB, free: 36.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002967/0.2402, allocations: 84.44 kB / 423.9 MB, free: 36.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008273/0.241, allocations: 435.9 kB / 424.3 MB, free: 36.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004298/0.2415, allocations: 0.715 MB / 425 MB, free: 36.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005158/0.242, allocations: 0.8716 MB / 425.9 MB, free: 35.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001699/0.2437, allocations: 2.655 MB / 428.6 MB, free: 35.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2437, allocations: 3.188 kB / 428.6 MB, free: 35.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2437, allocations: 1.094 kB / 428.6 MB, free: 35.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.679e-05/0.2438, allocations: 0 / 428.6 MB, free: 35.41 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.002478/0.2463, allocations: 2.147 MB / 430.7 MB, free: 34.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.2463, allocations: 9.469 kB / 430.7 MB, free: 34.36 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002877/0.2466, allocations: 370.9 kB / 431.1 MB, free: 34.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004462/0.2511, allocations: 1.478 MB / 432.6 MB, free: 34.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009806/0.2521, allocations: 0.8542 MB / 433.4 MB, free: 33.83 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.663e-05/0.2521, allocations: 88.33 kB / 433.5 MB, free: 33.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005769/0.2527, allocations: 249 kB / 433.7 MB, free: 33.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00405/0.2568, allocations: 5.046 MB / 438.8 MB, free: 31.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.248e-05/0.2568, allocations: 27.19 kB / 438.8 MB, free: 31.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001733/0.257, allocations: 64.64 kB / 438.9 MB, free: 31.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001436/0.2584, allocations: 1.154 MB / 440 MB, free: 31.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005008/0.2634, allocations: 4.295 MB / 444.3 MB, free: 30.53 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01412/0.2776, allocations: 20.67 MB / 465 MB, free: 30.62 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001293/0.2789, allocations: 1.341 MB / 466.3 MB, free: 29.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004351/0.2793, allocations: 441.3 kB / 466.8 MB, free: 29.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.2794, allocations: 6.312 kB / 466.8 MB, free: 29.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.2794, allocations: 40.38 kB / 466.8 MB, free: 29.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=86): time 3.135e-06/0.2794, allocations: 4 kB / 466.8 MB, free: 29.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=117): time 0.01078/0.2902, allocations: 4.472 MB / 471.3 MB, free: 27.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.632e-05/0.2903, allocations: 143.5 kB / 471.4 MB, free: 27.39 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002824/0.2931, allocations: 2.396 MB / 473.8 MB, free: 26.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.252e-05/0.2932, allocations: 36.98 kB / 473.9 MB, free: 26.42 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007061/0.294, allocations: 1.761 MB / 475.6 MB, free: 25.04 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002672/0.2942, allocations: 456.4 kB / 476.1 MB, free: 24.72 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008243/0.2951, allocations: 0.827 MB / 476.9 MB, free: 24.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.2952, allocations: 355.8 kB / 477.2 MB, free: 24 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001844/0.2971, allocations: 1.31 MB / 478.6 MB, free: 23.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002745/0.2998, allocations: 3.923 MB / 482.5 MB, free: 19.63 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004727/0.3045, allocations: 5.716 MB / 488.2 MB, free: 14.99 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.726e-05/0.3046, allocations: 27.5 kB / 488.2 MB, free: 14.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.006875/0.3115, allocations: 5.045 MB / 493.3 MB, free: 13.08 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.049e-05/0.3116, allocations: 49.67 kB / 493.3 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001079/0.3127, allocations: 0.8454 MB / 494.2 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001196/0.3128, allocations: 121.9 kB / 494.3 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002568/0.3154, allocations: 0.9514 MB / 495.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000142/0.3155, allocations: 181 kB / 495.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002342/0.3179, allocations: 220.7 kB / 495.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003017/0.3182, allocations: 256.8 kB / 495.9 MB, free: 12.25 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001524/0.3197, allocations: 1.204 MB / 497.1 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003226/0.32, allocations: 194.1 kB / 497.3 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000409/0.3205, allocations: 267.5 kB / 497.5 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001098/0.3216, allocations: 0.7899 MB / 498.3 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.3216, allocations: 4 kB / 498.3 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.3216, allocations: 3.938 kB / 498.3 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005329/0.3269, allocations: 3.351 MB / 0.4899 GB, free: 7.207 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.238e-06/0.327, allocations: 4.656 kB / 0.4899 GB, free: 7.203 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007532/0.3277, allocations: 180.5 kB / 0.4901 GB, free: 7.062 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.013e-05/0.3277, allocations: 8 kB / 0.4901 GB, free: 7.055 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.562e-05/0.3278, allocations: 23.94 kB / 0.4901 GB, free: 7.035 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.446e-06/0.3278, allocations: 4 kB / 0.4901 GB, free: 7.031 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/0.3278, allocations: 20.36 kB / 0.4901 GB, free: 7.012 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001869/0.3297, allocations: 1.775 MB / 0.4919 GB, free: 5.309 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005322/0.3302, allocations: 377.8 kB / 0.4922 GB, free: 4.945 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002021/0.3305, allocations: 26.19 kB / 0.4923 GB, free: 4.922 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007635/0.3312, allocations: 57.05 kB / 0.4923 GB, free: 4.887 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/0.3314, allocations: 70.92 kB / 0.4924 GB, free: 4.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.102e-05/0.3314, allocations: 35.75 kB / 0.4924 GB, free: 4.809 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001901/0.3333, allocations: 1.478 MB / 0.4939 GB, free: 3.555 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3334, allocations: 0 / 0.4939 GB, free: 3.555 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002918/0.3363, allocations: 0.5479 MB / 0.4944 GB, free: 3.012 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 (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.002416/0.3387, allocations: 2.429 MB / 0.4968 GB, free: 0.668 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00452/0.3432, allocations: 3.193 MB / 0.4999 GB, free: 13.83 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.708e-06/0.3433, allocations: 384 / 0.4999 GB, free: 13.83 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000806/0.3441, allocations: 0.6485 MB / 0.5005 GB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/0.3454, allocations: 194.3 kB / 0.5007 GB, free: 13.06 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03108/0.3765, allocations: 27.26 MB / 0.5273 GB, free: 13.49 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001829/0.3784, allocations: 1.93 MB / 0.5292 GB, free: 11.53 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.003107/0.3815, allocations: 1.439 MB / 0.5306 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001138/0.3827, allocations: 0.8507 MB / 0.5315 GB, free: 9.238 MB / 414.1 MB Notification: Performance of SimCode: time 6.82e-07/0.3827, allocations: 0 / 0.5315 GB, free: 9.238 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0575/0.4402, allocations: 35.97 MB / 0.5666 GB, free: 5.535 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.981/8.421, allocations: 7.766 kB / 0.5666 GB, free: 5.527 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 & python3 -m fmpy simulate --output-file VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckFunctionDifferentiation_CircleRoads.fmu > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.pipe 2>&1)