Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008061/0.0008061, allocations: 100.1 kB / 16.33 MB, free: 5.945 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.0009714/0.0009714, allocations: 190.8 kB / 17.23 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.568/1.568, allocations: 205.4 MB / 223.4 MB, free: 5.578 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.4012/0.4012, allocations: 43.54 MB / 315.2 MB, free: 9.137 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.0005097/0.0005098, allocations: 16 kB / 384.6 MB, free: 8.254 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1346, allocations: 58.87 MB / 443.4 MB, free: 13.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.002006/0.1367, allocations: 1.391 MB / 444.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.1378, allocations: 0.7422 MB / 445.6 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.472e-05/0.1378, allocations: 3.938 kB / 445.6 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000277/0.1381, allocations: 47.86 kB / 445.6 MB, free: 11.08 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001573/0.1383, allocations: 47.83 kB / 445.7 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002226/0.1385, allocations: 71.78 kB / 445.7 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.1387, allocations: 87.69 kB / 445.8 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.502e-05/0.1388, allocations: 8.219 kB / 445.8 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.989e-05/0.1389, allocations: 43.78 kB / 445.9 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.977e-05/0.1389, allocations: 35.84 kB / 445.9 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.139, allocations: 0 / 445.9 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.218e-05/0.139, allocations: 35.98 kB / 445.9 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.005e-05/0.1391, allocations: 19.92 kB / 445.9 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.102e-05/0.1391, allocations: 37.64 kB / 446 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.1393, allocations: 96.08 kB / 446.1 MB, free: 10.6 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1393, allocations: 0 / 446.1 MB, free: 10.6 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1393, allocations: 0 / 446.1 MB, free: 10.6 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.466e-06/0.1393, allocations: 0 / 446.1 MB, free: 10.6 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005083/0.1398, allocations: 418.7 kB / 446.5 MB, free: 10.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.1399, allocations: 8.031 kB / 446.5 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.068e-05/0.1399, allocations: 15.8 kB / 446.5 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.1402, allocations: 206.9 kB / 446.7 MB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.1402, allocations: 4 kB / 446.7 MB, free: 9.875 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.1402, allocations: 0 / 446.7 MB, free: 9.875 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.1404, allocations: 53.67 kB / 446.8 MB, free: 9.816 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.1404, allocations: 7.984 kB / 446.8 MB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.1404, allocations: 0 / 446.8 MB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.1404, allocations: 7.953 kB / 446.8 MB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.109e-05/0.1405, allocations: 23.92 kB / 446.8 MB, free: 9.777 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003615/0.1409, allocations: 288.8 kB / 447.1 MB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.141, allocations: 58.66 kB / 447.1 MB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.76e-05/0.1411, allocations: 20.86 kB / 447.2 MB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.1411, allocations: 8 kB / 447.2 MB, free: 9.348 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000172/0.1413, allocations: 71.28 kB / 447.2 MB, free: 9.266 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.1413, allocations: 0 / 447.2 MB, free: 9.266 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005144/0.1418, allocations: 173.2 kB / 447.4 MB, free: 9.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.1419, allocations: 51.41 kB / 447.5 MB, free: 9.027 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.1421, allocations: 218.7 kB / 447.7 MB, free: 8.801 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.1421, allocations: 33.7 kB / 447.7 MB, free: 8.762 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.25e-05/0.1422, allocations: 108 kB / 447.8 MB, free: 8.652 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.324e-05/0.1422, allocations: 31.62 kB / 447.8 MB, free: 8.621 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-06/0.1422, allocations: 4 kB / 447.9 MB, free: 8.617 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.1424, allocations: 322.8 kB / 448.2 MB, free: 8.293 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.14e-05/0.1424, allocations: 20 kB / 448.2 MB, free: 8.273 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.348e-05/0.1425, allocations: 37.64 kB / 448.2 MB, free: 8.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.888e-05/0.1426, allocations: 27.98 kB / 448.2 MB, free: 8.203 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.1426, allocations: 4 kB / 448.3 MB, free: 8.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001769/0.1428, allocations: 101.5 kB / 448.4 MB, free: 8.094 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.1428, allocations: 4 kB / 448.4 MB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1428, allocations: 0 / 448.4 MB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.1428, allocations: 7.938 kB / 448.4 MB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.713e-05/0.1429, allocations: 15.98 kB / 448.4 MB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1429, allocations: 0 / 448.4 MB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.364e-05/0.143, allocations: 4 kB / 448.4 MB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.143, allocations: 11.97 kB / 448.4 MB, free: 8.051 MB / 382.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 (10): * Single equations (assignments): 10 * 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.0001079/0.1431, allocations: 129.8 kB / 448.5 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.902e-05/0.1431, allocations: 15.77 kB / 448.5 MB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.38e-05/0.1432, allocations: 21.39 kB / 448.6 MB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.1432, allocations: 0 / 448.6 MB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1432, allocations: 0 / 448.6 MB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1432, allocations: 0 / 448.6 MB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003958/0.1436, allocations: 399.3 kB / 448.9 MB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.1436, allocations: 4 kB / 449 MB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.921e-05/0.1436, allocations: 7.984 kB / 449 MB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1437, allocations: 4 kB / 449 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.1437, allocations: 4 kB / 449 MB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1437, allocations: 0 / 449 MB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.1437, allocations: 4 kB / 449 MB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002029/0.1439, allocations: 204.2 kB / 449.2 MB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.995e-05/0.1439, allocations: 96.95 kB / 449.3 MB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.046e-05/0.144, allocations: 384 / 449.3 MB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.519e-05/0.144, allocations: 4 kB / 449.3 MB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.272e-05/0.1441, allocations: 11.98 kB / 449.3 MB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.1441, allocations: 4 kB / 449.3 MB, free: 7.051 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001367/0.1442, allocations: 172.3 kB / 449.5 MB, free: 6.883 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1443, allocations: 0 / 449.5 MB, free: 6.883 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002446/0.1445, allocations: 31.98 kB / 449.5 MB, free: 6.852 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0009858/0.1455, allocations: 465.3 kB / 449.9 MB, free: 6.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001617/0.1457, allocations: 67.89 kB / 450 MB, free: 6.363 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1457, allocations: 0 / 450 MB, free: 6.363 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.528e-05/0.1458, allocations: 23.94 kB / 450 MB, free: 6.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.1461, allocations: 32.16 kB / 450.1 MB, free: 6.309 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004499/0.1465, allocations: 308 kB / 450.4 MB, free: 5.973 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.1468, allocations: 0.7082 MB / 451.1 MB, free: 5.238 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.161e-05/0.1469, allocations: 15.44 kB / 451.1 MB, free: 5.227 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1469, allocations: 0 / 451.1 MB, free: 5.227 MB / 382.1 MB Notification: Performance of Templates: time 0.003761/0.1506, allocations: 1.946 MB / 453 MB, free: 3.281 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51CalcHelperMain.o] Error 1