Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.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.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009602/0.0009601, allocations: 88.41 kB / 17.63 MB, free: 6.133 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.00124/0.00124, allocations: 183.8 kB / 18.52 MB, free: 5.297 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.499/1.499, allocations: 223.2 MB / 242.5 MB, free: 328 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.2341/0.2341, allocations: 44.23 MB / 337.9 MB, free: 2.875 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002955/0.0002955, allocations: 8 kB / 410.3 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1384, allocations: 61.92 MB / 472.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.002129/0.1406, allocations: 1.282 MB / 473.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007527/0.1414, allocations: 371.6 kB / 473.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.071e-05/0.1415, allocations: 3.938 kB / 473.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003017/0.1418, allocations: 63.83 kB / 473.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002067/0.142, allocations: 51.88 kB / 473.9 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003493/0.1424, allocations: 75.84 kB / 474 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001679/0.1426, allocations: 63.83 kB / 474.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.1427, allocations: 12.17 kB / 474.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.826e-05/0.1428, allocations: 27.91 kB / 474.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.1429, allocations: 35.84 kB / 474.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.1429, allocations: 0 / 474.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001234/0.143, allocations: 43.97 kB / 474.2 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.881e-05/0.1431, allocations: 15.92 kB / 474.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.766e-05/0.1431, allocations: 33.64 kB / 474.2 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.1433, allocations: 75.84 kB / 474.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.1433, allocations: 0 / 474.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.1433, allocations: 0 / 474.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.401e-06/0.1433, allocations: 0 / 474.3 MB, free: 11.59 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005363/0.1439, allocations: 391.2 kB / 474.7 MB, free: 11.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.1439, allocations: 8.562 kB / 474.7 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.345e-05/0.144, allocations: 11.84 kB / 474.7 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.1442, allocations: 194.8 kB / 474.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.1442, allocations: 4 kB / 474.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.1443, allocations: 4 kB / 474.9 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.1445, allocations: 57.62 kB / 475 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.1445, allocations: 0 / 475 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.1445, allocations: 4 kB / 475 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1445, allocations: 0 / 475 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.882e-05/0.1446, allocations: 23.98 kB / 475 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004339/0.1451, allocations: 304.7 kB / 475.3 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.1452, allocations: 42.56 kB / 475.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.388e-05/0.1452, allocations: 20.94 kB / 475.4 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.1453, allocations: 4 kB / 475.4 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.1453, allocations: 34.56 kB / 475.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1453, allocations: 0 / 475.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009197/0.1462, allocations: 257.2 kB / 475.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.1463, allocations: 51.41 kB / 475.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/0.1465, allocations: 196.5 kB / 475.9 MB, free: 9.824 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.1466, allocations: 29.7 kB / 475.9 MB, free: 9.789 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.364e-05/0.1466, allocations: 100.1 kB / 476 MB, free: 9.688 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.144e-05/0.1467, allocations: 27.55 kB / 476 MB, free: 9.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-06/0.1467, allocations: 0 / 476 MB, free: 9.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.1468, allocations: 326.8 kB / 476.4 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.211e-05/0.1469, allocations: 27.98 kB / 476.4 MB, free: 9.305 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.639e-05/0.147, allocations: 36.05 kB / 476.4 MB, free: 9.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.033e-05/0.1471, allocations: 36.05 kB / 476.5 MB, free: 9.234 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1471, allocations: 0 / 476.5 MB, free: 9.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002192/0.1473, allocations: 105.6 kB / 476.6 MB, free: 9.125 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.1474, allocations: 4 kB / 476.6 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.1474, allocations: 0 / 476.6 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.1474, allocations: 0 / 476.6 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.1475, allocations: 23.92 kB / 476.6 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.1475, allocations: 0 / 476.6 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.66e-05/0.1476, allocations: 12 kB / 476.6 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.1476, allocations: 0 / 476.6 MB, free: 9.086 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001196/0.1477, allocations: 133.8 kB / 476.7 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.608e-05/0.1478, allocations: 7.906 kB / 476.7 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002909/0.1481, allocations: 130.2 kB / 476.9 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.1481, allocations: 4 kB / 476.9 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1481, allocations: 4 kB / 476.9 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.1481, allocations: 0 / 476.9 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005369/0.1486, allocations: 403.3 kB / 477.3 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.1487, allocations: 3.938 kB / 477.3 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.001e-05/0.1487, allocations: 24.02 kB / 477.3 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.1487, allocations: 0 / 477.3 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.1488, allocations: 4 kB / 477.3 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.1488, allocations: 0 / 477.3 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1488, allocations: 0 / 477.3 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/0.149, allocations: 224.2 kB / 477.5 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.1e-05/0.1491, allocations: 92.91 kB / 477.6 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.1491, allocations: 3.938 kB / 477.6 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.689e-05/0.1492, allocations: 4 kB / 477.6 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.201e-05/0.1493, allocations: 11.98 kB / 477.6 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.1493, allocations: 7.953 kB / 477.6 MB, free: 7.938 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001413/0.1494, allocations: 150.9 kB / 477.8 MB, free: 7.793 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1494, allocations: 0 / 477.8 MB, free: 7.793 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002747/0.1497, allocations: 24 kB / 477.8 MB, free: 7.77 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.00116/0.1509, allocations: 455.7 kB / 478.3 MB, free: 7.508 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002171/0.1511, allocations: 71.89 kB / 478.3 MB, free: 7.438 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1511, allocations: 0 / 478.3 MB, free: 7.438 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.22e-05/0.1512, allocations: 48.03 kB / 478.4 MB, free: 7.391 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.1516, allocations: 15.92 kB / 478.4 MB, free: 7.375 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005987/0.1522, allocations: 287.5 kB / 478.7 MB, free: 7.055 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004502/0.1526, allocations: 0.7004 MB / 479.4 MB, free: 6.328 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.412e-05/0.1527, allocations: 15.44 kB / 479.4 MB, free: 6.312 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1527, allocations: 0 / 479.4 MB, free: 6.312 MB / 350.1 MB Notification: Performance of Templates: time 0.004153/0.1569, allocations: 1.663 MB / 481 MB, free: 4.652 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.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.CombiTable1Ds.Test3CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3CalcHelperMain.o] Error 1