Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008354/0.0008354, allocations: 92.31 kB / 16.33 MB, free: 6.398 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.0008319/0.000832, allocations: 187.2 kB / 17.22 MB, free: 6.289 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.524/1.524, allocations: 205.4 MB / 223.4 MB, free: 13.14 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.2053/0.2053, allocations: 43.55 MB / 315.2 MB, free: 0.5469 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.0005713/0.0005713, allocations: 15.06 kB / 384.6 MB, free: 57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1273, allocations: 58.86 MB / 443.4 MB, free: 5.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.001776/0.1291, allocations: 1.392 MB / 444.8 MB, free: 4.355 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009204/0.1301, allocations: 0.7467 MB / 445.6 MB, free: 3.602 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.657e-05/0.1302, allocations: 0 / 445.6 MB, free: 3.602 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002704/0.1304, allocations: 39.88 kB / 445.6 MB, free: 3.562 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001671/0.1306, allocations: 59.75 kB / 445.6 MB, free: 3.504 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000209/0.1308, allocations: 62.55 kB / 445.7 MB, free: 3.445 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001319/0.131, allocations: 91.67 kB / 445.8 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.702e-05/0.1311, allocations: 8.172 kB / 445.8 MB, free: 3.348 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.247e-05/0.1311, allocations: 43.78 kB / 445.9 MB, free: 3.305 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.46e-05/0.1312, allocations: 35.84 kB / 445.9 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.1312, allocations: 4 kB / 445.9 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.431e-05/0.1313, allocations: 35.98 kB / 445.9 MB, free: 3.23 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.51e-05/0.1314, allocations: 23.86 kB / 445.9 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.869e-05/0.1314, allocations: 45.64 kB / 446 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001303/0.1316, allocations: 95.8 kB / 446.1 MB, free: 3.062 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1316, allocations: 0 / 446.1 MB, free: 3.062 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1316, allocations: 0 / 446.1 MB, free: 3.062 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.1316, allocations: 0 / 446.1 MB, free: 3.062 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004225/0.132, allocations: 430.7 kB / 446.5 MB, free: 2.594 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.1321, allocations: 8.031 kB / 446.5 MB, free: 2.586 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.914e-05/0.1321, allocations: 19.77 kB / 446.5 MB, free: 2.566 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.1323, allocations: 210.5 kB / 446.7 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.1323, allocations: 0 / 446.7 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.1323, allocations: 4 kB / 446.7 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.1325, allocations: 57.61 kB / 446.8 MB, free: 2.254 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.1325, allocations: 11.97 kB / 446.8 MB, free: 2.242 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.1325, allocations: 0 / 446.8 MB, free: 2.242 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.1325, allocations: 0 / 446.8 MB, free: 2.242 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.22e-05/0.1326, allocations: 31.94 kB / 446.8 MB, free: 2.211 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002782/0.1329, allocations: 288.9 kB / 447.1 MB, free: 1.879 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.133, allocations: 58.61 kB / 447.2 MB, free: 1.812 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.916e-05/0.1331, allocations: 16.86 kB / 447.2 MB, free: 1.793 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.1331, allocations: 8 kB / 447.2 MB, free: 1.785 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001588/0.1332, allocations: 67.38 kB / 447.3 MB, free: 1.707 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.1333, allocations: 0 / 447.3 MB, free: 1.707 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004334/0.1337, allocations: 181.1 kB / 447.4 MB, free: 1.523 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.1337, allocations: 55.41 kB / 447.5 MB, free: 1.457 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.1339, allocations: 262.5 kB / 447.8 MB, free: 1.184 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.699e-06/0.1339, allocations: 25.7 kB / 447.8 MB, free: 1.152 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.09e-05/0.134, allocations: 120 kB / 447.9 MB, free: 1.031 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.247e-05/0.134, allocations: 23.66 kB / 447.9 MB, free: 1.008 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-06/0.134, allocations: 0 / 447.9 MB, free: 1.008 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.014e-05/0.1341, allocations: 330.8 kB / 448.2 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.629e-05/0.1341, allocations: 23.98 kB / 448.3 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.812e-05/0.1342, allocations: 37.64 kB / 448.3 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.769e-05/0.1342, allocations: 24.06 kB / 448.3 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.1342, allocations: 4 kB / 448.3 MB, free: 0.582 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001384/0.1344, allocations: 105.5 kB / 448.4 MB, free: 484 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.1344, allocations: 4 kB / 448.4 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1344, allocations: 3.953 kB / 448.4 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.1344, allocations: 4.188 kB / 448.5 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.89e-05/0.1345, allocations: 15.98 kB / 448.5 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1345, allocations: 3.938 kB / 448.5 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.094e-05/0.1346, allocations: 4 kB / 448.5 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.1346, allocations: 4 kB / 448.5 MB, free: 444 kB / 318.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 7.666e-05/0.1347, allocations: 140 kB / 448.6 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.609e-05/0.1347, allocations: 15.81 kB / 448.6 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.651e-05/0.1347, allocations: 21.39 kB / 448.7 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1347, allocations: 3.953 kB / 448.7 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1347, allocations: 0 / 448.7 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1348, allocations: 0 / 448.7 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003773/0.1351, allocations: 411.3 kB / 449.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.1352, allocations: 4 kB / 449.1 MB, free: 15.78 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.211e-05/0.1352, allocations: 11.89 kB / 449.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.1352, allocations: 4 kB / 449.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-06/0.1352, allocations: 384 / 449.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1352, allocations: 0 / 449.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.1352, allocations: 8 kB / 449.1 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002118/0.1354, allocations: 208.1 kB / 449.3 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.227e-05/0.1355, allocations: 89 kB / 449.4 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/0.1355, allocations: 7.953 kB / 449.4 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.779e-05/0.1356, allocations: 4 kB / 449.4 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.904e-05/0.1356, allocations: 7.984 kB / 449.4 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.1357, allocations: 4 kB / 449.4 MB, free: 15.41 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001603/0.1358, allocations: 204.1 kB / 449.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1358, allocations: 0 / 449.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002396/0.1361, allocations: 20 kB / 449.6 MB, free: 15.19 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: 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.0009963/0.1371, allocations: 462.8 kB / 450.1 MB, free: 14.81 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001721/0.1373, allocations: 67.84 kB / 450.1 MB, free: 14.75 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1373, allocations: 4.062 kB / 450.1 MB, free: 14.74 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.351e-05/0.1374, allocations: 28.12 kB / 450.2 MB, free: 14.71 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.1377, allocations: 23.98 kB / 450.2 MB, free: 14.69 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005061/0.1382, allocations: 336.5 kB / 450.5 MB, free: 14.33 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.1385, allocations: 0.7198 MB / 451.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.731e-05/0.1385, allocations: 23.42 kB / 451.3 MB, free: 13.56 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1386, allocations: 0 / 451.3 MB, free: 13.56 MB / 334.1 MB Notification: Performance of Templates: time 0.003858/0.1424, allocations: 2.027 MB / 453.3 MB, free: 11.54 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1CalcHelperMain.o] Error 1