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.00146/0.00146, 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.001085/0.001085, allocations: 192.6 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.246/1.246, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.1313/0.1313, allocations: 7.98 MB / 298.4 MB, free: 2.238 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 63.89 kB / 360.7 MB, free: 14.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07838/0.07955, allocations: 51.21 MB / 411.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.005789/0.08537, allocations: 5.544 MB / 417.5 MB, free: 5.781 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002781/0.08817, allocations: 2.036 MB / 419.5 MB, free: 3.738 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002246/0.08841, allocations: 16 kB / 419.5 MB, free: 3.723 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007573/0.08918, allocations: 410.2 kB / 419.9 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001062/0.09026, allocations: 0.7041 MB / 420.6 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002536/0.09053, allocations: 131.6 kB / 420.7 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001319/0.09186, allocations: 1.538 MB / 422.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003415/0.09221, allocations: 314.4 kB / 422.6 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004152/0.09263, allocations: 0.5056 MB / 423.1 MB, free: 116 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1334/0.2261, allocations: 0.7061 MB / 423.8 MB, free: 36.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003231/0.2264, allocations: 80.25 kB / 423.9 MB, free: 36.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000903/0.2273, allocations: 440 kB / 424.3 MB, free: 36.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000582/0.2279, allocations: 0.7114 MB / 425 MB, free: 36.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007904/0.2287, allocations: 0.8732 MB / 425.9 MB, free: 35.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001946/0.2307, allocations: 2.661 MB / 428.6 MB, free: 35.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.2307, allocations: 0.5 kB / 428.6 MB, free: 35.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2307, allocations: 0.5625 kB / 428.6 MB, free: 35.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.25e-05/0.2307, allocations: 0 / 428.6 MB, free: 35.2 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.002228/0.233, allocations: 2.141 MB / 430.7 MB, free: 34.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.233, allocations: 10.69 kB / 430.7 MB, free: 34.15 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002653/0.2333, allocations: 372.7 kB / 431.1 MB, free: 34.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00425/0.2375, allocations: 1.484 MB / 432.6 MB, free: 33.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000951/0.2385, allocations: 0.8503 MB / 433.4 MB, free: 33.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.242e-05/0.2385, allocations: 83.77 kB / 433.5 MB, free: 33.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005593/0.2391, allocations: 258.1 kB / 433.7 MB, free: 33.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00383/0.2429, allocations: 5.044 MB / 438.8 MB, free: 31.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.989e-05/0.243, allocations: 25.45 kB / 438.8 MB, free: 31.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001665/0.2432, allocations: 62.02 kB / 438.9 MB, free: 31.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001343/0.2445, allocations: 1.147 MB / 440 MB, free: 31.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004559/0.2491, allocations: 4.308 MB / 444.3 MB, free: 30.31 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01227/0.2614, allocations: 20.67 MB / 465 MB, free: 30.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001154/0.2625, allocations: 1.334 MB / 466.3 MB, free: 29.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004121/0.263, allocations: 452.8 kB / 466.8 MB, free: 29.35 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.263, allocations: 9.594 kB / 466.8 MB, free: 29.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.263, allocations: 37.5 kB / 466.8 MB, free: 29.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=86): time 2.685e-06/0.263, allocations: 3.281 kB / 466.8 MB, free: 29.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=117): time 0.00976/0.2728, allocations: 4.474 MB / 471.3 MB, free: 27.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.419e-05/0.2729, allocations: 139.8 kB / 471.4 MB, free: 27.17 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00235/0.2752, allocations: 2.391 MB / 473.8 MB, free: 26.24 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.454e-05/0.2753, allocations: 39.66 kB / 473.9 MB, free: 26.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006713/0.276, allocations: 1.762 MB / 475.6 MB, free: 24.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002394/0.2762, allocations: 460.1 kB / 476.1 MB, free: 24.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000809/0.277, allocations: 0.8327 MB / 476.9 MB, free: 24.1 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.2772, allocations: 354.8 kB / 477.3 MB, free: 23.78 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001522/0.2787, allocations: 1.304 MB / 478.6 MB, free: 23.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002447/0.2811, allocations: 3.924 MB / 482.5 MB, free: 19.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004397/0.2856, allocations: 5.703 MB / 488.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.114e-05/0.2856, allocations: 30.12 kB / 488.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.006416/0.292, allocations: 5.044 MB / 493.3 MB, free: 12.87 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.184e-05/0.2921, allocations: 46.27 kB / 493.3 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009828/0.2931, allocations: 0.843 MB / 494.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.623e-05/0.2932, allocations: 123.1 kB / 494.3 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002439/0.2956, allocations: 0.9472 MB / 495.2 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000134/0.2958, allocations: 184.8 kB / 495.4 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002156/0.2979, allocations: 219.4 kB / 495.6 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000276/0.2982, allocations: 258.1 kB / 495.9 MB, free: 12.09 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.001407/0.2996, allocations: 1.2 MB / 497.1 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002936/0.2999, allocations: 199.5 kB / 497.3 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003972/0.3003, allocations: 263.8 kB / 497.5 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001011/0.3014, allocations: 0.7957 MB / 498.3 MB, free: 9.887 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.3014, allocations: 4 kB / 498.3 MB, free: 9.883 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.3014, allocations: 8.172 kB / 498.3 MB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004877/0.3063, allocations: 3.352 MB / 0.4899 GB, free: 7.039 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.216e-06/0.3063, allocations: 4.625 kB / 0.4899 GB, free: 7.035 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007104/0.307, allocations: 171.4 kB / 0.4901 GB, free: 6.902 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.669e-06/0.307, allocations: 8.516 kB / 0.4901 GB, free: 6.895 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.633e-05/0.3071, allocations: 30.38 kB / 0.4901 GB, free: 6.871 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.786e-06/0.3071, allocations: 9.734 kB / 0.4901 GB, free: 6.863 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.3071, allocations: 15.88 kB / 0.4901 GB, free: 6.848 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001804/0.3089, allocations: 1.773 MB / 0.4919 GB, free: 5.145 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005038/0.3095, allocations: 383.1 kB / 0.4922 GB, free: 4.777 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001956/0.3097, allocations: 21.56 kB / 0.4923 GB, free: 4.762 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007121/0.3104, allocations: 52.22 kB / 0.4923 GB, free: 4.727 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.3105, allocations: 70.09 kB / 0.4924 GB, free: 4.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.518e-05/0.3106, allocations: 43.84 kB / 0.4924 GB, free: 4.645 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001694/0.3123, allocations: 1.48 MB / 0.4939 GB, free: 3.391 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3123, allocations: 0 / 0.4939 GB, free: 3.391 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002377/0.3147, allocations: 0.539 MB / 0.4944 GB, free: 2.852 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.002155/0.3168, allocations: 2.438 MB / 0.4968 GB, free: 0.5039 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004211/0.321, allocations: 3.226 MB / 0.4999 GB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.3211, allocations: 4 kB / 0.4999 GB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007494/0.3218, allocations: 0.6525 MB / 0.5006 GB, free: 13.17 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/0.3229, allocations: 189.7 kB / 0.5007 GB, free: 13 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02673/0.3497, allocations: 27.27 MB / 0.5274 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001806/0.3515, allocations: 1.927 MB / 0.5293 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.003006/0.3545, allocations: 1.44 MB / 0.5307 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001123/0.3557, allocations: 0.8546 MB / 0.5315 GB, free: 9.258 MB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3557, allocations: 4 kB / 0.5315 GB, free: 9.254 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7305/1.086, allocations: 35.96 MB / 0.5666 GB, free: 5.551 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/13.41, allocations: 14.92 kB / 0.5666 GB, free: 5.539 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/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)