Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed") translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 93.62 kB / 16.67 MB, free: 5.855 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.001277/0.001278, allocations: 173.3 kB / 17.57 MB, free: 5.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.918/1.918, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2704/0.2704, allocations: 43.59 MB / 315.6 MB, free: 500 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005896/0.0005897, allocations: 15.56 kB / 385.2 MB, free: 56.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1539, allocations: 58.86 MB / 444.1 MB, free: 5.25 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.003101/0.1571, allocations: 2.289 MB / 446.4 MB, free: 2.941 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001692/0.1589, allocations: 0.6827 MB / 447.1 MB, free: 2.25 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003792/0.1593, allocations: 7.938 kB / 447.1 MB, free: 2.242 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002349/0.1595, allocations: 31.72 kB / 447.1 MB, free: 2.211 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003723/0.1599, allocations: 75.39 kB / 447.2 MB, free: 2.137 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003743/0.1603, allocations: 71.92 kB / 447.2 MB, free: 2.066 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004946/0.1608, allocations: 318.5 kB / 447.6 MB, free: 1.754 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001791/0.161, allocations: 77.8 kB / 447.6 MB, free: 1.68 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001609/0.1612, allocations: 99.58 kB / 447.7 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.1613, allocations: 123.3 kB / 447.8 MB, free: 1.461 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.501e-05/0.1614, allocations: 12 kB / 447.9 MB, free: 1.449 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.657e-05/0.1614, allocations: 12 kB / 447.9 MB, free: 1.438 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.177e-05/0.1615, allocations: 51.77 kB / 447.9 MB, free: 1.387 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001311/0.1616, allocations: 153 kB / 448.1 MB, free: 1.23 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002114/0.1618, allocations: 207.4 kB / 448.3 MB, free: 1.027 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1618, allocations: 4 kB / 448.3 MB, free: 1.023 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1619, allocations: 0 / 448.3 MB, free: 1.023 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.543e-06/0.1619, allocations: 0 / 448.3 MB, free: 1.023 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007613/0.1626, allocations: 0.5457 MB / 448.8 MB, free: 440 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.1627, allocations: 8.031 kB / 448.8 MB, free: 432 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.737e-05/0.1627, allocations: 36.56 kB / 448.9 MB, free: 396 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/0.163, allocations: 255.8 kB / 449.1 MB, free: 100 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.163, allocations: 20.88 kB / 449.1 MB, free: 80 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.974e-05/0.1631, allocations: 36.22 kB / 449.2 MB, free: 44 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005131/0.1636, allocations: 286.4 kB / 449.5 MB, free: 15.73 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.865e-05/0.1637, allocations: 11.91 kB / 449.5 MB, free: 15.72 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.785e-05/0.1637, allocations: 15.94 kB / 449.5 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/0.1637, allocations: 8 kB / 449.5 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004312/0.1641, allocations: 199.8 kB / 449.7 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001725/0.1659, allocations: 1.317 MB / 451 MB, free: 14.08 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004398/0.1663, allocations: 254.3 kB / 451.2 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002153/0.1666, allocations: 115.4 kB / 451.4 MB, free: 13.67 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.1666, allocations: 4 kB / 451.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.1666, allocations: 42.69 kB / 451.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.452e-06/0.1666, allocations: 0 / 451.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.003058/0.1697, allocations: 1.619 MB / 453 MB, free: 11.79 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.357e-05/0.1698, allocations: 140.5 kB / 453.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003564/0.1702, allocations: 224.9 kB / 453.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/0.1702, allocations: 33.7 kB / 453.4 MB, free: 11.35 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/0.1704, allocations: 168.3 kB / 453.6 MB, free: 11.18 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.809e-05/0.1705, allocations: 114.3 kB / 453.7 MB, free: 11.07 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.406e-05/0.1706, allocations: 49.69 kB / 453.7 MB, free: 11.01 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.1707, allocations: 338.8 kB / 454.1 MB, free: 10.67 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002664/0.171, allocations: 108.8 kB / 454.2 MB, free: 10.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003933/0.1714, allocations: 256.6 kB / 454.4 MB, free: 10.26 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006619/0.1721, allocations: 394.8 kB / 454.8 MB, free: 9.812 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1721, allocations: 0 / 454.8 MB, free: 9.812 MB / 334.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009727/0.1731, allocations: 433 kB / 455.2 MB, free: 9.383 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.1731, allocations: 8 kB / 455.2 MB, free: 9.375 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.1731, allocations: 4 kB / 455.2 MB, free: 9.371 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/0.1731, allocations: 8 kB / 455.3 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003989/0.1735, allocations: 108.2 kB / 455.4 MB, free: 9.258 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.664e-05/0.1736, allocations: 15.92 kB / 455.4 MB, free: 9.242 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000213/0.1738, allocations: 31.98 kB / 455.4 MB, free: 9.211 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.1738, allocations: 12 kB / 455.4 MB, free: 9.199 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 initialization (48): * Single equations (assignments): 48 * Array equations: 0 * 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.0002563/0.1741, allocations: 161.6 kB / 455.6 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.1742, allocations: 31.66 kB / 455.6 MB, free: 9 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.004e-05/0.1743, allocations: 37.64 kB / 455.6 MB, free: 8.965 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.1743, allocations: 4 kB / 455.6 MB, free: 8.961 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/0.1743, allocations: 0 / 455.6 MB, free: 8.961 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.1743, allocations: 3.984 kB / 455.7 MB, free: 8.957 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001915/0.1762, allocations: 1.017 MB / 456.7 MB, free: 7.875 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.1763, allocations: 4 kB / 456.7 MB, free: 7.871 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003593/0.1766, allocations: 87.94 kB / 456.8 MB, free: 7.785 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.1766, allocations: 0 / 456.8 MB, free: 7.785 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.421e-05/0.1767, allocations: 11.94 kB / 456.8 MB, free: 7.773 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.1767, allocations: 4 kB / 456.8 MB, free: 7.77 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.549e-05/0.1767, allocations: 3.938 kB / 456.8 MB, free: 7.766 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.1778, allocations: 0.7677 MB / 457.5 MB, free: 6.973 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.406e-05/0.1779, allocations: 100.7 kB / 457.6 MB, free: 6.855 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.212e-05/0.1779, allocations: 16.22 kB / 457.7 MB, free: 6.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003106/0.1782, allocations: 27.97 kB / 457.7 MB, free: 6.812 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.261e-05/0.1783, allocations: 31.91 kB / 457.7 MB, free: 6.781 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.1784, allocations: 11.94 kB / 457.7 MB, free: 6.77 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001536/0.1785, allocations: 160.5 kB / 457.9 MB, free: 6.613 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1785, allocations: 0 / 457.9 MB, free: 6.613 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005637/0.1791, allocations: 64 kB / 457.9 MB, free: 6.551 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * 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 (32): * Single equations (assignments): 32 * Array equations: 0 * 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.0001639/0.1793, allocations: 99.3 kB / 458 MB, free: 6.441 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007823/0.1801, allocations: 300.2 kB / 458.3 MB, free: 6.148 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.137e-05/0.1801, allocations: 4 kB / 458.3 MB, free: 6.145 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000293/0.1804, allocations: 144.1 kB / 458.5 MB, free: 6.004 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007455/0.1811, allocations: 49.97 kB / 458.5 MB, free: 5.957 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/0.1829, allocations: 1.131 MB / 459.7 MB, free: 4.781 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004254/0.1834, allocations: 0.7683 MB / 460.4 MB, free: 3.984 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.735e-05/0.1835, allocations: 35.42 kB / 460.5 MB, free: 3.949 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1835, allocations: 0 / 460.5 MB, free: 3.949 MB / 334.1 MB Notification: Performance of Templates: time 0.00628/0.1898, allocations: 3.266 MB / 463.7 MB, free: 0.6836 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.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 OMCppModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeedCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeedCalcHelperMain.o] Error 1