Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 96.34 kB / 16.67 MB, free: 6.227 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.001396/0.001397, allocations: 180.4 kB / 17.57 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 2.047/2.047, allocations: 205.4 MB / 223.8 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.2625/0.2625, allocations: 43.6 MB / 315.6 MB, free: 420 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.0006144/0.0006144, allocations: 17.38 kB / 385.2 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1407, allocations: 58.86 MB / 444.1 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.001712/0.1425, allocations: 1.372 MB / 445.5 MB, free: 3.781 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001012/0.1435, allocations: 0.7581 MB / 446.2 MB, free: 3.016 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.046e-05/0.1436, allocations: 0 / 446.2 MB, free: 3.016 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002972/0.1439, allocations: 63.84 kB / 446.3 MB, free: 2.953 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001565/0.1441, allocations: 55.81 kB / 446.3 MB, free: 2.898 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001872/0.1443, allocations: 71.8 kB / 446.4 MB, free: 2.828 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001559/0.1444, allocations: 103.6 kB / 446.5 MB, free: 2.727 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.596e-05/0.1445, allocations: 7.938 kB / 446.5 MB, free: 2.719 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.803e-05/0.1446, allocations: 43.78 kB / 446.6 MB, free: 2.676 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.804e-05/0.1447, allocations: 47.77 kB / 446.6 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.1447, allocations: 4 kB / 446.6 MB, free: 2.625 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.227e-05/0.1448, allocations: 31.98 kB / 446.7 MB, free: 2.594 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.242e-05/0.1448, allocations: 19.91 kB / 446.7 MB, free: 2.574 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.635e-05/0.1449, allocations: 53.5 kB / 446.7 MB, free: 2.516 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001277/0.145, allocations: 63.91 kB / 446.8 MB, free: 2.453 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.145, allocations: 0 / 446.8 MB, free: 2.453 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.217e-06/0.1451, allocations: 3.984 kB / 446.8 MB, free: 2.449 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.359e-06/0.1451, allocations: 3.938 kB / 446.8 MB, free: 2.445 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004718/0.1455, allocations: 395 kB / 447.2 MB, free: 2.012 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.1456, allocations: 12.03 kB / 447.2 MB, free: 2 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.534e-05/0.1456, allocations: 8.844 kB / 447.2 MB, free: 1.992 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.1458, allocations: 205 kB / 447.4 MB, free: 1.754 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.1458, allocations: 4.375 kB / 447.4 MB, free: 1.75 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.1458, allocations: 8.109 kB / 447.4 MB, free: 1.742 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.146, allocations: 45.69 kB / 447.5 MB, free: 1.691 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.046e-06/0.146, allocations: 0 / 447.5 MB, free: 1.691 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.146, allocations: 0 / 447.5 MB, free: 1.691 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.146, allocations: 0 / 447.5 MB, free: 1.691 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.621e-05/0.1461, allocations: 23.92 kB / 447.5 MB, free: 1.668 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001417/0.1462, allocations: 177.7 kB / 447.7 MB, free: 1.445 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.1464, allocations: 50.61 kB / 447.7 MB, free: 1.387 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.508e-05/0.1464, allocations: 20.8 kB / 447.7 MB, free: 1.363 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.1465, allocations: 4 kB / 447.7 MB, free: 1.359 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001796/0.1467, allocations: 75.31 kB / 447.8 MB, free: 1.273 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.1467, allocations: 0 / 447.8 MB, free: 1.273 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002514/0.1469, allocations: 89.58 kB / 447.9 MB, free: 1.18 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.147, allocations: 55.41 kB / 447.9 MB, free: 1.113 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.1471, allocations: 190 kB / 448.1 MB, free: 0.918 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.1471, allocations: 29.69 kB / 448.2 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.499e-05/0.1472, allocations: 96.14 kB / 448.2 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.16e-05/0.1472, allocations: 15.91 kB / 448.3 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.141e-05/0.1472, allocations: 13.7 kB / 448.3 MB, free: 0.75 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.598e-05/0.1473, allocations: 322.8 kB / 448.6 MB, free: 436 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.119e-05/0.1473, allocations: 12 kB / 448.6 MB, free: 424 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.603e-05/0.1474, allocations: 41.62 kB / 448.6 MB, free: 376 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.707e-05/0.1475, allocations: 41.7 kB / 448.7 MB, free: 328 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1475, allocations: 4 kB / 448.7 MB, free: 324 kB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001215/0.1476, allocations: 85.47 kB / 448.8 MB, free: 232 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.1476, allocations: 10.12 kB / 448.8 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.1477, allocations: 0 / 448.8 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.1477, allocations: 3.938 kB / 448.8 MB, free: 220 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.936e-05/0.1477, allocations: 8 kB / 448.8 MB, free: 212 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.1478, allocations: 7.984 kB / 448.8 MB, free: 204 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.169e-05/0.1478, allocations: 7.844 kB / 448.8 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.1478, allocations: 4.312 kB / 448.8 MB, free: 192 kB / 318.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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.727e-05/0.1479, allocations: 129.8 kB / 448.9 MB, free: 52 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.444e-05/0.1479, allocations: 11.89 kB / 449 MB, free: 40 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.261e-05/0.1479, allocations: 12.31 kB / 449 MB, free: 28 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.148, allocations: 4 kB / 449 MB, free: 24 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.148, allocations: 4 kB / 449 MB, free: 20 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.148, allocations: 3.938 kB / 449 MB, free: 16 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/0.1482, allocations: 185.6 kB / 449.2 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1482, allocations: 4 kB / 449.2 MB, free: 15.78 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.883e-05/0.1482, allocations: 3.984 kB / 449.2 MB, free: 15.78 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.1482, allocations: 4 kB / 449.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.1482, allocations: 4 kB / 449.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1482, allocations: 0 / 449.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1482, allocations: 0 / 449.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001762/0.1484, allocations: 112.9 kB / 449.3 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.221e-05/0.1485, allocations: 88.92 kB / 449.4 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.1485, allocations: 0 / 449.4 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.081e-05/0.1486, allocations: 11.98 kB / 449.4 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.706e-05/0.1486, allocations: 4 kB / 449.4 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.1486, allocations: 4 kB / 449.4 MB, free: 15.51 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001113/0.1487, allocations: 139.2 kB / 449.5 MB, free: 15.38 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.675e-06/0.1487, allocations: 0 / 449.5 MB, free: 15.38 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002052/0.1489, allocations: 23.94 kB / 449.6 MB, free: 15.35 MB / 334.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 (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.001019/0.15, allocations: 409.2 kB / 450 MB, free: 15.03 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001472/0.1501, allocations: 35.98 kB / 450 MB, free: 14.99 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1501, allocations: 4.062 kB / 450 MB, free: 14.99 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.007e-05/0.1502, allocations: 27.92 kB / 450 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.1505, allocations: 23.92 kB / 450 MB, free: 14.94 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000405/0.1509, allocations: 238.9 kB / 450.3 MB, free: 14.67 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004502/0.1513, allocations: 0.7004 MB / 451 MB, free: 13.95 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.146e-05/0.1514, allocations: 19.42 kB / 451 MB, free: 13.93 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1514, allocations: 0 / 451 MB, free: 13.93 MB / 334.1 MB Notification: Performance of Templates: time 0.003581/0.155, allocations: 1.653 MB / 452.6 MB, free: 12.28 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.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.Tables.CombiTimeTable.Test38CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38CalcHelperMain.o] Error 1