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.001211/0.001211, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001291/0.001291, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.418/1.418, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.04234/0.04234, allocations: 8.009 MB / 299.2 MB, free: 7.121 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 59.91 kB / 413.8 MB, free: 22.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1166, allocations: 51.21 MB / 465 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.006763/0.1234, allocations: 5.561 MB / 470.5 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003919/0.1273, allocations: 2.025 MB / 472.6 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004986/0.1279, allocations: 19.94 kB / 472.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009805/0.1289, allocations: 410.2 kB / 473 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001415/0.1304, allocations: 0.708 MB / 473.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003249/0.1307, allocations: 131.6 kB / 473.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001626/0.1323, allocations: 1.537 MB / 475.4 MB, free: 9.195 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004065/0.1327, allocations: 322 kB / 475.7 MB, free: 8.867 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005618/0.1333, allocations: 0.5057 MB / 476.2 MB, free: 8.359 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008129/0.1341, allocations: 0.7198 MB / 476.9 MB, free: 7.637 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001492/0.1343, allocations: 80 kB / 477 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008204/0.1351, allocations: 435.2 kB / 477.4 MB, free: 7.133 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006279/0.1358, allocations: 0.7244 MB / 478.1 MB, free: 6.406 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006799/0.1365, allocations: 0.8651 MB / 479 MB, free: 5.535 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002557/0.139, allocations: 2.802 MB / 481.8 MB, free: 2.723 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.139, allocations: 0 / 481.8 MB, free: 2.723 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.1391, allocations: 4 kB / 481.8 MB, free: 2.719 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.258e-05/0.1391, allocations: 7.938 kB / 481.8 MB, free: 2.711 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.003284/0.1424, allocations: 2.135 MB / 483.9 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.1424, allocations: 12.03 kB / 483.9 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005051/0.1475, allocations: 1.488 MB / 485.4 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001735/0.1493, allocations: 0.8547 MB / 486.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.466e-05/0.1493, allocations: 86.05 kB / 486.4 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000663/0.15, allocations: 247.6 kB / 486.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006799/0.1568, allocations: 5.045 MB / 491.7 MB, free: 8.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.365e-05/0.1569, allocations: 27.75 kB / 491.7 MB, free: 8.242 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002064/0.1571, allocations: 67.84 kB / 491.8 MB, free: 8.176 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002034/0.1591, allocations: 1.154 MB / 492.9 MB, free: 7.02 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007074/0.1662, allocations: 4.293 MB / 497.2 MB, free: 2.727 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2838/0.4501, allocations: 20.59 MB / 0.5057 GB, free: 29.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001891/0.452, allocations: 1.344 MB / 0.507 GB, free: 29.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006734/0.4527, allocations: 452 kB / 0.5074 GB, free: 29.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.417e-05/0.4527, allocations: 11.2 kB / 0.5074 GB, free: 29.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.4527, allocations: 37.36 kB / 0.5074 GB, free: 29.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=86): time 2.725e-06/0.4528, allocations: 1.062 kB / 0.5075 GB, free: 29.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=117): time 0.01192/0.4647, allocations: 4.479 MB / 0.5118 GB, free: 27.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.4648, allocations: 137.1 kB / 0.512 GB, free: 27.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003633/0.4684, allocations: 2.392 MB / 0.5143 GB, free: 27.49 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000113/0.4685, allocations: 41.09 kB / 0.5143 GB, free: 27.46 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001051/0.4696, allocations: 1.76 MB / 0.516 GB, free: 26.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003639/0.47, allocations: 465.5 kB / 0.5165 GB, free: 25.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001033/0.471, allocations: 0.8268 MB / 0.5173 GB, free: 25.42 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.4711, allocations: 360.5 kB / 0.5176 GB, free: 25.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001845/0.473, allocations: 1.307 MB / 0.5189 GB, free: 24.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00274/0.4757, allocations: 3.925 MB / 0.5228 GB, free: 20.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004941/0.4807, allocations: 5.716 MB / 0.5283 GB, free: 15.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.566e-05/0.4807, allocations: 33.45 kB / 0.5284 GB, free: 15.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.006468/0.4872, allocations: 5.031 MB / 0.5333 GB, free: 14.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.968e-05/0.4873, allocations: 45.28 kB / 0.5333 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000915/0.4882, allocations: 0.8383 MB / 0.5341 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001044/0.4883, allocations: 122.9 kB / 0.5343 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002576/0.4909, allocations: 0.9588 MB / 0.5352 GB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.43e-05/0.491, allocations: 177.8 kB / 0.5354 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002688/0.4937, allocations: 217.5 kB / 0.5356 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002987/0.494, allocations: 255.7 kB / 0.5358 GB, free: 12.9 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.001306/0.4953, allocations: 1.203 MB / 0.537 GB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003524/0.4957, allocations: 205.2 kB / 0.5372 GB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004373/0.4961, allocations: 266.4 kB / 0.5374 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.4961, allocations: 3.891 kB / 0.5374 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0008402/0.497, allocations: 0.773 MB / 0.5382 GB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007322/0.4977, allocations: 400.1 kB / 0.5386 GB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002152/0.498, allocations: 19.94 kB / 0.5386 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008104/0.4988, allocations: 46.61 kB / 0.5386 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.4989, allocations: 61.52 kB / 0.5387 GB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001933/0.5009, allocations: 1.817 MB / 0.5405 GB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001857/0.5027, allocations: 1.968 MB / 0.5424 GB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006758/0.5034, allocations: 0.7184 MB / 0.5431 GB, free: 5.996 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00189/0.5053, allocations: 1.478 MB / 0.5445 GB, free: 4.5 MB / 382.1 MB Notification: Performance of Backend: time 3.81e-07/0.5053, allocations: 4 kB / 0.5445 GB, free: 4.496 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004785/0.5101, allocations: 2.575 MB / 0.5471 GB, free: 1.957 MB / 382.1 MB Notification: Performance of SimCode: time 0.00733/0.5175, allocations: 4.696 MB / 0.5516 GB, free: 13.22 MB / 398.1 MB Notification: Performance of Templates: time 0.04395/0.5614, allocations: 22.61 MB / 0.5737 GB, free: 6.766 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)