Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents") translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009979/0.0009975, allocations: 90.2 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 179.9 kB / 18.52 MB, free: 5.172 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.549/1.549, allocations: 223.2 MB / 242.5 MB, free: 324 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.232/0.232, allocations: 44.23 MB / 337.9 MB, free: 2.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003358/0.0003358, allocations: 9 kB / 410.3 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1464, allocations: 61.92 MB / 472.2 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.004031/0.1505, allocations: 3.527 MB / 475.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002149/0.1527, allocations: 1.021 MB / 476.7 MB, free: 9.188 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002597/0.1529, allocations: 11.94 kB / 476.7 MB, free: 9.176 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002287/0.1532, allocations: 71.39 kB / 476.8 MB, free: 9.105 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003644/0.1536, allocations: 170.6 kB / 477 MB, free: 8.938 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000527/0.1541, allocations: 143.8 kB / 477.1 MB, free: 8.797 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000753/0.1549, allocations: 0.7199 MB / 477.8 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003739/0.1552, allocations: 178.9 kB / 478 MB, free: 7.898 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003561/0.1556, allocations: 259 kB / 478.3 MB, free: 7.645 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003877/0.156, allocations: 290.7 kB / 478.5 MB, free: 7.359 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.431e-05/0.1561, allocations: 32 kB / 478.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001579/0.1562, allocations: 55.92 kB / 478.6 MB, free: 7.273 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.1564, allocations: 107.6 kB / 478.7 MB, free: 7.168 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001329/0.1565, allocations: 145.3 kB / 478.9 MB, free: 7.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005494/0.1571, allocations: 0.5417 MB / 479.4 MB, free: 6.477 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1571, allocations: 3.938 kB / 479.4 MB, free: 6.473 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1571, allocations: 0 / 479.4 MB, free: 6.473 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.1571, allocations: 0 / 479.4 MB, free: 6.473 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.00177/0.1589, allocations: 0.9234 MB / 480.3 MB, free: 5.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.1589, allocations: 8.031 kB / 480.3 MB, free: 5.492 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001319/0.1591, allocations: 83.06 kB / 480.4 MB, free: 5.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005197/0.1596, allocations: 376.8 kB / 480.8 MB, free: 5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.677e-05/0.1597, allocations: 41.31 kB / 480.8 MB, free: 4.957 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.1598, allocations: 71.91 kB / 480.9 MB, free: 4.887 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/0.1611, allocations: 0.6381 MB / 481.5 MB, free: 4.223 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.416e-05/0.1611, allocations: 11.89 kB / 481.6 MB, free: 4.211 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.356e-05/0.1612, allocations: 28 kB / 481.6 MB, free: 4.184 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/0.1612, allocations: 12 kB / 481.6 MB, free: 4.172 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001209/0.1624, allocations: 0.5645 MB / 482.2 MB, free: 3.602 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003325/0.1658, allocations: 2.177 MB / 484.3 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/0.1672, allocations: 0.7222 MB / 485.1 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006293/0.1679, allocations: 357.2 kB / 485.4 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001739/0.1681, allocations: 101.8 kB / 485.5 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.533e-05/0.1681, allocations: 55.03 kB / 485.6 MB, free: 15.97 MB / 366.1 MB Notification: Performance of pre-optimization done (n=82): time 2.665e-06/0.1681, allocations: 0 / 485.6 MB, free: 15.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=115): time 0.008434/0.1766, allocations: 4.61 MB / 490.2 MB, free: 11.01 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001897/0.1768, allocations: 226.1 kB / 490.4 MB, free: 10.74 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005015/0.1773, allocations: 365.8 kB / 490.7 MB, free: 10.37 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.723e-05/0.1774, allocations: 45.7 kB / 490.8 MB, free: 10.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001897/0.1776, allocations: 268.9 kB / 491.1 MB, free: 10.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003089/0.1779, allocations: 402.1 kB / 491.4 MB, free: 9.652 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.517e-05/0.1779, allocations: 20 kB / 491.5 MB, free: 9.633 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001968/0.1781, allocations: 386.8 kB / 491.8 MB, free: 9.246 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006351/0.1788, allocations: 330.4 kB / 492.2 MB, free: 8.922 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007754/0.1796, allocations: 0.5204 MB / 492.7 MB, free: 8.336 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007335/0.1803, allocations: 395.9 kB / 493.1 MB, free: 7.949 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.1803, allocations: 0 / 493.1 MB, free: 7.949 MB / 366.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002189/0.1825, allocations: 1.038 MB / 494.1 MB, free: 6.906 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.1826, allocations: 8 kB / 494.1 MB, free: 6.898 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.1826, allocations: 8 kB / 494.1 MB, free: 6.891 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/0.1826, allocations: 8 kB / 494.1 MB, free: 6.883 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.1836, allocations: 296 kB / 494.4 MB, free: 6.594 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.343e-05/0.1837, allocations: 12.06 kB / 494.4 MB, free: 6.582 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004282/0.1841, allocations: 67.92 kB / 494.5 MB, free: 6.516 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.426e-05/0.1842, allocations: 43.98 kB / 494.5 MB, free: 6.473 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 144 * Array equations: 0 * 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.0003219/0.1845, allocations: 225.6 kB / 494.8 MB, free: 6.242 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002135/0.1847, allocations: 75.09 kB / 494.8 MB, free: 6.168 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005185/0.1853, allocations: 222.8 kB / 495.1 MB, free: 5.941 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000114/0.1854, allocations: 16 kB / 495.1 MB, free: 5.926 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.1854, allocations: 4 kB / 495.1 MB, free: 5.922 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/0.1854, allocations: 7.984 kB / 495.1 MB, free: 5.914 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004033/0.1895, allocations: 2.386 MB / 497.5 MB, free: 3.426 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.1895, allocations: 4 kB / 497.5 MB, free: 3.422 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/0.1905, allocations: 260 kB / 497.7 MB, free: 3.168 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.43e-05/0.1906, allocations: 8 kB / 497.7 MB, free: 3.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001101/0.1907, allocations: 27.98 kB / 497.8 MB, free: 3.133 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.524e-05/0.1907, allocations: 11.94 kB / 497.8 MB, free: 3.121 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.1907, allocations: 4 kB / 497.8 MB, free: 3.117 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002939/0.1936, allocations: 1.959 MB / 499.7 MB, free: 1.125 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002994/0.194, allocations: 196.2 kB / 499.9 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.168e-05/0.1941, allocations: 27.98 kB / 500 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005821/0.1946, allocations: 55.91 kB / 0.4883 GB, free: 0.832 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/0.1948, allocations: 84.41 kB / 0.4884 GB, free: 0.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.746e-05/0.1949, allocations: 35.98 kB / 0.4884 GB, free: 0.7148 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002751/0.1951, allocations: 247.2 kB / 0.4886 GB, free: 484 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1951, allocations: 0 / 0.4886 GB, free: 484 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.001054/0.1962, allocations: 192 kB / 0.4888 GB, free: 292 kB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 15 (slidingMass.s,slidingMass.v,damper.s_rel,springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,relativeStates.s_rel,relativeStates.v_rel,position2.s,position2.v,position1.s,position1.v,position.s,position.v) * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 115 * Array equations: 0 * 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.0003376/0.1966, allocations: 147.1 kB / 0.489 GB, free: 132 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001613/0.1982, allocations: 0.8705 MB / 0.4898 GB, free: 15.26 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1982, allocations: 0 / 0.4898 GB, free: 15.26 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009026/0.1991, allocations: 0.4993 MB / 0.4903 GB, free: 14.76 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/0.2003, allocations: 122.4 kB / 0.4904 GB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004096/0.2044, allocations: 2.694 MB / 0.4931 GB, free: 11.87 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006364/0.205, allocations: 0.9403 MB / 0.494 GB, free: 10.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002504/0.2053, allocations: 75.41 kB / 0.494 GB, free: 10.82 MB / 382.1 MB Notification: Performance of SimCode: time 1.673e-06/0.2053, allocations: 0 / 0.494 GB, free: 10.82 MB / 382.1 MB Notification: Performance of Templates: time 0.01579/0.2211, allocations: 8.803 MB / 0.5026 GB, free: 2.027 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.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 OMCppModelicaTest_4.0.0_ModelicaTest.Translational.AllComponentsCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Translational.AllComponentsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Translational.AllComponentsCalcHelperMain.o] Error 1