Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_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.0009445/0.0009446, allocations: 87.53 kB / 17.63 MB, free: 6.293 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.001181/0.001181, allocations: 180.5 kB / 18.52 MB, free: 5.445 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.462/1.462, allocations: 223.2 MB / 242.5 MB, free: 296 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2263/0.2263, allocations: 44.22 MB / 337.9 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004873/0.0004873, allocations: 16.56 kB / 410.3 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1514, allocations: 61.93 MB / 472.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.002196/0.1537, allocations: 1.468 MB / 473.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.1552, allocations: 0.8894 MB / 474.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.893e-05/0.1553, allocations: 0 / 474.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004934/0.1558, allocations: 303.4 kB / 474.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003231/0.1561, allocations: 191.5 kB / 475 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003543/0.1565, allocations: 139.8 kB / 475.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002681/0.1568, allocations: 207.3 kB / 475.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.114e-05/0.1568, allocations: 17.55 kB / 475.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001555/0.157, allocations: 119.5 kB / 475.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002918/0.1573, allocations: 155.6 kB / 475.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.1573, allocations: 4 kB / 475.7 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.384e-05/0.1574, allocations: 31.98 kB / 475.7 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001437/0.1576, allocations: 139.6 kB / 475.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.849e-05/0.1577, allocations: 77.45 kB / 475.9 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003063/0.158, allocations: 271.8 kB / 476.2 MB, free: 9.707 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.158, allocations: 0 / 476.2 MB, free: 9.707 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.158, allocations: 3.938 kB / 476.2 MB, free: 9.703 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.158, allocations: 0 / 476.2 MB, free: 9.703 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008411/0.1589, allocations: 0.6765 MB / 476.9 MB, free: 8.977 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.1589, allocations: 12.5 kB / 476.9 MB, free: 8.965 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.046e-05/0.159, allocations: 47.44 kB / 476.9 MB, free: 8.918 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005377/0.1595, allocations: 423 kB / 477.3 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.1596, allocations: 4 kB / 477.3 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.1596, allocations: 0 / 477.3 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/0.1598, allocations: 95.3 kB / 477.4 MB, free: 8.355 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.1598, allocations: 3.938 kB / 477.4 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.1598, allocations: 4 kB / 477.4 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/0.1598, allocations: 0 / 477.4 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.16, allocations: 27.98 kB / 477.5 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005048/0.1605, allocations: 378.3 kB / 477.8 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002464/0.1607, allocations: 109.2 kB / 477.9 MB, free: 7.773 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.536e-05/0.1608, allocations: 37.7 kB / 478 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.1608, allocations: 7.984 kB / 478 MB, free: 7.723 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002457/0.1611, allocations: 109 kB / 478.1 MB, free: 7.598 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.1611, allocations: 0 / 478.1 MB, free: 7.598 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004522/0.1616, allocations: 205.3 kB / 478.3 MB, free: 7.391 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.391e-05/0.1616, allocations: 77.11 kB / 478.4 MB, free: 7.297 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.1627, allocations: 1.038 MB / 479.4 MB, free: 6.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.1627, allocations: 25.7 kB / 479.4 MB, free: 6.219 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000211/0.163, allocations: 236.1 kB / 479.7 MB, free: 5.984 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.929e-05/0.163, allocations: 27.66 kB / 479.7 MB, free: 5.957 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-06/0.163, allocations: 0 / 479.7 MB, free: 5.957 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003353/0.1634, allocations: 374.8 kB / 480 MB, free: 5.582 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.664e-05/0.1634, allocations: 23.98 kB / 480.1 MB, free: 5.559 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.32e-05/0.1635, allocations: 58.3 kB / 480.1 MB, free: 5.492 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.1637, allocations: 35.98 kB / 480.2 MB, free: 5.457 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1637, allocations: 3.938 kB / 480.2 MB, free: 5.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002759/0.1639, allocations: 161 kB / 480.3 MB, free: 5.289 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.164, allocations: 11.95 kB / 480.3 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.164, allocations: 0 / 480.3 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.164, allocations: 3.984 kB / 480.3 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.1641, allocations: 20 kB / 480.4 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/0.1641, allocations: 8 kB / 480.4 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.392e-05/0.1642, allocations: 19.89 kB / 480.4 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.1643, allocations: 4 kB / 480.4 MB, free: 5.223 MB / 350.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.0002424/0.1645, allocations: 225.6 kB / 480.6 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.556e-05/0.1646, allocations: 47.44 kB / 480.7 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.086e-05/0.1647, allocations: 63.95 kB / 480.7 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.1647, allocations: 0 / 480.7 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1647, allocations: 0 / 480.7 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.1647, allocations: 8 kB / 480.7 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003335/0.165, allocations: 341.3 kB / 481.1 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.165, allocations: 0 / 481.1 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.128e-05/0.1651, allocations: 8 kB / 481.1 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.1651, allocations: 0 / 481.1 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.1651, allocations: 7.938 kB / 481.1 MB, free: 4.473 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.1651, allocations: 8.078 kB / 481.1 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.1651, allocations: 3.984 kB / 481.1 MB, free: 4.461 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003332/0.1655, allocations: 201.3 kB / 481.3 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/0.1656, allocations: 144.4 kB / 481.4 MB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.797e-05/0.1657, allocations: 3.984 kB / 481.4 MB, free: 4.078 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.732e-05/0.1658, allocations: 8 kB / 481.4 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.694e-05/0.1658, allocations: 11.94 kB / 481.5 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.1658, allocations: 4 kB / 481.5 MB, free: 4.055 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008862/0.1667, allocations: 0.7721 MB / 482.2 MB, free: 3.285 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1667, allocations: 4 kB / 482.2 MB, free: 3.281 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00029/0.167, allocations: 44 kB / 482.3 MB, free: 3.238 MB / 350.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.001045/0.1681, allocations: 415.1 kB / 482.7 MB, free: 2.988 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002396/0.1683, allocations: 83.91 kB / 482.8 MB, free: 2.906 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1683, allocations: 0 / 482.8 MB, free: 2.906 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.812e-05/0.1684, allocations: 39.92 kB / 482.8 MB, free: 2.867 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004055/0.1689, allocations: 72.66 kB / 482.9 MB, free: 2.797 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.1701, allocations: 0.9534 MB / 483.8 MB, free: 1.805 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004435/0.1706, allocations: 0.843 MB / 484.7 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.742e-05/0.1707, allocations: 27.44 kB / 484.7 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1707, allocations: 0 / 484.7 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of Templates: time 0.008468/0.1792, allocations: 4.995 MB / 489.7 MB, free: 11.91 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.makefile make -j1 -f ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71CalcHelperMain.o] Error 1