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.0006408/0.000641, allocations: 98.88 kB / 16.02 MB, free: 76 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.0006616/0.0006616, allocations: 185.4 kB / 16.92 MB, free: 6.707 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.112/1.112, allocations: 223.2 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.1061/0.1061, allocations: 6.474 MB / 298.6 MB, free: 3.688 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002465/0.0002465, allocations: 8 kB / 361.1 MB, free: 15.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0749/0.07516, allocations: 51.84 MB / 413 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ElectricCylinder_test): time 0.1532/0.2284, allocations: 38.49 MB / 451.5 MB, free: 22.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01146/0.2399, allocations: 9.233 MB / 460.7 MB, free: 17.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002926/0.2429, allocations: 170.3 kB / 460.9 MB, free: 17.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007342/0.2436, allocations: 497.6 kB / 461.4 MB, free: 17.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002403/0.2461, allocations: 1.837 MB / 463.2 MB, free: 16.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008035/0.2469, allocations: 0.6897 MB / 463.9 MB, free: 16.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004641/0.2515, allocations: 7.556 MB / 471.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003755/0.2553, allocations: 4.511 MB / 476 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001153/0.2565, allocations: 1.23 MB / 477.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001782/0.2582, allocations: 2.1 MB / 479.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002658/0.2585, allocations: 147.9 kB / 479.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001252/0.2598, allocations: 0.9663 MB / 480.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001145/0.2609, allocations: 1.712 MB / 482.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001256/0.2622, allocations: 2.003 MB / 484.1 MB, free: 8.691 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004552/0.2668, allocations: 5.732 MB / 489.8 MB, free: 7.305 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2668, allocations: 0 / 489.8 MB, free: 7.305 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2668, allocations: 4 kB / 489.9 MB, free: 7.301 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.686e-05/0.2669, allocations: 0 / 489.9 MB, free: 7.301 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: 1308 * Number of variables: 1308 Notification: Performance of Generate backend data structure: time 0.005885/0.2728, allocations: 3.888 MB / 493.7 MB, free: 4.578 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.2728, allocations: 13.72 kB / 493.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01706/0.2899, allocations: 2.861 MB / 496.6 MB, free: 3.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00509/0.295, allocations: 3.606 MB / 0.4885 GB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-05/0.2951, allocations: 218 kB / 0.4887 GB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004195/0.2955, allocations: 294.7 kB / 0.489 GB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01006/0.3056, allocations: 8.551 MB / 0.4973 GB, free: 7.938 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.782e-05/0.3057, allocations: 47.55 kB / 0.4974 GB, free: 7.891 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003297/0.306, allocations: 139.9 kB / 0.4975 GB, free: 7.754 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001964/0.308, allocations: 1.56 MB / 0.499 GB, free: 6.195 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009499/0.3175, allocations: 6.958 MB / 0.5058 GB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02784/0.3454, allocations: 33.11 MB / 0.5382 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003486/0.3489, allocations: 2.165 MB / 0.5403 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008036/0.3497, allocations: 0.6784 MB / 0.5409 GB, free: 10.06 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003487/0.3532, allocations: 3.097 MB / 0.544 GB, free: 6.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.3532, allocations: 51.05 kB / 0.544 GB, free: 6.762 MB / 414.1 MB Notification: Performance of pre-optimization done (n=114): time 2.435e-06/0.3532, allocations: 0 / 0.544 GB, free: 6.762 MB / 414.1 MB Notification: Performance of matching and sorting (n=134): time 0.01297/0.3662, allocations: 7.592 MB / 0.5514 GB, free: 15.05 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.3663, allocations: 281.5 kB / 0.5517 GB, free: 14.71 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004415/0.3708, allocations: 4.113 MB / 0.5557 GB, free: 10.57 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.126e-05/0.3708, allocations: 41.7 kB / 0.5558 GB, free: 10.53 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001677/0.3725, allocations: 2.918 MB / 0.5586 GB, free: 7.57 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003453/0.3729, allocations: 0.544 MB / 0.5591 GB, free: 7.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004701/0.3733, allocations: 486 kB / 0.5596 GB, free: 6.539 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.82e-05/0.3734, allocations: 305.1 kB / 0.5599 GB, free: 6.238 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001829/0.3753, allocations: 1.486 MB / 0.5613 GB, free: 4.746 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003669/0.3789, allocations: 4.933 MB / 0.5662 GB, free: 14.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005867/0.3848, allocations: 6.913 MB / 0.5729 GB, free: 5.453 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.819e-05/0.3849, allocations: 36 kB / 0.5729 GB, free: 5.418 MB / 446.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.1437/0.5286, allocations: 6.192 MB / 0.579 GB, free: 119 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.588e-05/0.5287, allocations: 56.53 kB / 0.579 GB, free: 119 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001234/0.5288, allocations: 123.9 kB / 0.5792 GB, free: 119 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001169/0.5289, allocations: 161.4 kB / 0.5793 GB, free: 119 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003034/0.532, allocations: 1.286 MB / 0.5806 GB, free: 119 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001089/0.5321, allocations: 242 kB / 0.5808 GB, free: 119 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002747/0.5348, allocations: 265.1 kB / 0.5811 GB, free: 119 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002674/0.5351, allocations: 330.1 kB / 0.5814 GB, free: 119 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002291/0.5374, allocations: 2.036 MB / 0.5834 GB, free: 118.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003338/0.5378, allocations: 338.1 kB / 0.5837 GB, free: 118.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004896/0.5383, allocations: 385.8 kB / 0.5841 GB, free: 118.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-05/0.5383, allocations: 18.78 kB / 0.5841 GB, free: 118.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.5383, allocations: 2.406 kB / 0.5841 GB, free: 118.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.5383, allocations: 9.875 kB / 0.5841 GB, free: 118.8 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.005534/0.5438, allocations: 5.323 MB / 0.5893 GB, free: 117.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.159e-05/0.5439, allocations: 13.19 kB / 0.5893 GB, free: 117.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006516/0.5445, allocations: 235.6 kB / 0.5895 GB, free: 117.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.294e-05/0.5445, allocations: 22.91 kB / 0.5895 GB, free: 117.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.354e-05/0.5446, allocations: 36.12 kB / 0.5896 GB, free: 117.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.335e-05/0.5446, allocations: 30.41 kB / 0.5896 GB, free: 117.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/0.5446, allocations: 16.53 kB / 0.5896 GB, free: 117.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002158/0.5468, allocations: 2.889 MB / 0.5924 GB, free: 116.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005577/0.5474, allocations: 0.5416 MB / 0.593 GB, free: 116.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002787/0.5477, allocations: 44.31 kB / 0.593 GB, free: 116.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009624/0.5486, allocations: 56.59 kB / 0.5931 GB, free: 116.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.5488, allocations: 112.2 kB / 0.5932 GB, free: 116.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.168e-05/0.5488, allocations: 58.86 kB / 0.5932 GB, free: 116.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002468/0.5513, allocations: 2.607 MB / 0.5958 GB, free: 115.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5513, allocations: 0 / 0.5958 GB, free: 115.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002896/0.5542, allocations: 0.8462 MB / 0.5966 GB, free: 115.6 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 (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.0002348/0.5545, allocations: 188.8 kB / 0.5968 GB, free: 115.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003094/0.5576, allocations: 3.369 MB / 0.6001 GB, free: 114.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.5576, allocations: 1.594 kB / 0.6001 GB, free: 114.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00063/0.5582, allocations: 0.6649 MB / 0.6007 GB, free: 114.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007765/0.566, allocations: 0.6162 MB / 0.6013 GB, free: 114 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009309/0.5753, allocations: 10.51 MB / 0.6116 GB, free: 107.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002554/0.5779, allocations: 3.087 MB / 0.6146 GB, free: 106.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00059/0.5785, allocations: 298.4 kB / 0.6149 GB, free: 106.6 MB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/0.5785, allocations: 0 / 0.6149 GB, free: 106.6 MB / 446.1 MB Notification: Performance of Templates: time 0.04785/0.6263, allocations: 51.73 MB / 0.6654 GB, free: 71.45 MB / 446.1 MB make -j1 -f StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.makefile make -j1 -f StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/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