Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009208/0.0009211, allocations: 88.42 kB / 17.63 MB, free: 5.715 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.001183/0.001183, allocations: 186.4 kB / 18.52 MB, free: 5.164 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.559/1.559, allocations: 223.2 MB / 242.5 MB, free: 14.59 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.2427/0.2427, allocations: 44.22 MB / 337.9 MB, free: 2.582 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003539/0.0003541, allocations: 8 kB / 410.3 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1517, allocations: 61.92 MB / 472.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.00246/0.1542, allocations: 1.359 MB / 473.6 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00163/0.1558, allocations: 0.7726 MB / 474.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.396e-05/0.156, allocations: 0 / 474.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004475/0.1564, allocations: 67.78 kB / 474.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002696/0.1567, allocations: 51.77 kB / 474.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003116/0.157, allocations: 83.83 kB / 474.5 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002365/0.1573, allocations: 95.67 kB / 474.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.92e-05/0.1574, allocations: 7.984 kB / 474.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.1575, allocations: 39.84 kB / 474.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.1576, allocations: 35.83 kB / 474.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.1577, allocations: 0 / 474.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.1578, allocations: 31.88 kB / 474.7 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.489e-05/0.1579, allocations: 15.92 kB / 474.7 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.922e-05/0.1579, allocations: 33.7 kB / 474.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.1582, allocations: 80.09 kB / 474.9 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.1582, allocations: 4 kB / 474.9 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.717e-06/0.1582, allocations: 0 / 474.9 MB, free: 11.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.1582, allocations: 0 / 474.9 MB, free: 11.03 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.0006735/0.1589, allocations: 390.9 kB / 475.2 MB, free: 10.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.1589, allocations: 8.031 kB / 475.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.364e-05/0.159, allocations: 11.84 kB / 475.3 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/0.1592, allocations: 194.9 kB / 475.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.1593, allocations: 0 / 475.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.1593, allocations: 8 kB / 475.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.1595, allocations: 53.62 kB / 475.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.1595, allocations: 0 / 475.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.1595, allocations: 0 / 475.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.1595, allocations: 0 / 475.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.278e-05/0.1596, allocations: 19.92 kB / 475.5 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000239/0.1598, allocations: 193.5 kB / 475.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.16, allocations: 50.62 kB / 475.8 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.252e-05/0.1601, allocations: 20.84 kB / 475.8 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.1601, allocations: 0 / 475.8 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002099/0.1603, allocations: 67.34 kB / 475.9 MB, free: 9.863 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.1603, allocations: 3.938 kB / 475.9 MB, free: 9.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003504/0.1607, allocations: 89.58 kB / 476 MB, free: 9.766 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.243e-05/0.1608, allocations: 59.41 kB / 476 MB, free: 9.695 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002531/0.161, allocations: 186.1 kB / 476.2 MB, free: 9.504 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.161, allocations: 29.7 kB / 476.2 MB, free: 9.469 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.464e-05/0.1611, allocations: 100.1 kB / 476.3 MB, free: 9.367 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.56e-05/0.1612, allocations: 11.81 kB / 476.3 MB, free: 9.355 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.662e-06/0.1612, allocations: 4 kB / 476.3 MB, free: 9.352 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002199/0.1615, allocations: 322.8 kB / 476.6 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.995e-05/0.1615, allocations: 8 kB / 476.7 MB, free: 9.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.974e-05/0.1616, allocations: 37.7 kB / 476.7 MB, free: 8.977 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.007e-05/0.1617, allocations: 19.94 kB / 476.7 MB, free: 8.957 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.1617, allocations: 3.984 kB / 476.7 MB, free: 8.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001736/0.1618, allocations: 73.59 kB / 476.8 MB, free: 8.875 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.1619, allocations: 14.45 kB / 476.8 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.1619, allocations: 320 / 476.8 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.1619, allocations: 0 / 476.8 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.783e-05/0.162, allocations: 11.94 kB / 476.8 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.46e-05/0.162, allocations: 12.03 kB / 476.8 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.713e-05/0.1621, allocations: 7.922 kB / 476.8 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.1621, allocations: 7.938 kB / 476.8 MB, free: 8.824 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 0.0001423/0.1623, allocations: 118.4 kB / 477 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.993e-05/0.1623, allocations: 11.91 kB / 477 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.381e-05/0.1624, allocations: 16.25 kB / 477 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.1624, allocations: 4 kB / 477 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1624, allocations: 0 / 477 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.1624, allocations: 3.984 kB / 477 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001725/0.1626, allocations: 185.5 kB / 477.2 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1626, allocations: 0 / 477.2 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.976e-05/0.1626, allocations: 7.984 kB / 477.2 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1626, allocations: 0 / 477.2 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.1627, allocations: 4 kB / 477.2 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.1627, allocations: 3.953 kB / 477.2 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1627, allocations: 0 / 477.2 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001889/0.1629, allocations: 109 kB / 477.3 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.122e-05/0.163, allocations: 92.95 kB / 477.4 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.163, allocations: 4 kB / 477.4 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.804e-05/0.163, allocations: 7.984 kB / 477.4 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.346e-05/0.1631, allocations: 3.953 kB / 477.4 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.1631, allocations: 4 kB / 477.4 MB, free: 8.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001131/0.1632, allocations: 139.2 kB / 477.5 MB, free: 8.023 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1632, allocations: 0 / 477.5 MB, free: 8.023 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002278/0.1635, allocations: 20 kB / 477.6 MB, free: 8.004 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.001008/0.1645, allocations: 413.9 kB / 478 MB, free: 7.746 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001678/0.1647, allocations: 43.92 kB / 478 MB, free: 7.703 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1647, allocations: 0 / 478 MB, free: 7.703 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.246e-05/0.1647, allocations: 19.98 kB / 478 MB, free: 7.684 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/0.165, allocations: 19.98 kB / 478 MB, free: 7.664 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004472/0.1655, allocations: 238.8 kB / 478.3 MB, free: 7.398 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.1658, allocations: 0.7005 MB / 479 MB, free: 6.672 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.795e-05/0.1658, allocations: 15.42 kB / 479 MB, free: 6.656 MB / 350.1 MB Notification: Performance of SimCode: time 1.914e-06/0.1658, allocations: 0 / 479 MB, free: 6.656 MB / 350.1 MB Notification: Performance of Templates: time 0.003815/0.1697, allocations: 1.666 MB / 480.7 MB, free: 5 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37CalcHelperMain.o] Error 1