Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007887/0.0007887, allocations: 88.66 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.000871/0.000871, allocations: 179.7 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.524/1.524, allocations: 223.3 MB / 242.5 MB, free: 14.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2504/0.2504, allocations: 44.23 MB / 337.9 MB, free: 2.578 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003309/0.0003309, allocations: 12 kB / 410.3 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1319, allocations: 61.93 MB / 472.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.001907/0.1338, allocations: 1.355 MB / 473.6 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.135, allocations: 0.7764 MB / 474.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.156e-05/0.1351, allocations: 0 / 474.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002889/0.1354, allocations: 67.84 kB / 474.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001743/0.1356, allocations: 59.69 kB / 474.5 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002436/0.1359, allocations: 87.83 kB / 474.5 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.136, allocations: 79.7 kB / 474.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.909e-05/0.1361, allocations: 4 kB / 474.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.307e-05/0.1362, allocations: 39.83 kB / 474.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.961e-05/0.1363, allocations: 39.84 kB / 474.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.1363, allocations: 0 / 474.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.451e-05/0.1364, allocations: 35.91 kB / 474.7 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.802e-05/0.1364, allocations: 11.98 kB / 474.8 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.278e-05/0.1365, allocations: 37.64 kB / 474.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001294/0.1366, allocations: 72.12 kB / 474.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1366, allocations: 0 / 474.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1366, allocations: 0 / 474.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.1366, allocations: 0 / 474.9 MB, free: 11.04 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004754/0.1371, allocations: 390.9 kB / 475.2 MB, free: 10.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.1372, allocations: 8.031 kB / 475.2 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.332e-05/0.1372, allocations: 15.84 kB / 475.3 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.1374, allocations: 202.9 kB / 475.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.1374, allocations: 0 / 475.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.1374, allocations: 0 / 475.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.1376, allocations: 57.56 kB / 475.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.1376, allocations: 0 / 475.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.1376, allocations: 0 / 475.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1376, allocations: 0 / 475.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.518e-05/0.1377, allocations: 15.98 kB / 475.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001869/0.1379, allocations: 193.5 kB / 475.7 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.138, allocations: 50.61 kB / 475.8 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.577e-05/0.1381, allocations: 16.86 kB / 475.8 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.1381, allocations: 4 kB / 475.8 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001644/0.1383, allocations: 75.34 kB / 475.9 MB, free: 9.859 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.332e-06/0.1383, allocations: 0 / 475.9 MB, free: 9.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002575/0.1386, allocations: 93.52 kB / 476 MB, free: 9.762 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.1386, allocations: 55.39 kB / 476 MB, free: 9.695 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.1388, allocations: 186.1 kB / 476.2 MB, free: 9.504 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.1388, allocations: 29.7 kB / 476.2 MB, free: 9.469 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.892e-05/0.1389, allocations: 100.1 kB / 476.3 MB, free: 9.367 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.062e-05/0.1389, allocations: 11.81 kB / 476.3 MB, free: 9.355 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-06/0.1389, allocations: 4 kB / 476.3 MB, free: 9.352 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.139, allocations: 322.8 kB / 476.6 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.64e-05/0.1391, allocations: 15.98 kB / 476.7 MB, free: 9.012 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.677e-05/0.1392, allocations: 37.7 kB / 476.7 MB, free: 8.969 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.57e-05/0.1392, allocations: 12 kB / 476.7 MB, free: 8.957 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-06/0.1392, allocations: 0 / 476.7 MB, free: 8.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001356/0.1394, allocations: 77.53 kB / 476.8 MB, free: 8.875 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.1394, allocations: 11.98 kB / 476.8 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1394, allocations: 4 kB / 476.8 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.868e-06/0.1394, allocations: 0 / 476.8 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.624e-05/0.1395, allocations: 11.98 kB / 476.8 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.1395, allocations: 3.938 kB / 476.8 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.435e-05/0.1396, allocations: 8 kB / 476.8 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.1396, allocations: 7.938 kB / 476.8 MB, free: 8.828 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 9.837e-05/0.1397, allocations: 129.7 kB / 477 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.56e-05/0.1397, allocations: 7.906 kB / 477 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.766e-05/0.1398, allocations: 20.27 kB / 477 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1398, allocations: 0 / 477 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1398, allocations: 0 / 477 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.1398, allocations: 0 / 477 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/0.1399, allocations: 193.5 kB / 477.2 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.1399, allocations: 0 / 477.2 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.01e-05/0.14, allocations: 4 kB / 477.2 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.14, allocations: 0 / 477.2 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.14, allocations: 0 / 477.2 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.14, allocations: 11.89 kB / 477.2 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.14, allocations: 320 / 477.2 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001665/0.1402, allocations: 113 kB / 477.3 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.017e-05/0.1402, allocations: 92.94 kB / 477.4 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.1402, allocations: 4 kB / 477.4 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.273e-05/0.1403, allocations: 0 / 477.4 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/0.1403, allocations: 7.953 kB / 477.4 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.1403, allocations: 0 / 477.4 MB, free: 8.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001036/0.1405, allocations: 143.2 kB / 477.5 MB, free: 8.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1405, allocations: 8 kB / 477.6 MB, free: 8.012 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002092/0.1407, allocations: 16 kB / 477.6 MB, free: 7.996 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008865/0.1416, allocations: 401.4 kB / 478 MB, free: 7.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001575/0.1417, allocations: 51.91 kB / 478 MB, free: 7.699 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1417, allocations: 0 / 478 MB, free: 7.699 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.372e-05/0.1418, allocations: 12 kB / 478 MB, free: 7.688 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.1421, allocations: 28.03 kB / 478.1 MB, free: 7.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004128/0.1425, allocations: 238.7 kB / 478.3 MB, free: 7.395 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/0.1428, allocations: 0.7004 MB / 479 MB, free: 6.668 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.444e-05/0.1428, allocations: 15.44 kB / 479 MB, free: 6.652 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1428, allocations: 0 / 479 MB, free: 6.652 MB / 350.1 MB Notification: Performance of Templates: time 0.003349/0.1462, allocations: 1.658 MB / 480.7 MB, free: 5.004 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.Tables.CombiTimeTable.Test39CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39CalcHelperMain.o] Error 1