Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009326/0.0009326, allocations: 92.66 kB / 16.33 MB, free: 6.398 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.001012/0.001012, allocations: 190.2 kB / 17.22 MB, free: 6.281 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.515/1.515, allocations: 205.4 MB / 223.4 MB, free: 5.789 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3674/0.3674, allocations: 43.55 MB / 315.2 MB, free: 8.754 MB / 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.0005038/0.0005037, allocations: 16 kB / 384.6 MB, free: 8.055 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1439, allocations: 58.86 MB / 443.4 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.002539/0.1465, allocations: 1.588 MB / 445 MB, free: 11.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001395/0.148, allocations: 0.7733 MB / 445.8 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.1481, allocations: 7.938 kB / 445.8 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000312/0.1484, allocations: 35.83 kB / 445.8 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001793/0.1486, allocations: 43.83 kB / 445.9 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002681/0.1489, allocations: 83.83 kB / 445.9 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.1491, allocations: 123.5 kB / 446.1 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.1492, allocations: 37.45 kB / 446.1 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.013e-05/0.1493, allocations: 39.8 kB / 446.1 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.843e-05/0.1494, allocations: 43.72 kB / 446.2 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.1495, allocations: 4 kB / 446.2 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.042e-05/0.1496, allocations: 35.97 kB / 446.2 MB, free: 10.26 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.884e-05/0.1496, allocations: 19.92 kB / 446.2 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.037e-05/0.1497, allocations: 37.64 kB / 446.3 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.1498, allocations: 120 kB / 446.4 MB, free: 10.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1499, allocations: 0 / 446.4 MB, free: 10.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.1499, allocations: 0 / 446.4 MB, free: 10.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.1499, allocations: 3.938 kB / 446.4 MB, free: 10.07 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006687/0.1506, allocations: 464.3 kB / 446.9 MB, free: 9.566 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.1506, allocations: 8.031 kB / 446.9 MB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.117e-05/0.1507, allocations: 19.81 kB / 446.9 MB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/0.1509, allocations: 223.5 kB / 447.1 MB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.151, allocations: 8 kB / 447.1 MB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.395e-05/0.151, allocations: 4 kB / 447.1 MB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002423/0.1513, allocations: 108.2 kB / 447.2 MB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.1513, allocations: 0 / 447.2 MB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.1513, allocations: 0 / 447.2 MB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.1513, allocations: 11.95 kB / 447.2 MB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001467/0.1515, allocations: 55.91 kB / 447.3 MB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006584/0.1521, allocations: 0.5048 MB / 447.8 MB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003108/0.1525, allocations: 94.64 kB / 447.9 MB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.09e-05/0.1526, allocations: 36.84 kB / 447.9 MB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.1526, allocations: 4 kB / 447.9 MB, free: 8.375 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002357/0.1528, allocations: 91.3 kB / 448 MB, free: 8.273 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.743e-06/0.1528, allocations: 0 / 448 MB, free: 8.273 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003878/0.1532, allocations: 145.4 kB / 448.2 MB, free: 8.125 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.1533, allocations: 59.41 kB / 448.2 MB, free: 8.055 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/0.1535, allocations: 187.5 kB / 448.4 MB, free: 7.859 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.1535, allocations: 25.7 kB / 448.4 MB, free: 7.828 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.565e-05/0.1536, allocations: 116 kB / 448.5 MB, free: 7.711 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.714e-05/0.1537, allocations: 31.61 kB / 448.6 MB, free: 7.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.793e-06/0.1537, allocations: 4 kB / 448.6 MB, free: 7.676 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.1538, allocations: 322.8 kB / 448.9 MB, free: 7.352 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.477e-05/0.1539, allocations: 31.98 kB / 448.9 MB, free: 7.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.291e-05/0.154, allocations: 68.2 kB / 449 MB, free: 7.238 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.31e-05/0.1541, allocations: 44.23 kB / 449 MB, free: 7.195 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.1541, allocations: 7.953 kB / 449 MB, free: 7.188 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002524/0.1544, allocations: 137.4 kB / 449.2 MB, free: 7.047 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.1544, allocations: 4 kB / 449.2 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.1544, allocations: 3.984 kB / 449.2 MB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.1544, allocations: 4 kB / 449.2 MB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.346e-05/0.1545, allocations: 24.12 kB / 449.2 MB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.1545, allocations: 3.984 kB / 449.2 MB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.131e-05/0.1546, allocations: 19.88 kB / 449.2 MB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.1546, allocations: 4 kB / 449.2 MB, free: 6.984 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001091/0.1547, allocations: 125.8 kB / 449.3 MB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.455e-05/0.1548, allocations: 23.75 kB / 449.4 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.506e-05/0.1548, allocations: 13.41 kB / 449.4 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1548, allocations: 0 / 449.4 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1548, allocations: 4 kB / 449.4 MB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1549, allocations: 0 / 449.4 MB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001826/0.155, allocations: 205.6 kB / 449.6 MB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.155, allocations: 0 / 449.6 MB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.715e-05/0.1551, allocations: 19.94 kB / 449.6 MB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1551, allocations: 0 / 449.6 MB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.1552, allocations: 0 / 449.6 MB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.1552, allocations: 7.938 kB / 449.6 MB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1552, allocations: 0 / 449.6 MB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003458/0.1555, allocations: 188.8 kB / 449.8 MB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.622e-05/0.1556, allocations: 97.08 kB / 449.9 MB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.043e-05/0.1556, allocations: 7.953 kB / 449.9 MB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.015e-05/0.1557, allocations: 15.92 kB / 449.9 MB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.454e-05/0.1557, allocations: 11.98 kB / 449.9 MB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.1558, allocations: 4.062 kB / 449.9 MB, free: 6.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001147/0.1559, allocations: 141.2 kB / 450.1 MB, free: 6.043 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1559, allocations: 0 / 450.1 MB, free: 6.043 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002268/0.1561, allocations: 28.12 kB / 450.1 MB, free: 6.016 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.0009234/0.1571, allocations: 406.9 kB / 450.5 MB, free: 5.645 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002503/0.1573, allocations: 91.89 kB / 450.6 MB, free: 5.555 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1573, allocations: 0 / 450.6 MB, free: 5.555 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.525e-05/0.1574, allocations: 31.98 kB / 450.6 MB, free: 5.523 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/0.1578, allocations: 44.06 kB / 450.7 MB, free: 5.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007145/0.1585, allocations: 331.3 kB / 451 MB, free: 5.125 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.1588, allocations: 0.7162 MB / 451.7 MB, free: 4.383 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.451e-05/0.1589, allocations: 19.42 kB / 451.7 MB, free: 4.363 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1589, allocations: 0 / 451.7 MB, free: 4.363 MB / 382.1 MB Notification: Performance of Templates: time 0.004252/0.1631, allocations: 2.118 MB / 453.8 MB, free: 2.242 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12CalcHelperMain.o] Error 1