Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.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/StewartPlatform 1.0.2/package.mo", uses=false) Using package StewartPlatform with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/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(StewartPlatform.Tests.ElectricCylinder_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test") translateModel(StewartPlatform.Tests.ElectricCylinder_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00093/0.0009295, allocations: 100.5 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 175.3 kB / 16.58 MB, free: 6.422 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.558/1.558, allocations: 223.3 MB / 240.6 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.2239/0.2239, allocations: 6.483 MB / 298.2 MB, free: 3.66 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003362/0.0003362, allocations: 4 kB / 360.5 MB, free: 232 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.128, allocations: 51.85 MB / 412.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ElectricCylinder_test): time 0.2922/0.4203, allocations: 35.85 MB / 448.2 MB, free: 25.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02118/0.4415, allocations: 8.82 MB / 457 MB, free: 19.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009165/0.4507, allocations: 168.2 kB / 457.2 MB, free: 19.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007093/0.4579, allocations: 1.867 MB / 459.1 MB, free: 19.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01956/0.4775, allocations: 5.55 MB / 464.6 MB, free: 16.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003181/0.4807, allocations: 0.6151 MB / 465.2 MB, free: 16.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.07808/0.5588, allocations: 61.07 MB / 0.514 GB, free: 7.316 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00649/0.5653, allocations: 4.089 MB / 0.518 GB, free: 3.207 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002956/0.5683, allocations: 1.335 MB / 0.5193 GB, free: 1.867 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003976/0.5723, allocations: 2.084 MB / 0.5213 GB, free: 15.78 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000795/0.5732, allocations: 155.9 kB / 0.5214 GB, free: 15.62 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002092/0.5753, allocations: 0.8465 MB / 0.5223 GB, free: 14.78 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001987/0.5773, allocations: 1.691 MB / 0.5239 GB, free: 13.08 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00126/0.5785, allocations: 0.8429 MB / 0.5247 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007145/0.5857, allocations: 5.721 MB / 0.5303 GB, free: 6.496 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.5857, allocations: 4 kB / 0.5303 GB, free: 6.492 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.5857, allocations: 0 / 0.5303 GB, free: 6.492 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002401/0.586, allocations: 3.938 kB / 0.5303 GB, free: 6.488 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1308 * Number of variables: 1308 Notification: Performance of Generate backend data structure: time 0.01003/0.596, allocations: 3.946 MB / 0.5342 GB, free: 2.473 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.5961, allocations: 15.97 kB / 0.5342 GB, free: 2.457 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01613/0.6122, allocations: 2.857 MB / 0.537 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008828/0.6211, allocations: 3.541 MB / 0.5405 GB, free: 11.99 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002131/0.6214, allocations: 217.5 kB / 0.5407 GB, free: 11.78 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001141/0.6225, allocations: 291.8 kB / 0.5409 GB, free: 11.49 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01502/0.6375, allocations: 8.527 MB / 0.5493 GB, free: 2.348 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001585/0.6377, allocations: 47.56 kB / 0.5493 GB, free: 2.301 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003718/0.6381, allocations: 135.9 kB / 0.5494 GB, free: 2.168 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002238/0.6404, allocations: 1.575 MB / 0.551 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01387/0.6542, allocations: 6.899 MB / 0.5577 GB, free: 9.688 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3148/0.9691, allocations: 33.11 MB / 0.59 GB, free: 103.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003948/0.9731, allocations: 2.148 MB / 0.5921 GB, free: 102.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00104/0.9742, allocations: 0.6717 MB / 0.5928 GB, free: 102.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005617/0.9798, allocations: 3.104 MB / 0.5958 GB, free: 101.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/0.9799, allocations: 45.47 kB / 0.5959 GB, free: 101.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=114): time 6.202e-06/0.9799, allocations: 3.25 kB / 0.5959 GB, free: 101.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=134): time 0.01639/0.9963, allocations: 7.577 MB / 0.6033 GB, free: 98.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.9964, allocations: 277.3 kB / 0.6035 GB, free: 98.28 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006018/1.002, allocations: 4.09 MB / 0.6075 GB, free: 97.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002384/1.003, allocations: 46.94 kB / 0.6076 GB, free: 97.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001941/1.005, allocations: 2.927 MB / 0.6104 GB, free: 95.61 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005427/1.005, allocations: 0.5332 MB / 0.611 GB, free: 95.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001735/1.005, allocations: 111.2 kB / 0.6111 GB, free: 95.15 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002708/1.006, allocations: 0.5317 MB / 0.6116 GB, free: 94.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00206/1.008, allocations: 1.467 MB / 0.613 GB, free: 94.28 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003703/1.011, allocations: 4.919 MB / 0.6178 GB, free: 89.17 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003546/1.015, allocations: 2.657 MB / 0.6204 GB, free: 88.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.173e-05/1.015, allocations: 36.16 kB / 0.6205 GB, free: 88.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01087/1.026, allocations: 6.162 MB / 0.6265 GB, free: 85.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001/1.026, allocations: 58.56 kB / 0.6265 GB, free: 85.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002168/1.026, allocations: 122.4 kB / 0.6266 GB, free: 85.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002403/1.027, allocations: 180.8 kB / 0.6268 GB, free: 85.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004234/1.031, allocations: 1.281 MB / 0.6281 GB, free: 85.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002311/1.031, allocations: 238.4 kB / 0.6283 GB, free: 85.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003937/1.035, allocations: 266 kB / 0.6285 GB, free: 85.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00051/1.036, allocations: 333.6 kB / 0.6289 GB, free: 85.54 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 554 * Number of states: 0 () * Number of discrete variables: 30 (pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],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],electricCylinder.bodyCylinder.color[3],electricCylinder.bodyCylinder.color[2],electricCylinder.bodyCylinder.color[1],electricCylinder.bodyCylinder.body.sphereColor[3],electricCylinder.bodyCylinder.body.sphereColor[2],electricCylinder.bodyCylinder.body.sphereColor[1],electricCylinder.bodyBox.color[3],electricCylinder.bodyBox.color[2],electricCylinder.bodyBox.color[1],electricCylinder.bodyBox.body.sphereColor[3],electricCylinder.bodyBox.body.sphereColor[2],electricCylinder.bodyBox.body.sphereColor[1],electricCylinder.prismatic.boxColor[3],electricCylinder.prismatic.boxColor[2],electricCylinder.prismatic.boxColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (690): * Single equations (assignments): 687 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003414/1.039, allocations: 2.024 MB / 0.6308 GB, free: 84.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000872/1.04, allocations: 348.7 kB / 0.6312 GB, free: 84.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007922/1.041, allocations: 385.1 kB / 0.6315 GB, free: 84.17 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-05/1.041, allocations: 15.41 kB / 0.6316 GB, free: 84.17 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-05/1.041, allocations: 4.609 kB / 0.6316 GB, free: 84.17 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/1.041, allocations: 4.672 kB / 0.6316 GB, free: 84.17 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009256/1.05, allocations: 5.311 MB / 0.6368 GB, free: 81.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-05/1.05, allocations: 13.25 kB / 0.6368 GB, free: 81.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009252/1.051, allocations: 240 kB / 0.637 GB, free: 81.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-05/1.051, allocations: 19.38 kB / 0.637 GB, free: 81.65 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.335e-05/1.051, allocations: 44.61 kB / 0.6371 GB, free: 81.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.262e-05/1.051, allocations: 25.75 kB / 0.6371 GB, free: 81.63 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.592e-05/1.051, allocations: 20.25 kB / 0.6371 GB, free: 81.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004187/1.055, allocations: 2.891 MB / 0.6399 GB, free: 79.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001669/1.057, allocations: 0.5324 MB / 0.6404 GB, free: 79.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003484/1.057, allocations: 37.78 kB / 0.6405 GB, free: 79.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/1.059, allocations: 61.56 kB / 0.6405 GB, free: 79.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000176/1.059, allocations: 117.2 kB / 0.6406 GB, free: 79.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/1.059, allocations: 55.39 kB / 0.6407 GB, free: 79.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004515/1.063, allocations: 2.596 MB / 0.6432 GB, free: 78.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.81e-07/1.063, allocations: 0 / 0.6432 GB, free: 78.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0058/1.069, allocations: 0.837 MB / 0.6441 GB, free: 78.4 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 56 * Number of states: 2 (electricCylinder.prismatic.s,electricCylinder.prismatic.v) * 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 (118): * Single equations (assignments): 115 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004557/1.07, allocations: 187 kB / 0.6442 GB, free: 78.26 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006047/1.076, allocations: 3.337 MB / 0.6475 GB, free: 77.15 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.484e-05/1.076, allocations: 0 / 0.6475 GB, free: 77.15 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001102/1.077, allocations: 0.6604 MB / 0.6481 GB, free: 76.92 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00363/1.081, allocations: 0.4951 MB / 0.6486 GB, free: 76.72 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01608/1.097, allocations: 10.09 MB / 0.6585 GB, free: 70.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003853/1.101, allocations: 3.093 MB / 0.6615 GB, free: 68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008514/1.101, allocations: 264.2 kB / 0.6617 GB, free: 67.75 MB / 446.1 MB Notification: Performance of SimCode: time 1.643e-06/1.101, allocations: 0 / 0.6617 GB, free: 67.75 MB / 446.1 MB Notification: Performance of Templates: time 0.08206/1.183, allocations: 52.03 MB / 0.7125 GB, free: 18.81 MB / 446.1 MB make -j1 -f StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.makefile make -j1 -f StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppStewartPlatform_StewartPlatform.Tests.ElectricCylinder_testCalcHelperMain.o OMCppStewartPlatform_StewartPlatform.Tests.ElectricCylinder_testCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppStewartPlatform_StewartPlatform.Tests.ElectricCylinder_testCalcHelperMain.o] Error 1