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.00178/0.00178, allocations: 105 kB / 16.41 MB, free: 6.465 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.00205/0.00205, allocations: 187 kB / 17.34 MB, free: 5.719 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.467/1.467, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.04172/0.04172, allocations: 8.002 MB / 299.2 MB, free: 7.117 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001633/0.001633, allocations: 59.91 kB / 413.8 MB, free: 22.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09336/0.09501, allocations: 51.21 MB / 465 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.00684/0.1019, allocations: 5.561 MB / 470.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003861/0.1058, allocations: 2.025 MB / 472.6 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007565/0.1066, allocations: 27.94 kB / 472.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001215/0.1079, allocations: 406.2 kB / 473 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001847/0.1097, allocations: 0.6924 MB / 473.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004357/0.1102, allocations: 127.6 kB / 473.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00201/0.1122, allocations: 1.545 MB / 475.3 MB, free: 9.211 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005822/0.1128, allocations: 322 kB / 475.7 MB, free: 8.883 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008084/0.1136, allocations: 0.4979 MB / 476.2 MB, free: 8.383 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001076/0.1147, allocations: 0.7198 MB / 476.9 MB, free: 7.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003132/0.1151, allocations: 84 kB / 477 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009583/0.116, allocations: 439.2 kB / 477.4 MB, free: 7.148 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006759/0.1167, allocations: 0.7205 MB / 478.1 MB, free: 6.426 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009479/0.1177, allocations: 0.8651 MB / 479 MB, free: 5.555 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002557/0.1202, allocations: 2.798 MB / 481.8 MB, free: 2.746 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.1203, allocations: 8 kB / 481.8 MB, free: 2.738 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.908e-06/0.1203, allocations: 0 / 481.8 MB, free: 2.738 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.45e-05/0.1203, allocations: 3.938 kB / 481.8 MB, free: 2.734 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.003196/0.1235, allocations: 2.147 MB / 483.9 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.901e-05/0.1236, allocations: 8.031 kB / 483.9 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004946/0.1286, allocations: 1.484 MB / 485.4 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001479/0.1301, allocations: 0.8547 MB / 486.3 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.339e-05/0.1302, allocations: 90.05 kB / 486.4 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007413/0.1309, allocations: 255.6 kB / 486.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00652/0.1374, allocations: 5.037 MB / 491.6 MB, free: 8.285 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.286e-05/0.1375, allocations: 19.81 kB / 491.7 MB, free: 8.266 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002525/0.1378, allocations: 67.84 kB / 491.7 MB, free: 8.199 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001741/0.1395, allocations: 1.158 MB / 492.9 MB, free: 7.039 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006611/0.1462, allocations: 4.296 MB / 497.2 MB, free: 2.742 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2254/0.3716, allocations: 20.6 MB / 0.5056 GB, free: 29.94 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001649/0.3733, allocations: 1.34 MB / 0.507 GB, free: 29.29 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005926/0.3739, allocations: 447 kB / 0.5074 GB, free: 29.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.037e-05/0.374, allocations: 12.75 kB / 0.5074 GB, free: 29.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.374, allocations: 42.31 kB / 0.5074 GB, free: 29.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=86): time 3.206e-06/0.374, allocations: 0 / 0.5074 GB, free: 29.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=117): time 0.01227/0.3863, allocations: 4.478 MB / 0.5118 GB, free: 27.96 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.3864, allocations: 139.2 kB / 0.5119 GB, free: 27.81 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004237/0.3906, allocations: 2.39 MB / 0.5143 GB, free: 27.47 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000158/0.3908, allocations: 40.97 kB / 0.5143 GB, free: 27.44 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001249/0.3921, allocations: 1.762 MB / 0.516 GB, free: 26.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000485/0.3926, allocations: 458.9 kB / 0.5165 GB, free: 25.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001164/0.3937, allocations: 0.8269 MB / 0.5173 GB, free: 25.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.3938, allocations: 359.6 kB / 0.5176 GB, free: 25.1 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001811/0.3957, allocations: 1.307 MB / 0.5189 GB, free: 24.71 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002743/0.3984, allocations: 3.927 MB / 0.5227 GB, free: 20.8 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004814/0.4033, allocations: 5.726 MB / 0.5283 GB, free: 16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.194e-05/0.4034, allocations: 26.83 kB / 0.5284 GB, free: 16 MB / 382.1 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.006746/0.4101, allocations: 5.03 MB / 0.5333 GB, free: 14.1 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.689e-05/0.4102, allocations: 48.34 kB / 0.5333 GB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009288/0.4112, allocations: 0.8348 MB / 0.5341 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001019/0.4113, allocations: 120.4 kB / 0.5342 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002495/0.4138, allocations: 0.9556 MB / 0.5352 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.543e-05/0.4139, allocations: 181.2 kB / 0.5353 GB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002561/0.4164, allocations: 218.4 kB / 0.5356 GB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004164/0.4169, allocations: 259.8 kB / 0.5358 GB, free: 12.88 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.001607/0.4185, allocations: 1.209 MB / 0.537 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004119/0.4189, allocations: 197.4 kB / 0.5372 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004555/0.4194, allocations: 264.9 kB / 0.5374 GB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008818/0.4203, allocations: 0.7954 MB / 0.5382 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-05/0.4203, allocations: 4 kB / 0.5382 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.291e-05/0.4203, allocations: 3.609 kB / 0.5382 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004891/0.4252, allocations: 3.334 MB / 0.5415 GB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.4252, allocations: 7.938 kB / 0.5415 GB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006905/0.4259, allocations: 180 kB / 0.5416 GB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/0.426, allocations: 12 kB / 0.5417 GB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-05/0.426, allocations: 23.98 kB / 0.5417 GB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.674e-06/0.426, allocations: 11.72 kB / 0.5417 GB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.426, allocations: 7.938 kB / 0.5417 GB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001569/0.4276, allocations: 1.782 MB / 0.5434 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005381/0.4282, allocations: 378.2 kB / 0.5438 GB, free: 5.105 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000204/0.4284, allocations: 23.98 kB / 0.5438 GB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007397/0.4291, allocations: 51.94 kB / 0.5439 GB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.4292, allocations: 71.55 kB / 0.5439 GB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.325e-05/0.4293, allocations: 39.73 kB / 0.544 GB, free: 4.926 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001513/0.4308, allocations: 1.486 MB / 0.5454 GB, free: 3.422 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4308, allocations: 0 / 0.5454 GB, free: 3.422 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002761/0.4336, allocations: 0.534 MB / 0.5459 GB, free: 2.895 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.0003577/0.434, allocations: 186.8 kB / 0.5461 GB, free: 2.715 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003731/0.4377, allocations: 2.949 MB / 0.549 GB, free: 15.79 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.159e-05/0.4377, allocations: 0 / 0.549 GB, free: 15.79 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008287/0.4386, allocations: 0.6442 MB / 0.5496 GB, free: 15.15 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001473/0.4401, allocations: 191 kB / 0.5498 GB, free: 14.96 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007114/0.4472, allocations: 4.84 MB / 0.5545 GB, free: 10.05 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001618/0.4489, allocations: 1.922 MB / 0.5564 GB, free: 8.094 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006417/0.4495, allocations: 191.4 kB / 0.5566 GB, free: 7.906 MB / 398.1 MB Notification: Performance of SimCode: time 9.61e-07/0.4495, allocations: 7.328 kB / 0.5566 GB, free: 7.902 MB / 398.1 MB Notification: Performance of Templates: time 0.04385/0.4934, allocations: 31.51 MB / 0.5874 GB, free: 8.484 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)