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: translateModel(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads") translateModel(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009055/0.009055, allocations: 100.2 kB / 15.73 MB, free: 6.016 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.001858/0.001858, allocations: 203.1 kB / 16.68 MB, free: 5.934 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.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.0424/0.0424, allocations: 8.007 MB / 298.5 MB, free: 7.105 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 67.89 kB / 413.1 MB, free: 22.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09479/0.09604, allocations: 51.21 MB / 464.3 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.007192/0.1033, allocations: 5.545 MB / 469.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004203/0.1075, allocations: 2.033 MB / 471.9 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004691/0.108, allocations: 20 kB / 471.9 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00112/0.1092, allocations: 406.1 kB / 472.3 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001502/0.1107, allocations: 0.6984 MB / 473 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003649/0.1111, allocations: 127.6 kB / 473.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002044/0.1131, allocations: 1.545 MB / 474.7 MB, free: 9.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005207/0.1137, allocations: 322.1 kB / 475 MB, free: 8.852 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006175/0.1143, allocations: 0.5134 MB / 475.5 MB, free: 8.336 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008775/0.1152, allocations: 0.7082 MB / 476.2 MB, free: 7.625 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001791/0.1154, allocations: 80 kB / 476.3 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008495/0.1163, allocations: 435.2 kB / 476.7 MB, free: 7.121 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006821/0.1169, allocations: 0.7244 MB / 477.4 MB, free: 6.395 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008443/0.1178, allocations: 0.8651 MB / 478.3 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003305/0.1211, allocations: 2.802 MB / 481.1 MB, free: 2.711 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/0.1211, allocations: 0 / 481.1 MB, free: 2.711 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.962e-06/0.1212, allocations: 0 / 481.1 MB, free: 2.711 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.788e-05/0.1212, allocations: 3.938 kB / 481.1 MB, free: 2.707 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.003613/0.1248, allocations: 2.147 MB / 483.2 MB, free: 0.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.363e-05/0.1249, allocations: 8.031 kB / 483.2 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004972/0.1299, allocations: 1.484 MB / 484.7 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001342/0.1312, allocations: 0.8663 MB / 485.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.738e-05/0.1313, allocations: 82.05 kB / 485.7 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006558/0.132, allocations: 247.7 kB / 485.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006222/0.1382, allocations: 5.045 MB / 491 MB, free: 8.254 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.752e-05/0.1383, allocations: 27.75 kB / 491 MB, free: 8.227 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001865/0.1385, allocations: 63.84 kB / 491 MB, free: 8.164 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001746/0.1403, allocations: 1.154 MB / 492.2 MB, free: 7.008 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006412/0.1467, allocations: 4.304 MB / 496.5 MB, free: 2.703 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2618/0.4085, allocations: 20.59 MB / 0.505 GB, free: 29.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001527/0.4101, allocations: 1.341 MB / 0.5063 GB, free: 29.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005229/0.4106, allocations: 452.8 kB / 0.5067 GB, free: 29.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.4107, allocations: 6.562 kB / 0.5067 GB, free: 29.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.4107, allocations: 42.5 kB / 0.5068 GB, free: 29.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=86): time 2.465e-06/0.4107, allocations: 0 / 0.5068 GB, free: 29.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=117): time 0.01113/0.4218, allocations: 4.479 MB / 0.5111 GB, free: 27.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.4219, allocations: 137 kB / 0.5113 GB, free: 27.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003158/0.4251, allocations: 2.391 MB / 0.5136 GB, free: 27.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.865e-05/0.4252, allocations: 41.3 kB / 0.5136 GB, free: 27.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008559/0.426, allocations: 1.765 MB / 0.5154 GB, free: 26.13 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002875/0.4263, allocations: 458.8 kB / 0.5158 GB, free: 25.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008874/0.4272, allocations: 0.8255 MB / 0.5166 GB, free: 25.42 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.104e-05/0.4273, allocations: 354.9 kB / 0.5169 GB, free: 25.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001757/0.4291, allocations: 1.309 MB / 0.5182 GB, free: 24.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002594/0.4317, allocations: 3.924 MB / 0.5221 GB, free: 20.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004487/0.4362, allocations: 5.722 MB / 0.5276 GB, free: 15.99 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.716e-05/0.4363, allocations: 26.98 kB / 0.5277 GB, free: 15.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.006245/0.4425, allocations: 5.039 MB / 0.5326 GB, free: 14.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.808e-05/0.4426, allocations: 43.59 kB / 0.5326 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009053/0.4435, allocations: 0.8381 MB / 0.5335 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001052/0.4436, allocations: 121.8 kB / 0.5336 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002407/0.446, allocations: 0.9454 MB / 0.5345 GB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.802e-05/0.4461, allocations: 191.7 kB / 0.5347 GB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002482/0.4486, allocations: 218.3 kB / 0.5349 GB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002255/0.4488, allocations: 259.6 kB / 0.5351 GB, free: 12.82 MB / 382.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.001184/0.45, allocations: 1.204 MB / 0.5363 GB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000286/0.4503, allocations: 197.4 kB / 0.5365 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000441/0.4508, allocations: 269 kB / 0.5368 GB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008443/0.4516, allocations: 0.7911 MB / 0.5375 GB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/0.4516, allocations: 4.75 kB / 0.5375 GB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.4517, allocations: 11.73 kB / 0.5375 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004167/0.4558, allocations: 3.332 MB / 0.5408 GB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.4559, allocations: 4.75 kB / 0.5408 GB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006784/0.4565, allocations: 171.7 kB / 0.541 GB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.386e-06/0.4566, allocations: 8.438 kB / 0.541 GB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.315e-05/0.4566, allocations: 31.98 kB / 0.541 GB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-06/0.4566, allocations: 15.66 kB / 0.541 GB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.4566, allocations: 7.625 kB / 0.541 GB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001394/0.458, allocations: 1.778 MB / 0.5428 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004378/0.4585, allocations: 382.2 kB / 0.5431 GB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001949/0.4587, allocations: 20 kB / 0.5431 GB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007273/0.4594, allocations: 59.92 kB / 0.5432 GB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.4595, allocations: 71.06 kB / 0.5433 GB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.875e-05/0.4596, allocations: 39.98 kB / 0.5433 GB, free: 4.859 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00137/0.461, allocations: 1.478 MB / 0.5448 GB, free: 3.363 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.461, allocations: 0 / 0.5448 GB, free: 3.363 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002492/0.4635, allocations: 0.5397 MB / 0.5453 GB, free: 2.832 MB / 382.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.0003162/0.4638, allocations: 189.7 kB / 0.5455 GB, free: 2.652 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003159/0.467, allocations: 2.949 MB / 0.5483 GB, free: 15.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.467, allocations: 0 / 0.5483 GB, free: 15.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007719/0.4678, allocations: 0.6437 MB / 0.549 GB, free: 15.09 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/0.469, allocations: 187.9 kB / 0.5491 GB, free: 14.91 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006104/0.4751, allocations: 4.595 MB / 0.5536 GB, free: 10.24 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001665/0.4768, allocations: 1.923 MB / 0.5555 GB, free: 8.285 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002768/0.4796, allocations: 1.443 MB / 0.5569 GB, free: 6.84 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004026/0.48, allocations: 154.8 kB / 0.5571 GB, free: 6.691 MB / 398.1 MB Notification: Performance of SimCode: time 9.92e-07/0.48, allocations: 0 / 0.5571 GB, free: 6.691 MB / 398.1 MB Notification: Performance of Templates: time 0.03018/0.5102, allocations: 15.38 MB / 0.5721 GB, free: 7.449 MB / 414.1 MB make -j1 -f VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.makefile (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 & ./VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.pipe 2>&1)