Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/VehicleInterfaces 2.0.0-master/package.mo", uses=false) Using package VehicleInterfaces with version 2.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/VehicleInterfaces 2.0.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads") translateModel(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001454/0.001455, allocations: 176.7 kB / 15.43 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 225.7 MB / 241.9 MB, free: 400 kB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009474/0.0009473, allocations: 100.4 kB / 293.1 MB, free: 12.9 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/VehicleInterfaces 2.0.0-master/package.mo): time 0.04489/0.04489, allocations: 8.209 MB / 352.4 MB, free: 2.004 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003048/0.0003048, allocations: 8.656 kB / 415.3 MB, free: 88.49 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1026, allocations: 52.22 MB / 467.5 MB, free: 41.84 MB / 330.7 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads): time 0.006136/0.1087, allocations: 8.092 MB / 475.6 MB, free: 33.72 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004436/0.1132, allocations: 3.949 MB / 479.6 MB, free: 29.39 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005779/0.1138, allocations: 27.94 kB / 479.6 MB, free: 29.37 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003667/0.1142, allocations: 223 kB / 479.8 MB, free: 29.15 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001012/0.1152, allocations: 0.6656 MB / 480.5 MB, free: 28.48 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001819/0.1154, allocations: 95.77 kB / 480.6 MB, free: 28.39 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001425/0.1168, allocations: 2.185 MB / 482.7 MB, free: 26.2 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003513/0.1172, allocations: 391.2 kB / 483.1 MB, free: 25.78 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003804/0.1176, allocations: 0.4939 MB / 483.6 MB, free: 25.29 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006687/0.1183, allocations: 0.7822 MB / 484.4 MB, free: 24.5 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001222/0.1184, allocations: 56 kB / 484.5 MB, free: 24.45 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005749/0.119, allocations: 367.3 kB / 484.8 MB, free: 24.09 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00042/0.1194, allocations: 0.7088 MB / 485.5 MB, free: 23.38 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005027/0.1199, allocations: 0.8862 MB / 486.4 MB, free: 22.48 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001705/0.1216, allocations: 2.577 MB / 489 MB, free: 19.89 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.1217, allocations: 0 / 489 MB, free: 19.89 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1217, allocations: 0 / 489 MB, free: 19.89 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.996e-05/0.1217, allocations: 0 / 489 MB, free: 19.89 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 763 * Number of variables: 763 Notification: Performance of Generate backend data structure: time 0.002131/0.1238, allocations: 1.781 MB / 490.8 MB, free: 18.05 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.1239, allocations: 8.031 kB / 490.8 MB, free: 18.04 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004096/0.128, allocations: 1.531 MB / 492.3 MB, free: 16.51 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.1291, allocations: 0.851 MB / 493.2 MB, free: 15.61 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.671e-05/0.1292, allocations: 85.97 kB / 493.2 MB, free: 15.53 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005646/0.1298, allocations: 251.7 kB / 493.5 MB, free: 15.28 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004776/0.1346, allocations: 5.03 MB / 498.5 MB, free: 9.777 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.404e-05/0.1346, allocations: 31.72 kB / 498.5 MB, free: 9.746 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001592/0.1348, allocations: 59.91 kB / 498.6 MB, free: 9.688 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001329/0.1361, allocations: 1.162 MB / 499.8 MB, free: 8.52 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00534/0.1415, allocations: 4.277 MB / 0.4922 GB, free: 4.234 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02022/0.1617, allocations: 20.67 MB / 0.5124 GB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001772/0.1635, allocations: 1.321 MB / 0.5137 GB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005668/0.1641, allocations: 443.3 kB / 0.5141 GB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.1642, allocations: 15.88 kB / 0.5142 GB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.1642, allocations: 42.56 kB / 0.5142 GB, free: 12.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=85): time 3.677e-06/0.1642, allocations: 0 / 0.5142 GB, free: 12.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=114): time 0.005781/0.17, allocations: 3.943 MB / 0.518 GB, free: 8.852 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.269e-05/0.1701, allocations: 144.5 kB / 0.5182 GB, free: 8.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00297/0.1731, allocations: 2.377 MB / 0.5205 GB, free: 6.266 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.119e-05/0.1731, allocations: 37.69 kB / 0.5205 GB, free: 6.223 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001252/0.1744, allocations: 1.761 MB / 0.5223 GB, free: 4.434 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003471/0.1748, allocations: 454.3 kB / 0.5227 GB, free: 3.984 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.1749, allocations: 76 kB / 0.5228 GB, free: 3.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003134/0.1752, allocations: 0.5311 MB / 0.5233 GB, free: 3.367 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001584/0.1768, allocations: 1.265 MB / 0.5245 GB, free: 2.098 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2064/0.3832, allocations: 3.88 MB / 0.5283 GB, free: 61.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005466/0.3887, allocations: 5.638 MB / 0.5338 GB, free: 57.74 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.968e-05/0.3889, allocations: 27.44 kB / 0.5338 GB, free: 57.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.008662/0.3975, allocations: 4.927 MB / 0.5386 GB, free: 57.08 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.482e-05/0.3977, allocations: 49 kB / 0.5387 GB, free: 57.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001153/0.3988, allocations: 0.7694 MB / 0.5394 GB, free: 57.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001885/0.399, allocations: 122.5 kB / 0.5396 GB, free: 57.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002679/0.4017, allocations: 0.9418 MB / 0.5405 GB, free: 56.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001674/0.4019, allocations: 181.4 kB / 0.5407 GB, free: 56.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002213/0.4041, allocations: 218.7 kB / 0.5409 GB, free: 56.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003738/0.4045, allocations: 253.7 kB / 0.5411 GB, free: 56.93 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 425 * 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 (509): * Single equations (assignments): 503 * 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.001729/0.4062, allocations: 1.209 MB / 0.5423 GB, free: 56.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003088/0.4066, allocations: 195.9 kB / 0.5425 GB, free: 56.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003877/0.407, allocations: 266.7 kB / 0.5427 GB, free: 56.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008908/0.4079, allocations: 0.7091 MB / 0.5434 GB, free: 56.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.537e-06/0.4079, allocations: 0 / 0.5434 GB, free: 56.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.687e-06/0.4079, allocations: 3.609 kB / 0.5434 GB, free: 56.62 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004285/0.4122, allocations: 3.206 MB / 0.5466 GB, free: 55.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.597e-05/0.4122, allocations: 8.688 kB / 0.5466 GB, free: 55.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005098/0.4127, allocations: 156.6 kB / 0.5467 GB, free: 55.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.84e-05/0.4128, allocations: 14.78 kB / 0.5467 GB, free: 55.36 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.274e-05/0.4128, allocations: 35.66 kB / 0.5468 GB, free: 55.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.817e-05/0.4128, allocations: 23.59 kB / 0.5468 GB, free: 55.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.205e-05/0.4129, allocations: 15.52 kB / 0.5468 GB, free: 55.33 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001725/0.4146, allocations: 1.705 MB / 0.5485 GB, free: 54.24 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003572/0.415, allocations: 284.1 kB / 0.5487 GB, free: 54.02 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001772/0.4151, allocations: 33.31 kB / 0.5488 GB, free: 54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006224/0.4158, allocations: 47.78 kB / 0.5488 GB, free: 53.99 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.4159, allocations: 80.11 kB / 0.5489 GB, free: 53.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.518e-05/0.416, allocations: 44.95 kB / 0.5489 GB, free: 53.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002185/0.4182, allocations: 1.461 MB / 0.5504 GB, free: 53.42 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.4182, allocations: 0 / 0.5504 GB, free: 53.42 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003097/0.4213, allocations: 0.5147 MB / 0.5509 GB, free: 53.35 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * 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 (84): * Single equations (assignments): 78 * 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.0003343/0.4217, allocations: 196.1 kB / 0.551 GB, free: 53.22 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003692/0.4254, allocations: 2.762 MB / 0.5537 GB, free: 52.33 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.4254, allocations: 3.594 kB / 0.5537 GB, free: 52.33 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005051/0.4259, allocations: 0.5382 MB / 0.5543 GB, free: 52.17 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003331/0.4292, allocations: 199.9 kB / 0.5545 GB, free: 52.06 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005795/0.435, allocations: 5.6 MB / 0.5599 GB, free: 46.89 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001346/0.4364, allocations: 1.92 MB / 0.5618 GB, free: 45.29 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002794/0.4392, allocations: 1.405 MB / 0.5632 GB, free: 43.97 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002923/0.4395, allocations: 143.4 kB / 0.5633 GB, free: 43.83 MB / 362.7 MB Notification: Performance of SimCode: time 4.91e-07/0.4395, allocations: 0 / 0.5633 GB, free: 43.83 MB / 362.7 MB Notification: Performance of Templates: time 0.027/0.4665, allocations: 15.44 MB / 0.5784 GB, free: 28.49 MB / 362.7 MB make -j1 -f VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.makefile (rm -f VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe ; mkfifo VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe ; head -c 1048576 < VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe >> ../files/VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.sim & ./VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.pipe 2>&1)