Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr StewartPlatform_StewartPlatform.Tests.Switch2_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.Switch2_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.Switch2_test") translateModel(StewartPlatform.Tests.Switch2_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.Switch2_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006371/0.0006371, allocations: 96.14 kB / 16.03 MB, free: 68 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.0006712/0.0006711, allocations: 185.1 kB / 16.92 MB, free: 6.75 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.108/1.108, allocations: 223.2 MB / 241 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.1204/0.1204, allocations: 6.474 MB / 298.5 MB, free: 3.707 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002492/0.0002493, allocations: 8 kB / 361.2 MB, free: 15.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.074/0.07426, allocations: 51.83 MB / 413 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.Switch2_test): time 0.004057/0.07835, allocations: 4.888 MB / 417.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004556/0.08292, allocations: 4.521 MB / 422.4 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001921/0.08312, allocations: 12 kB / 422.4 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005435/0.08367, allocations: 286.6 kB / 422.7 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001839/0.08552, allocations: 1.286 MB / 424 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002726/0.08581, allocations: 191.6 kB / 424.2 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.1325/0.2183, allocations: 3.927 MB / 428.1 MB, free: 34.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008994/0.2192, allocations: 1.128 MB / 429.2 MB, free: 34.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005764/0.2198, allocations: 476.4 kB / 429.7 MB, free: 34.47 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007209/0.2205, allocations: 0.7437 MB / 430.4 MB, free: 34.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001129/0.2207, allocations: 34.62 kB / 430.5 MB, free: 34.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001426/0.2221, allocations: 1.013 MB / 431.5 MB, free: 34.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004978/0.2226, allocations: 0.8125 MB / 432.3 MB, free: 34.26 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000656/0.2233, allocations: 0.8175 MB / 433.1 MB, free: 33.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001467/0.2247, allocations: 2.071 MB / 435.2 MB, free: 33.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.2247, allocations: 4 kB / 435.2 MB, free: 33.81 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2248, allocations: 0 / 435.2 MB, free: 33.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.047e-05/0.2248, allocations: 0 / 435.2 MB, free: 33.81 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: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.002906/0.2277, allocations: 2.042 MB / 437.2 MB, free: 32.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.908e-05/0.2278, allocations: 16.34 kB / 437.2 MB, free: 32.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/0.2289, allocations: 310.7 kB / 437.5 MB, free: 32.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002108/0.231, allocations: 1.908 MB / 439.5 MB, free: 32.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002731/0.2313, allocations: 266.2 kB / 439.7 MB, free: 32.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/0.2315, allocations: 68.47 kB / 439.8 MB, free: 32.03 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002798/0.2343, allocations: 1.684 MB / 441.5 MB, free: 31.9 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.2343, allocations: 0 / 441.5 MB, free: 31.9 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.241e-05/0.2344, allocations: 32.28 kB / 441.5 MB, free: 31.9 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.931e-05/0.2344, allocations: 37.09 kB / 441.5 MB, free: 31.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003766/0.2382, allocations: 2.001 MB / 443.5 MB, free: 31.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003309/0.2415, allocations: 3.505 MB / 447 MB, free: 31.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001699/0.2432, allocations: 0.807 MB / 447.8 MB, free: 30.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001544/0.2448, allocations: 0.7084 MB / 448.6 MB, free: 30.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.863e-05/0.2449, allocations: 6.797 kB / 448.6 MB, free: 30.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001667/0.2465, allocations: 0.8217 MB / 449.4 MB, free: 30.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.393e-06/0.2465, allocations: 3.938 kB / 449.4 MB, free: 30.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.004851/0.2514, allocations: 2.212 MB / 451.6 MB, free: 29.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.2514, allocations: 135 kB / 451.7 MB, free: 29.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002257/0.2537, allocations: 2.416 MB / 454.1 MB, free: 28.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.272e-05/0.2538, allocations: 30.55 kB / 454.2 MB, free: 28.92 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004313/0.2542, allocations: 0.7814 MB / 455 MB, free: 28.31 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.777e-05/0.2543, allocations: 81.59 kB / 455 MB, free: 28.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.2544, allocations: 140.5 kB / 455.2 MB, free: 28.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.187e-05/0.2545, allocations: 337.4 kB / 455.5 MB, free: 27.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001788/0.2563, allocations: 0.9396 MB / 456.4 MB, free: 27.65 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001925/0.2582, allocations: 1.043 MB / 457.5 MB, free: 27.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003254/0.2615, allocations: 1.531 MB / 459 MB, free: 27.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.2615, allocations: 0 / 459 MB, free: 27.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004027/0.2655, allocations: 2.108 MB / 461.1 MB, free: 26.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.2655, allocations: 5.422 kB / 461.1 MB, free: 26.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.2656, allocations: 5.891 kB / 461.1 MB, free: 26.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.2656, allocations: 2.844 kB / 461.1 MB, free: 26.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009206/0.2665, allocations: 240.9 kB / 461.4 MB, free: 26.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.2665, allocations: 3.844 kB / 461.4 MB, free: 26.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/0.2678, allocations: 245.2 kB / 461.6 MB, free: 26.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.816e-05/0.2679, allocations: 19.88 kB / 461.6 MB, free: 26.38 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (switch2.mux.sequenceIn[3],switch2.mux.sequenceIn[2],switch2.mux.sequenceIn[1],switch2.count,$PRE.switch2.count,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 50 * 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.0006236/0.2685, allocations: 0.6114 MB / 462.2 MB, free: 26.1 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001766/0.2687, allocations: 163.7 kB / 462.4 MB, free: 26.01 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002221/0.2689, allocations: 182.6 kB / 462.6 MB, free: 25.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.2689, allocations: 5.891 kB / 462.6 MB, free: 25.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.269, allocations: 0 / 462.6 MB, free: 25.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.269, allocations: 3.203 kB / 462.6 MB, free: 25.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/0.2703, allocations: 1.39 MB / 464 MB, free: 25.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-06/0.2703, allocations: 1.938 kB / 464 MB, free: 25.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008192/0.2711, allocations: 205.4 kB / 464.2 MB, free: 25.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.2711, allocations: 1.344 kB / 464.2 MB, free: 25.28 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.044e-05/0.2712, allocations: 12.19 kB / 464.2 MB, free: 25.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.2712, allocations: 0.7031 kB / 464.2 MB, free: 25.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.2712, allocations: 4.688 kB / 464.2 MB, free: 25.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003587/0.2748, allocations: 1.542 MB / 465.7 MB, free: 24.85 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000346/0.2751, allocations: 305.2 kB / 466 MB, free: 24.63 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002132/0.2754, allocations: 11.09 kB / 466.1 MB, free: 24.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/0.2765, allocations: 195.1 kB / 466.2 MB, free: 24.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002265/0.2767, allocations: 83.3 kB / 466.3 MB, free: 24.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.171e-05/0.2768, allocations: 11.61 kB / 466.3 MB, free: 24.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002102/0.2789, allocations: 1.747 MB / 468.1 MB, free: 23.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2789, allocations: 0 / 468.1 MB, free: 23.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001082/0.28, allocations: 0.5431 MB / 468.6 MB, free: 23.91 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,switch2.count,switch2.mux.sequenceIn[1],switch2.mux.sequenceIn[2],switch2.mux.sequenceIn[3]) * Number of discrete states: 1 (switch2.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0009352/0.2809, allocations: 0.4944 MB / 469.1 MB, free: 23.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003813/0.2847, allocations: 1.753 MB / 470.9 MB, free: 23.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2847, allocations: 4.875 kB / 470.9 MB, free: 23.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001794/0.2865, allocations: 0.7345 MB / 471.6 MB, free: 23.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002998/0.2895, allocations: 0.9065 MB / 472.5 MB, free: 23.04 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004096/0.2936, allocations: 3.976 MB / 476.5 MB, free: 21.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008069/0.2945, allocations: 1.526 MB / 478 MB, free: 20.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004935/0.295, allocations: 89.38 kB / 478.1 MB, free: 20.16 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.295, allocations: 0 / 478.1 MB, free: 20.16 MB / 350.1 MB Notification: Performance of Templates: time 0.02859/0.3236, allocations: 30.38 MB / 0.4966 GB, free: 6.422 MB / 366.1 MB make -j1 -f StewartPlatform_StewartPlatform.Tests.Switch2_test.makefile make -j1 -f StewartPlatform_StewartPlatform.Tests.Switch2_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.Switch2_testCalcHelperMain.o OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testCalcHelperMain.o] Error 1