Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007878/0.0007878, allocations: 93.39 kB / 16.33 MB, free: 5.938 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.000856/0.0008561, allocations: 187.9 kB / 17.22 MB, free: 5.859 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.523/1.523, allocations: 205.4 MB / 223.4 MB, free: 5.562 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.372/0.372, allocations: 43.55 MB / 315.2 MB, free: 9.09 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.0005071/0.0005072, allocations: 16 kB / 384.6 MB, free: 8.234 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1319, allocations: 58.86 MB / 443.4 MB, free: 13.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002079/0.134, allocations: 1.473 MB / 444.9 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001292/0.1354, allocations: 0.8202 MB / 445.7 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.352e-05/0.1354, allocations: 0 / 445.7 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004792/0.1359, allocations: 299.4 kB / 446 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003118/0.1363, allocations: 195.5 kB / 446.2 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003142/0.1366, allocations: 119.8 kB / 446.3 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000258/0.1368, allocations: 203.4 kB / 446.5 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.832e-05/0.1369, allocations: 21.47 kB / 446.5 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000146/0.1371, allocations: 123.5 kB / 446.7 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001952/0.1373, allocations: 159.5 kB / 446.8 MB, free: 9.859 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.1373, allocations: 4 kB / 446.8 MB, free: 9.855 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.218e-05/0.1374, allocations: 36 kB / 446.8 MB, free: 9.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001384/0.1375, allocations: 143.5 kB / 447 MB, free: 9.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.147e-05/0.1376, allocations: 77.45 kB / 447.1 MB, free: 9.598 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002833/0.1379, allocations: 271.8 kB / 447.3 MB, free: 9.332 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.1379, allocations: 0 / 447.3 MB, free: 9.332 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.1379, allocations: 0 / 447.3 MB, free: 9.332 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.138, allocations: 0 / 447.3 MB, free: 9.332 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000852/0.1388, allocations: 0.6804 MB / 448 MB, free: 8.602 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.1389, allocations: 12.02 kB / 448 MB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.658e-05/0.1389, allocations: 51.34 kB / 448.1 MB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005291/0.1395, allocations: 423.1 kB / 448.5 MB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.1395, allocations: 0 / 448.5 MB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.1395, allocations: 4 kB / 448.5 MB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001982/0.1397, allocations: 91.34 kB / 448.6 MB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.1397, allocations: 0 / 448.6 MB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.1398, allocations: 3.984 kB / 448.6 MB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.1398, allocations: 7.953 kB / 448.6 MB, free: 7.969 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.85e-05/0.1399, allocations: 31.92 kB / 448.6 MB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003843/0.1403, allocations: 374.3 kB / 449 MB, free: 7.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002424/0.1405, allocations: 105.2 kB / 449.1 MB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.276e-05/0.1406, allocations: 41.69 kB / 449.1 MB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.1407, allocations: 7.938 kB / 449.1 MB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002424/0.1409, allocations: 101.1 kB / 449.2 MB, free: 7.227 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 2.996e-06/0.1409, allocations: 3.984 kB / 449.2 MB, free: 7.223 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004431/0.1414, allocations: 193 kB / 449.4 MB, free: 7.027 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.027e-05/0.1414, allocations: 89.05 kB / 449.5 MB, free: 6.922 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/0.1425, allocations: 1.038 MB / 450.6 MB, free: 5.871 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.1426, allocations: 25.7 kB / 450.6 MB, free: 5.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001916/0.1428, allocations: 236.1 kB / 450.8 MB, free: 5.605 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.59e-05/0.1428, allocations: 27.66 kB / 450.8 MB, free: 5.578 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.827e-06/0.1428, allocations: 4 kB / 450.8 MB, free: 5.574 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.143, allocations: 366.7 kB / 451.2 MB, free: 5.207 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.639e-05/0.1431, allocations: 31.97 kB / 451.2 MB, free: 5.176 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.437e-05/0.1432, allocations: 59.36 kB / 451.3 MB, free: 5.105 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.415e-05/0.1433, allocations: 40.42 kB / 451.3 MB, free: 5.066 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1433, allocations: 0 / 451.3 MB, free: 5.066 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002717/0.1436, allocations: 165 kB / 451.5 MB, free: 4.898 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.1436, allocations: 8 kB / 451.5 MB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.1436, allocations: 0 / 451.5 MB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.1436, allocations: 0 / 451.5 MB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.1437, allocations: 27.92 kB / 451.5 MB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.1437, allocations: 8.016 kB / 451.5 MB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.989e-05/0.1438, allocations: 19.92 kB / 451.5 MB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.1439, allocations: 4 kB / 451.6 MB, free: 4.832 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * 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.0002165/0.1441, allocations: 221.6 kB / 451.8 MB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.655e-05/0.1442, allocations: 55.33 kB / 451.8 MB, free: 4.551 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.106e-05/0.1442, allocations: 60 kB / 451.9 MB, free: 4.492 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.1443, allocations: 0 / 451.9 MB, free: 4.492 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1443, allocations: 0 / 451.9 MB, free: 4.492 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.1443, allocations: 3.953 kB / 451.9 MB, free: 4.488 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002947/0.1446, allocations: 345.4 kB / 452.2 MB, free: 4.102 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1446, allocations: 0 / 452.2 MB, free: 4.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.259e-05/0.1446, allocations: 8 kB / 452.2 MB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1446, allocations: 0 / 452.2 MB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.1446, allocations: 4 kB / 452.2 MB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1447, allocations: 0 / 452.2 MB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1447, allocations: 0 / 452.2 MB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003052/0.145, allocations: 213.2 kB / 452.4 MB, free: 3.859 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.1451, allocations: 136.5 kB / 452.6 MB, free: 3.707 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.332e-05/0.1451, allocations: 4 kB / 452.6 MB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.427e-05/0.1452, allocations: 7.984 kB / 452.6 MB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.099e-05/0.1453, allocations: 7.984 kB / 452.6 MB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.1453, allocations: 8.125 kB / 452.6 MB, free: 3.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007609/0.1461, allocations: 0.776 MB / 453.4 MB, free: 2.906 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1461, allocations: 0 / 453.4 MB, free: 2.906 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002518/0.1463, allocations: 51.86 kB / 453.4 MB, free: 2.855 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009972/0.1473, allocations: 413.7 kB / 453.8 MB, free: 2.484 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002317/0.1476, allocations: 83.89 kB / 453.9 MB, free: 2.402 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1476, allocations: 0 / 453.9 MB, free: 2.402 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.627e-05/0.1477, allocations: 35.98 kB / 454 MB, free: 2.367 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003883/0.1481, allocations: 66.88 kB / 454 MB, free: 2.305 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.1493, allocations: 0.9534 MB / 455 MB, free: 1.316 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004123/0.1498, allocations: 0.843 MB / 455.8 MB, free: 460 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.259e-05/0.1498, allocations: 31.38 kB / 455.8 MB, free: 428 kB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1498, allocations: 0 / 455.8 MB, free: 428 kB / 382.1 MB Notification: Performance of Templates: time 0.2259/0.3757, allocations: 4.991 MB / 460.8 MB, free: 45.11 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72CalcHelperMain.o] Error 1