Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads.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_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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 177.6 kB / 15.43 MB, free: 5.773 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.378/1.378, allocations: 225.7 MB / 241.9 MB, free: 412 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.0007575/0.0007576, allocations: 99.12 kB / 293.1 MB, free: 12.92 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.06013/0.06013, allocations: 8.205 MB / 352.4 MB, free: 2.027 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004495/0.0004495, allocations: 8.406 kB / 415.3 MB, free: 88.57 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.101, allocations: 52.23 MB / 467.5 MB, free: 41.86 MB / 330.7 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_CircleRoads): time 0.006655/0.1077, allocations: 8.053 MB / 475.6 MB, free: 33.78 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004778/0.1125, allocations: 4.13 MB / 479.7 MB, free: 29.25 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001268/0.1138, allocations: 31.94 kB / 479.7 MB, free: 29.22 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006839/0.1145, allocations: 215 kB / 479.9 MB, free: 29.01 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00161/0.1161, allocations: 0.6655 MB / 480.6 MB, free: 28.34 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000363/0.1165, allocations: 123.7 kB / 480.7 MB, free: 28.22 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001906/0.1184, allocations: 2.189 MB / 482.9 MB, free: 26.03 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006248/0.1191, allocations: 395.2 kB / 483.3 MB, free: 25.61 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009015/0.12, allocations: 0.5018 MB / 483.8 MB, free: 25.11 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001076/0.1211, allocations: 0.7783 MB / 484.6 MB, free: 24.32 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002628/0.1214, allocations: 60 kB / 484.6 MB, free: 24.27 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007853/0.1221, allocations: 415.2 kB / 485 MB, free: 23.86 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006051/0.1228, allocations: 0.7127 MB / 485.8 MB, free: 23.14 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009812/0.1238, allocations: 0.8862 MB / 486.6 MB, free: 22.25 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002139/0.1259, allocations: 2.612 MB / 489.3 MB, free: 19.62 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.1259, allocations: 0 / 489.3 MB, free: 19.62 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.1259, allocations: 0 / 489.3 MB, free: 19.62 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.112e-05/0.126, allocations: 0 / 489.3 MB, free: 19.62 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: 764 * Number of variables: 764 Notification: Performance of Generate backend data structure: time 0.002062/0.128, allocations: 1.781 MB / 491 MB, free: 17.79 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.1281, allocations: 8.031 kB / 491 MB, free: 17.78 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003976/0.1321, allocations: 1.531 MB / 492.6 MB, free: 16.24 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.1332, allocations: 0.8471 MB / 493.4 MB, free: 15.35 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.052e-05/0.1332, allocations: 93.97 kB / 493.5 MB, free: 15.26 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005663/0.1338, allocations: 247.6 kB / 493.8 MB, free: 15.02 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00451/0.1383, allocations: 5.029 MB / 498.8 MB, free: 9.516 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.135e-05/0.1384, allocations: 27.81 kB / 498.8 MB, free: 9.488 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001582/0.1386, allocations: 67.89 kB / 498.9 MB, free: 9.422 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001373/0.1399, allocations: 1.154 MB / 0.4883 GB, free: 8.266 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005191/0.1451, allocations: 4.277 MB / 0.4925 GB, free: 3.984 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01858/0.1637, allocations: 20.68 MB / 0.5127 GB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001575/0.1653, allocations: 1.329 MB / 0.514 GB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005514/0.1659, allocations: 443.2 kB / 0.5144 GB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.166, allocations: 11.94 kB / 0.5144 GB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.166, allocations: 46.56 kB / 0.5145 GB, free: 12.56 MB / 362.7 MB Notification: Performance of pre-optimization done (n=86): time 3.056e-06/0.166, allocations: 0 / 0.5145 GB, free: 12.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=117): time 0.01099/0.177, allocations: 4.456 MB / 0.5188 GB, free: 8.059 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.596e-05/0.1771, allocations: 144.8 kB / 0.519 GB, free: 7.887 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003137/0.1803, allocations: 2.373 MB / 0.5213 GB, free: 5.477 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.145e-05/0.1804, allocations: 41.69 kB / 0.5213 GB, free: 5.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001265/0.1816, allocations: 1.753 MB / 0.523 GB, free: 3.645 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003901/0.182, allocations: 470 kB / 0.5235 GB, free: 3.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/0.1822, allocations: 79.98 kB / 0.5236 GB, free: 3.102 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003267/0.1825, allocations: 0.5312 MB / 0.5241 GB, free: 2.559 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001868/0.1844, allocations: 1.3 MB / 0.5253 GB, free: 1.254 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2081/0.3925, allocations: 3.902 MB / 0.5292 GB, free: 62.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005873/0.3984, allocations: 5.683 MB / 0.5347 GB, free: 58.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001448/0.3986, allocations: 30.34 kB / 0.5347 GB, free: 58.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.0083/0.4069, allocations: 4.995 MB / 0.5396 GB, free: 57.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001021/0.407, allocations: 46.48 kB / 0.5397 GB, free: 57.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001313/0.4083, allocations: 0.8391 MB / 0.5405 GB, free: 57.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002629/0.4086, allocations: 123.2 kB / 0.5406 GB, free: 57.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003068/0.4117, allocations: 0.9541 MB / 0.5415 GB, free: 57.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002346/0.4119, allocations: 185.5 kB / 0.5417 GB, free: 57.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002433/0.4144, allocations: 221.1 kB / 0.5419 GB, free: 57.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005232/0.4149, allocations: 257.2 kB / 0.5422 GB, free: 57.3 MB / 362.7 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.00191/0.4168, allocations: 1.206 MB / 0.5433 GB, free: 57.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000319/0.4172, allocations: 194.8 kB / 0.5435 GB, free: 57.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004425/0.4176, allocations: 270.8 kB / 0.5438 GB, free: 57.03 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001014/0.4186, allocations: 0.7871 MB / 0.5445 GB, free: 56.99 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/0.4187, allocations: 0 / 0.5445 GB, free: 56.99 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.4187, allocations: 13.56 kB / 0.5446 GB, free: 56.99 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005351/0.424, allocations: 3.347 MB / 0.5478 GB, free: 55.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/0.4241, allocations: 4.75 kB / 0.5478 GB, free: 55.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000739/0.4248, allocations: 172.1 kB / 0.548 GB, free: 55.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-05/0.4248, allocations: 12.25 kB / 0.548 GB, free: 55.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.939e-05/0.4249, allocations: 23.48 kB / 0.548 GB, free: 55.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.217e-05/0.4249, allocations: 12.73 kB / 0.548 GB, free: 55.69 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.4249, allocations: 4.531 kB / 0.548 GB, free: 55.69 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001976/0.4269, allocations: 1.776 MB / 0.5498 GB, free: 54.76 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006398/0.4276, allocations: 390.2 kB / 0.5502 GB, free: 54.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003097/0.4279, allocations: 23.89 kB / 0.5502 GB, free: 54.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008444/0.4287, allocations: 58.28 kB / 0.5502 GB, free: 54.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/0.4289, allocations: 64.97 kB / 0.5503 GB, free: 54.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.529e-05/0.429, allocations: 45.12 kB / 0.5503 GB, free: 54.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00227/0.4313, allocations: 1.459 MB / 0.5518 GB, free: 53.92 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4313, allocations: 3.938 kB / 0.5518 GB, free: 53.92 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00264/0.4339, allocations: 0.5354 MB / 0.5523 GB, free: 53.85 MB / 362.7 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.000384/0.4343, allocations: 201.6 kB / 0.5525 GB, free: 53.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003812/0.4381, allocations: 2.91 MB / 0.5553 GB, free: 52.79 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.4382, allocations: 3.188 kB / 0.5553 GB, free: 52.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006869/0.4388, allocations: 0.6467 MB / 0.556 GB, free: 52.24 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002055/0.4409, allocations: 183.6 kB / 0.5561 GB, free: 52.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006546/0.4475, allocations: 5.608 MB / 0.5616 GB, free: 46.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001604/0.4491, allocations: 1.923 MB / 0.5635 GB, free: 45.11 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.003033/0.4521, allocations: 1.437 MB / 0.5649 GB, free: 43.67 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005132/0.4527, allocations: 155.4 kB / 0.565 GB, free: 43.52 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.4527, allocations: 0 / 0.565 GB, free: 43.52 MB / 362.7 MB Notification: Performance of Templates: time 0.02788/0.4806, allocations: 16.53 MB / 0.5812 GB, free: 27.08 MB / 362.7 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)