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.001342/0.001342, allocations: 104.6 kB / 16.41 MB, free: 6.508 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.001205/0.001205, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.349/1.349, 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.03902/0.03902, allocations: 8.001 MB / 299.2 MB, free: 7.113 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 67.91 kB / 413.8 MB, free: 22.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09143/0.09258, allocations: 51.2 MB / 465 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.005767/0.0984, allocations: 5.554 MB / 470.5 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002894/0.1013, allocations: 2.033 MB / 472.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002333/0.1016, allocations: 19.94 kB / 472.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008461/0.1024, allocations: 402.2 kB / 473 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001085/0.1035, allocations: 0.7158 MB / 473.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.1038, allocations: 127.6 kB / 473.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001372/0.1052, allocations: 1.534 MB / 475.3 MB, free: 9.188 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003371/0.1055, allocations: 318.1 kB / 475.7 MB, free: 8.863 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004201/0.1059, allocations: 0.5096 MB / 476.2 MB, free: 8.352 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007042/0.1067, allocations: 0.7159 MB / 476.9 MB, free: 7.633 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001115/0.1068, allocations: 80 kB / 477 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005642/0.1073, allocations: 435.2 kB / 477.4 MB, free: 7.129 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004776/0.1078, allocations: 0.7244 MB / 478.1 MB, free: 6.402 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005433/0.1084, allocations: 0.869 MB / 479 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00199/0.1104, allocations: 2.802 MB / 481.8 MB, free: 2.715 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1104, allocations: 0 / 481.8 MB, free: 2.715 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1104, allocations: 0 / 481.8 MB, free: 2.715 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.63e-05/0.1104, allocations: 0 / 481.8 MB, free: 2.715 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.002611/0.1131, allocations: 2.151 MB / 483.9 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.1131, allocations: 12.03 kB / 483.9 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004509/0.1176, allocations: 1.48 MB / 485.4 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/0.1188, allocations: 0.8625 MB / 486.3 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.231e-05/0.1189, allocations: 90.03 kB / 486.4 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006268/0.1195, allocations: 251.6 kB / 486.6 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005145/0.1247, allocations: 5.041 MB / 491.7 MB, free: 8.254 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.374e-05/0.1247, allocations: 23.81 kB / 491.7 MB, free: 8.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001735/0.1249, allocations: 67.84 kB / 491.7 MB, free: 8.164 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001584/0.1265, allocations: 1.154 MB / 492.9 MB, free: 7.008 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005643/0.1321, allocations: 4.293 MB / 497.2 MB, free: 2.715 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2498/0.382, allocations: 20.59 MB / 0.5057 GB, free: 29.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001904/0.384, allocations: 1.34 MB / 0.507 GB, free: 29.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006236/0.3846, allocations: 455.5 kB / 0.5074 GB, free: 29.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.138e-05/0.3846, allocations: 7.266 kB / 0.5074 GB, free: 29.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.3847, allocations: 43.16 kB / 0.5074 GB, free: 29.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=86): time 3.787e-06/0.3847, allocations: 3.344 kB / 0.5074 GB, free: 29.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=117): time 0.01204/0.3967, allocations: 4.472 MB / 0.5118 GB, free: 27.97 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.551e-05/0.3969, allocations: 142.6 kB / 0.5119 GB, free: 27.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004156/0.401, allocations: 2.396 MB / 0.5143 GB, free: 27.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001404/0.4012, allocations: 39.02 kB / 0.5143 GB, free: 27.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001165/0.4024, allocations: 1.766 MB / 0.5161 GB, free: 26.12 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004378/0.4028, allocations: 454.5 kB / 0.5165 GB, free: 25.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001081/0.4039, allocations: 0.8275 MB / 0.5173 GB, free: 25.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.404, allocations: 354.7 kB / 0.5176 GB, free: 25.08 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002132/0.4062, allocations: 1.307 MB / 0.5189 GB, free: 24.69 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003238/0.4094, allocations: 3.923 MB / 0.5227 GB, free: 20.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006628/0.4161, allocations: 5.727 MB / 0.5283 GB, free: 15.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001356/0.4163, allocations: 27.31 kB / 0.5284 GB, free: 15.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.008974/0.4252, allocations: 5.035 MB / 0.5333 GB, free: 14.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.11e-05/0.4254, allocations: 49.48 kB / 0.5333 GB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001082/0.4265, allocations: 0.8392 MB / 0.5341 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000141/0.4266, allocations: 126 kB / 0.5343 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002528/0.4292, allocations: 0.9525 MB / 0.5352 GB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.205e-05/0.4293, allocations: 178.7 kB / 0.5354 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002595/0.4319, allocations: 226.9 kB / 0.5356 GB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002469/0.4321, allocations: 252 kB / 0.5358 GB, free: 12.84 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.001254/0.4334, allocations: 1.207 MB / 0.537 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003075/0.4337, allocations: 197.4 kB / 0.5372 GB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00041/0.4341, allocations: 265.3 kB / 0.5374 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008582/0.435, allocations: 0.789 MB / 0.5382 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.359e-05/0.435, allocations: 4.875 kB / 0.5382 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.435, allocations: 7.688 kB / 0.5382 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004245/0.4393, allocations: 3.335 MB / 0.5415 GB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/0.4393, allocations: 5.25 kB / 0.5415 GB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006331/0.4399, allocations: 180.1 kB / 0.5417 GB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.568e-06/0.4399, allocations: 8 kB / 0.5417 GB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.173e-05/0.44, allocations: 23.98 kB / 0.5417 GB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.346e-06/0.44, allocations: 11.62 kB / 0.5417 GB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.461e-06/0.44, allocations: 7.938 kB / 0.5417 GB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001429/0.4415, allocations: 1.784 MB / 0.5434 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004949/0.442, allocations: 382.2 kB / 0.5438 GB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000186/0.4422, allocations: 16 kB / 0.5438 GB, free: 5.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000681/0.4428, allocations: 63.86 kB / 0.5439 GB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.443, allocations: 71.55 kB / 0.544 GB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.308e-05/0.443, allocations: 43.34 kB / 0.544 GB, free: 4.898 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00135/0.4444, allocations: 1.474 MB / 0.5454 GB, free: 3.406 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4444, allocations: 0 / 0.5454 GB, free: 3.406 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002604/0.447, allocations: 0.5436 MB / 0.546 GB, free: 2.871 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.000321/0.4473, allocations: 190.5 kB / 0.5461 GB, free: 2.691 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00352/0.4509, allocations: 2.947 MB / 0.549 GB, free: 15.77 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/0.4509, allocations: 0 / 0.549 GB, free: 15.77 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000867/0.4518, allocations: 0.6392 MB / 0.5496 GB, free: 15.13 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001472/0.4532, allocations: 187.9 kB / 0.5498 GB, free: 14.95 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008051/0.4613, allocations: 4.836 MB / 0.5546 GB, free: 10.03 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001777/0.4631, allocations: 1.93 MB / 0.5564 GB, free: 8.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006899/0.4638, allocations: 195.4 kB / 0.5566 GB, free: 7.879 MB / 398.1 MB Notification: Performance of SimCode: time 9.12e-07/0.4638, allocations: 0 / 0.5566 GB, free: 7.879 MB / 398.1 MB Notification: Performance of Templates: time 0.05163/0.5155, allocations: 31.52 MB / 0.5874 GB, free: 8.449 MB / 430.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)