Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008604/0.0008603, allocations: 91.56 kB / 16.33 MB, free: 5.941 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.0008033/0.0008033, allocations: 187.7 kB / 17.22 MB, free: 5.879 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.557/1.557, allocations: 205.4 MB / 223.4 MB, free: 5.527 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.3763/0.3763, allocations: 43.55 MB / 315.2 MB, free: 8.855 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.0005517/0.0005517, allocations: 16 kB / 384.6 MB, free: 8 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1302, allocations: 58.86 MB / 443.4 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.002016/0.1323, allocations: 1.465 MB / 444.9 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001288/0.1336, allocations: 0.824 MB / 445.7 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.958e-05/0.1337, allocations: 3.938 kB / 445.7 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004804/0.1342, allocations: 295.4 kB / 446 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003109/0.1345, allocations: 203.5 kB / 446.2 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003257/0.1348, allocations: 119.7 kB / 446.3 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000245/0.1351, allocations: 207.4 kB / 446.5 MB, free: 9.918 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.592e-05/0.1352, allocations: 21.52 kB / 446.5 MB, free: 9.895 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.1353, allocations: 111.6 kB / 446.6 MB, free: 9.785 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001923/0.1355, allocations: 159.6 kB / 446.8 MB, free: 9.629 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.1355, allocations: 4 kB / 446.8 MB, free: 9.625 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.11e-05/0.1356, allocations: 39.97 kB / 446.8 MB, free: 9.586 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.1358, allocations: 135.6 kB / 447 MB, free: 9.453 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.579e-05/0.1358, allocations: 73.45 kB / 447 MB, free: 9.375 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002746/0.1361, allocations: 279.7 kB / 447.3 MB, free: 9.102 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1361, allocations: 3.938 kB / 447.3 MB, free: 9.098 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.582e-06/0.1361, allocations: 4 kB / 447.3 MB, free: 9.094 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.1362, allocations: 0 / 447.3 MB, free: 9.094 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.0007915/0.137, allocations: 0.6726 MB / 448 MB, free: 8.371 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.137, allocations: 12.02 kB / 448 MB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.081e-05/0.1371, allocations: 47.34 kB / 448.1 MB, free: 8.312 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004937/0.1376, allocations: 423.1 kB / 448.5 MB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.1376, allocations: 3.938 kB / 448.5 MB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.1376, allocations: 8 kB / 448.5 MB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.1378, allocations: 95.23 kB / 448.6 MB, free: 7.742 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.1378, allocations: 0 / 448.6 MB, free: 7.742 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.1379, allocations: 4 kB / 448.6 MB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.1379, allocations: 7.953 kB / 448.6 MB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.138, allocations: 27.97 kB / 448.6 MB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003725/0.1384, allocations: 374.3 kB / 449 MB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/0.1386, allocations: 109.2 kB / 449.1 MB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.029e-05/0.1387, allocations: 37.7 kB / 449.1 MB, free: 7.117 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.1387, allocations: 0 / 449.1 MB, free: 7.117 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002297/0.139, allocations: 117 kB / 449.2 MB, free: 6.984 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.153e-06/0.139, allocations: 0 / 449.2 MB, free: 6.984 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004162/0.1394, allocations: 193 kB / 449.4 MB, free: 6.789 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.1395, allocations: 81.06 kB / 449.5 MB, free: 6.691 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009997/0.1405, allocations: 1.038 MB / 450.5 MB, free: 5.641 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.1405, allocations: 29.7 kB / 450.6 MB, free: 5.605 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.1407, allocations: 232.1 kB / 450.8 MB, free: 5.375 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.243e-05/0.1407, allocations: 31.62 kB / 450.8 MB, free: 5.344 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.031e-05/0.1407, allocations: 8 kB / 450.8 MB, free: 5.336 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.1409, allocations: 362.8 kB / 451.2 MB, free: 4.973 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.713e-05/0.141, allocations: 27.98 kB / 451.2 MB, free: 4.945 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.649e-05/0.1411, allocations: 67.34 kB / 451.3 MB, free: 4.867 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.641e-05/0.1411, allocations: 28 kB / 451.3 MB, free: 4.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1411, allocations: 0 / 451.3 MB, free: 4.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000262/0.1414, allocations: 164.9 kB / 451.5 MB, free: 4.672 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.1414, allocations: 8 kB / 451.5 MB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1415, allocations: 0 / 451.5 MB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.1415, allocations: 4.062 kB / 451.5 MB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.1416, allocations: 31.92 kB / 451.5 MB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.1416, allocations: 3.953 kB / 451.5 MB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.804e-05/0.1417, allocations: 8.562 kB / 451.5 MB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.1417, allocations: 4 kB / 451.5 MB, free: 4.613 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.0002193/0.1419, allocations: 229.6 kB / 451.8 MB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.079e-05/0.142, allocations: 51.34 kB / 451.8 MB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.194e-05/0.1421, allocations: 60 kB / 451.9 MB, free: 4.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1421, allocations: 7.938 kB / 451.9 MB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.1421, allocations: 4 kB / 451.9 MB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.1421, allocations: 7.891 kB / 451.9 MB, free: 4.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000313/0.1425, allocations: 337.5 kB / 452.2 MB, free: 3.871 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1425, allocations: 3.938 kB / 452.2 MB, free: 3.867 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.432e-05/0.1425, allocations: 8 kB / 452.2 MB, free: 3.859 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1425, allocations: 0 / 452.2 MB, free: 3.859 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.1425, allocations: 7.984 kB / 452.2 MB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1425, allocations: 0 / 452.2 MB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1426, allocations: 0 / 452.2 MB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003273/0.1429, allocations: 209.2 kB / 452.4 MB, free: 3.625 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.143, allocations: 136.5 kB / 452.6 MB, free: 3.473 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.367e-05/0.1431, allocations: 8 kB / 452.6 MB, free: 3.465 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.468e-05/0.1431, allocations: 4 kB / 452.6 MB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.87e-05/0.1432, allocations: 7.984 kB / 452.6 MB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/0.1432, allocations: 11.98 kB / 452.6 MB, free: 3.441 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007324/0.1439, allocations: 0.7721 MB / 453.4 MB, free: 2.672 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1439, allocations: 0 / 453.4 MB, free: 2.672 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00026/0.1442, allocations: 51.84 kB / 453.4 MB, free: 2.621 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.000939/0.1452, allocations: 410.3 kB / 453.8 MB, free: 2.254 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002223/0.1454, allocations: 87.78 kB / 453.9 MB, free: 2.168 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1454, allocations: 0 / 453.9 MB, free: 2.168 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.506e-05/0.1455, allocations: 40.09 kB / 454 MB, free: 2.129 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004011/0.1459, allocations: 66.27 kB / 454 MB, free: 2.066 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.1472, allocations: 0.9534 MB / 455 MB, free: 1.078 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005183/0.1477, allocations: 0.8391 MB / 455.8 MB, free: 220 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.676e-05/0.1478, allocations: 35.42 kB / 455.8 MB, free: 184 kB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1478, allocations: 0 / 455.8 MB, free: 184 kB / 382.1 MB Notification: Performance of Templates: time 0.2208/0.3686, allocations: 4.99 MB / 460.8 MB, free: 45.81 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71CalcHelperMain.o] Error 1