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.001917/0.001917, allocations: 104.4 kB / 16.52 MB, free: 6.266 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.002078/0.002078, allocations: 195.5 kB / 17.44 MB, free: 5.887 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.91/1.91, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.2725/0.2725, allocations: 43.51 MB / 314.1 MB, free: 0.7617 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.00157/0.00157, allocations: 66.05 kB / 382.7 MB, free: 56.88 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1577, allocations: 57.8 MB / 440.5 MB, free: 7.484 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003273/0.161, allocations: 1.844 MB / 442.3 MB, free: 5.621 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.1624, allocations: 0.8668 MB / 443.2 MB, free: 4.746 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.475e-05/0.1625, allocations: 0 / 443.2 MB, free: 4.746 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005624/0.1631, allocations: 299.4 kB / 443.5 MB, free: 4.453 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003268/0.1634, allocations: 199.5 kB / 443.7 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000308/0.1637, allocations: 139.3 kB / 443.8 MB, free: 4.125 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002798/0.164, allocations: 227.4 kB / 444 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.694e-05/0.1641, allocations: 9.562 kB / 444 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.1642, allocations: 115.5 kB / 444.2 MB, free: 3.781 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000198/0.1644, allocations: 195.5 kB / 444.3 MB, free: 3.59 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.701e-05/0.1645, allocations: 4 kB / 444.4 MB, free: 3.586 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.597e-05/0.1646, allocations: 36 kB / 444.4 MB, free: 3.551 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.1647, allocations: 147.5 kB / 444.5 MB, free: 3.406 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000121/0.1648, allocations: 146.8 kB / 444.7 MB, free: 3.262 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002774/0.1651, allocations: 283.8 kB / 445 MB, free: 2.984 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.1651, allocations: 0 / 445 MB, free: 2.984 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1651, allocations: 0 / 445 MB, free: 2.984 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.1651, allocations: 0 / 445 MB, free: 2.984 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008593/0.166, allocations: 0.7229 MB / 445.7 MB, free: 2.211 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.1661, allocations: 12.03 kB / 445.7 MB, free: 2.199 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.281e-05/0.1662, allocations: 44.38 kB / 445.7 MB, free: 2.156 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005233/0.1667, allocations: 447.8 kB / 446.2 MB, free: 1.68 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.1667, allocations: 8.359 kB / 446.2 MB, free: 1.672 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/0.1667, allocations: 16.12 kB / 446.2 MB, free: 1.656 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.1669, allocations: 79.38 kB / 446.3 MB, free: 1.566 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.167, allocations: 0 / 446.3 MB, free: 1.566 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.167, allocations: 3.984 kB / 446.3 MB, free: 1.562 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.167, allocations: 0 / 446.3 MB, free: 1.562 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.922e-05/0.1671, allocations: 31.92 kB / 446.3 MB, free: 1.531 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003108/0.1674, allocations: 374.4 kB / 446.7 MB, free: 1.113 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000238/0.1677, allocations: 101.2 kB / 446.8 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.363e-05/0.1678, allocations: 49.56 kB / 446.8 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.1678, allocations: 4 kB / 446.8 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002461/0.168, allocations: 105.1 kB / 446.9 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.343e-06/0.168, allocations: 0 / 446.9 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004291/0.1685, allocations: 196.9 kB / 447.1 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/0.1685, allocations: 85.09 kB / 447.2 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.1696, allocations: 1.03 MB / 448.2 MB, free: 15.47 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.1696, allocations: 29.7 kB / 448.3 MB, free: 15.44 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002067/0.1698, allocations: 232.1 kB / 448.5 MB, free: 15.21 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.775e-05/0.1699, allocations: 39.56 kB / 448.5 MB, free: 15.17 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.101e-05/0.1699, allocations: 29.59 kB / 448.6 MB, free: 15.13 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002073/0.1701, allocations: 374.8 kB / 448.9 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.035e-05/0.1702, allocations: 27.98 kB / 448.9 MB, free: 14.73 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002012/0.1705, allocations: 63.42 kB / 449 MB, free: 14.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.1706, allocations: 83.34 kB / 449.1 MB, free: 14.56 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1707, allocations: 0 / 449.1 MB, free: 14.56 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003208/0.171, allocations: 181.5 kB / 449.3 MB, free: 14.38 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.171, allocations: 4 kB / 449.3 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/0.171, allocations: 0 / 449.3 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.171, allocations: 4 kB / 449.3 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.1712, allocations: 23.92 kB / 449.3 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.1712, allocations: 4 kB / 449.3 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.218e-05/0.1713, allocations: 15.83 kB / 449.3 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.1713, allocations: 8 kB / 449.3 MB, free: 14.32 MB / 334.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 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002336/0.1715, allocations: 233.5 kB / 449.6 MB, free: 14.08 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.006e-05/0.1716, allocations: 47.42 kB / 449.6 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001/0.1717, allocations: 64 kB / 449.7 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.1717, allocations: 0 / 449.7 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1717, allocations: 0 / 449.7 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.1717, allocations: 4 kB / 449.7 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003309/0.1721, allocations: 333.3 kB / 450 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.1721, allocations: 7.984 kB / 450 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.782e-05/0.1721, allocations: 15.92 kB / 450 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.1721, allocations: 0 / 450 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.1722, allocations: 4 kB / 450 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1722, allocations: 4 kB / 450 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1722, allocations: 0 / 450 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003361/0.1725, allocations: 201.2 kB / 450.2 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.1727, allocations: 140.4 kB / 450.4 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.551e-05/0.1727, allocations: 4 kB / 450.4 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.663e-05/0.1728, allocations: 4 kB / 450.4 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.823e-05/0.1729, allocations: 11.98 kB / 450.4 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.1729, allocations: 4 kB / 450.4 MB, free: 13.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008463/0.1737, allocations: 0.776 MB / 451.2 MB, free: 12.39 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.041e-05/0.1737, allocations: 0 / 451.2 MB, free: 12.39 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002622/0.174, allocations: 43.94 kB / 451.2 MB, free: 12.34 MB / 334.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 (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.001042/0.1751, allocations: 409.7 kB / 451.6 MB, free: 12.02 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002456/0.1753, allocations: 87.89 kB / 451.7 MB, free: 11.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.1753, allocations: 0 / 451.7 MB, free: 11.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.1755, allocations: 39.92 kB / 451.7 MB, free: 11.89 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004208/0.1759, allocations: 70.2 kB / 451.8 MB, free: 11.82 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.1772, allocations: 0.9992 MB / 452.8 MB, free: 10.79 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00048/0.1777, allocations: 0.839 MB / 453.6 MB, free: 9.926 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.993e-05/0.1778, allocations: 35.42 kB / 453.7 MB, free: 9.891 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1778, allocations: 0 / 453.7 MB, free: 9.891 MB / 334.1 MB Notification: Performance of Templates: time 0.008641/0.1865, allocations: 5.053 MB / 458.7 MB, free: 4.836 MB / 334.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++ -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.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