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.001322/0.001322, allocations: 107 kB / 16.41 MB, free: 6.5 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.001341/0.001341, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.449/1.449, allocations: 222.9 MB / 241 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.0476/0.0476, allocations: 8.006 MB / 299.2 MB, free: 7.098 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002975/0.002975, allocations: 67.89 kB / 413.8 MB, free: 22.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1153, allocations: 51.22 MB / 465 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.007159/0.1224, allocations: 5.571 MB / 470.6 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003776/0.1262, allocations: 2.033 MB / 472.6 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003496/0.1266, allocations: 23.94 kB / 472.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009354/0.1275, allocations: 414.1 kB / 473 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001349/0.1289, allocations: 0.708 MB / 473.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003184/0.1292, allocations: 143.5 kB / 473.9 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0018/0.131, allocations: 1.538 MB / 475.4 MB, free: 9.234 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004101/0.1314, allocations: 266.2 kB / 475.7 MB, free: 8.961 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006994/0.1321, allocations: 0.5018 MB / 476.2 MB, free: 8.457 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008931/0.133, allocations: 0.7159 MB / 476.9 MB, free: 7.738 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001606/0.1331, allocations: 84 kB / 477 MB, free: 7.656 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008492/0.134, allocations: 435.2 kB / 477.4 MB, free: 7.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006737/0.1347, allocations: 0.7359 MB / 478.1 MB, free: 6.492 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000816/0.1355, allocations: 0.8651 MB / 479 MB, free: 5.621 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003032/0.1385, allocations: 2.823 MB / 481.8 MB, free: 2.785 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.1385, allocations: 4 kB / 481.8 MB, free: 2.781 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1385, allocations: 0 / 481.8 MB, free: 2.781 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.558e-05/0.1385, allocations: 0 / 481.8 MB, free: 2.781 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.003886/0.1424, allocations: 2.202 MB / 484 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/0.1425, allocations: 8.031 kB / 484 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00538/0.1479, allocations: 1.505 MB / 485.5 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002593/0.1505, allocations: 0.8589 MB / 486.4 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.826e-05/0.1506, allocations: 78.05 kB / 486.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007546/0.1513, allocations: 251.7 kB / 486.7 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007299/0.1586, allocations: 5.045 MB / 491.8 MB, free: 8.258 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.862e-05/0.1587, allocations: 23.81 kB / 491.8 MB, free: 8.234 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002008/0.1589, allocations: 63.84 kB / 491.8 MB, free: 8.172 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001944/0.1608, allocations: 1.15 MB / 493 MB, free: 7.02 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006931/0.1677, allocations: 4.297 MB / 497.3 MB, free: 2.723 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2518/0.4195, allocations: 20.64 MB / 0.5058 GB, free: 29.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/0.4212, allocations: 1.29 MB / 0.507 GB, free: 29.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000596/0.4218, allocations: 419.6 kB / 0.5074 GB, free: 29.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.4218, allocations: 6.625 kB / 0.5075 GB, free: 29.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.4218, allocations: 44.97 kB / 0.5075 GB, free: 29.2 MB / 382.1 MB Notification: Performance of pre-optimization done (n=86): time 3.436e-06/0.4218, allocations: 0 / 0.5075 GB, free: 29.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=117): time 0.01193/0.4338, allocations: 4.58 MB / 0.512 GB, free: 27.96 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/0.4338, allocations: 137.6 kB / 0.5121 GB, free: 27.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003472/0.4373, allocations: 2.406 MB / 0.5145 GB, free: 27.51 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001268/0.4374, allocations: 38.2 kB / 0.5145 GB, free: 27.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009483/0.4384, allocations: 1.839 MB / 0.5163 GB, free: 26.17 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003413/0.4387, allocations: 486.2 kB / 0.5167 GB, free: 25.83 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001146/0.4398, allocations: 0.8378 MB / 0.5176 GB, free: 25.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.44, allocations: 353.1 kB / 0.5179 GB, free: 25.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002556/0.4425, allocations: 1.308 MB / 0.5192 GB, free: 24.71 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00331/0.4459, allocations: 3.922 MB / 0.523 GB, free: 20.8 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005136/0.451, allocations: 5.718 MB / 0.5286 GB, free: 16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.596e-05/0.4511, allocations: 33.16 kB / 0.5286 GB, free: 16 MB / 382.1 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.007301/0.4584, allocations: 5.034 MB / 0.5335 GB, free: 14.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.004e-05/0.4585, allocations: 47.48 kB / 0.5336 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009823/0.4594, allocations: 0.8374 MB / 0.5344 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001174/0.4596, allocations: 122.8 kB / 0.5345 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002475/0.462, allocations: 0.9518 MB / 0.5355 GB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.264e-05/0.4621, allocations: 186.4 kB / 0.5356 GB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002653/0.4648, allocations: 226.2 kB / 0.5358 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002619/0.465, allocations: 255.8 kB / 0.5361 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.001276/0.4663, allocations: 1.202 MB / 0.5373 GB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000308/0.4666, allocations: 210.5 kB / 0.5375 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004182/0.467, allocations: 265.2 kB / 0.5377 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009326/0.468, allocations: 0.7965 MB / 0.5385 GB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.632e-05/0.468, allocations: 7.875 kB / 0.5385 GB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.468, allocations: 7.938 kB / 0.5385 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004992/0.473, allocations: 3.341 MB / 0.5418 GB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.473, allocations: 4 kB / 0.5418 GB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007078/0.4737, allocations: 175.7 kB / 0.5419 GB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.838e-06/0.4737, allocations: 8 kB / 0.542 GB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.076e-05/0.4738, allocations: 20 kB / 0.542 GB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.516e-06/0.4738, allocations: 11.98 kB / 0.542 GB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.4738, allocations: 11.94 kB / 0.542 GB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001681/0.4755, allocations: 1.788 MB / 0.5437 GB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007443/0.4762, allocations: 388.2 kB / 0.5441 GB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001796/0.4764, allocations: 20 kB / 0.5441 GB, free: 5.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007502/0.4771, allocations: 59.92 kB / 0.5442 GB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/0.4773, allocations: 74.83 kB / 0.5443 GB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.001e-05/0.4774, allocations: 36 kB / 0.5443 GB, free: 4.926 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001859/0.4792, allocations: 1.478 MB / 0.5457 GB, free: 3.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4792, allocations: 0 / 0.5457 GB, free: 3.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003323/0.4825, allocations: 0.5428 MB / 0.5463 GB, free: 2.887 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.0003885/0.4829, allocations: 189.5 kB / 0.5464 GB, free: 2.699 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003588/0.4865, allocations: 2.809 MB / 0.5492 GB, free: 15.91 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/0.4865, allocations: 4 kB / 0.5492 GB, free: 15.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008817/0.4874, allocations: 0.5822 MB / 0.5498 GB, free: 15.33 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/0.4888, allocations: 201.2 kB / 0.55 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007682/0.4965, allocations: 4.662 MB / 0.5545 GB, free: 10.4 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001952/0.4984, allocations: 1.918 MB / 0.5564 GB, free: 8.449 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00321/0.5017, allocations: 1.445 MB / 0.5578 GB, free: 7.004 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004583/0.5021, allocations: 155.4 kB / 0.5579 GB, free: 6.852 MB / 398.1 MB Notification: Performance of SimCode: time 1.162e-06/0.5021, allocations: 0 / 0.5579 GB, free: 6.852 MB / 398.1 MB Notification: Performance of Templates: time 0.03628/0.5384, allocations: 15.46 MB / 0.573 GB, free: 7.535 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 -s gbode -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.pipe 2>&1)