Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.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.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008614/0.0008613, allocations: 93.77 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.0009144/0.0009144, allocations: 190.9 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.537/1.537, allocations: 205.4 MB / 223.4 MB, free: 5.535 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.4126/0.4126, allocations: 43.55 MB / 315.2 MB, free: 8.863 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.0004925/0.0004925, allocations: 14.97 kB / 384.6 MB, free: 8.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1155, allocations: 58.87 MB / 443.4 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.001891/0.1174, allocations: 1.26 MB / 444.7 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006461/0.1181, allocations: 283.9 kB / 445 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.667e-05/0.1182, allocations: 0 / 445 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002921/0.1185, allocations: 87.81 kB / 445 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001555/0.1186, allocations: 55.86 kB / 445.1 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002538/0.1189, allocations: 67.86 kB / 445.2 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.119, allocations: 63.81 kB / 445.2 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.1192, allocations: 11.97 kB / 445.2 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.438e-05/0.1192, allocations: 31.92 kB / 445.3 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.516e-05/0.1193, allocations: 43.81 kB / 445.3 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.1194, allocations: 0 / 445.3 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.624e-05/0.1194, allocations: 20 kB / 445.3 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.712e-05/0.1195, allocations: 23.92 kB / 445.4 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.154e-05/0.1195, allocations: 37.64 kB / 445.4 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000123/0.1197, allocations: 68.11 kB / 445.5 MB, free: 10.99 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.1197, allocations: 7.938 kB / 445.5 MB, free: 10.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1197, allocations: 4 kB / 445.5 MB, free: 10.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.1197, allocations: 0 / 445.5 MB, free: 10.98 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004473/0.1202, allocations: 390.9 kB / 445.8 MB, free: 10.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.1202, allocations: 16 kB / 445.9 MB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.494e-05/0.1202, allocations: 11.86 kB / 445.9 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.1205, allocations: 191.5 kB / 446.1 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.1205, allocations: 0 / 446.1 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.1205, allocations: 12 kB / 446.1 MB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.1206, allocations: 49.67 kB / 446.1 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.1207, allocations: 3.906 kB / 446.1 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.1207, allocations: 4 kB / 446.1 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1207, allocations: 0 / 446.1 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.365e-05/0.1208, allocations: 27.94 kB / 446.2 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000357/0.1211, allocations: 288.8 kB / 446.4 MB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.1213, allocations: 46.56 kB / 446.5 MB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.738e-05/0.1214, allocations: 16.94 kB / 446.5 MB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.1214, allocations: 7.984 kB / 446.5 MB, free: 9.777 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.1214, allocations: 30.56 kB / 446.5 MB, free: 9.738 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1214, allocations: 0 / 446.5 MB, free: 9.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005179/0.122, allocations: 165.1 kB / 446.7 MB, free: 9.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.122, allocations: 51.41 kB / 446.8 MB, free: 9.508 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002013/0.1222, allocations: 231.1 kB / 447 MB, free: 9.273 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.1222, allocations: 25.7 kB / 447 MB, free: 9.242 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.498e-05/0.1223, allocations: 104.1 kB / 447.1 MB, free: 9.137 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.1223, allocations: 23.59 kB / 447.1 MB, free: 9.113 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-06/0.1223, allocations: 0 / 447.1 MB, free: 9.113 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.1225, allocations: 322.8 kB / 447.4 MB, free: 8.789 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.378e-05/0.1225, allocations: 19.98 kB / 447.5 MB, free: 8.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.502e-05/0.1226, allocations: 31.92 kB / 447.5 MB, free: 8.738 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.167e-05/0.1227, allocations: 23.98 kB / 447.5 MB, free: 8.715 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.1227, allocations: 0 / 447.5 MB, free: 8.715 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001638/0.1229, allocations: 93.58 kB / 447.6 MB, free: 8.617 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.1229, allocations: 7.953 kB / 447.6 MB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1229, allocations: 0 / 447.6 MB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.1229, allocations: 3.984 kB / 447.6 MB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.656e-05/0.123, allocations: 12 kB / 447.6 MB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.123, allocations: 0 / 447.6 MB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.827e-05/0.123, allocations: 7.984 kB / 447.6 MB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.123, allocations: 4 kB / 447.6 MB, free: 8.582 MB / 382.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 (5): * Single equations (assignments): 5 * 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 9.684e-05/0.1231, allocations: 129.8 kB / 447.8 MB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.028e-05/0.1232, allocations: 11.89 kB / 447.8 MB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002122/0.1234, allocations: 102.9 kB / 447.9 MB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1234, allocations: 0 / 447.9 MB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.1234, allocations: 4.062 kB / 447.9 MB, free: 8.316 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.1234, allocations: 7.938 kB / 447.9 MB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003915/0.1238, allocations: 362.4 kB / 448.2 MB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.1238, allocations: 4 kB / 448.3 MB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.172e-05/0.1239, allocations: 11.95 kB / 448.3 MB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.1239, allocations: 8 kB / 448.3 MB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.1239, allocations: 0 / 448.3 MB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.1239, allocations: 3.984 kB / 448.3 MB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1239, allocations: 0 / 448.3 MB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002059/0.1241, allocations: 179.4 kB / 448.5 MB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.722e-05/0.1242, allocations: 93.02 kB / 448.5 MB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.1242, allocations: 7.938 kB / 448.5 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.555e-05/0.1243, allocations: 4 kB / 448.6 MB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.1244, allocations: 11.92 kB / 448.6 MB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.1244, allocations: 0 / 448.6 MB, free: 7.547 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001327/0.1245, allocations: 171.2 kB / 448.7 MB, free: 7.379 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.054e-06/0.1245, allocations: 0 / 448.7 MB, free: 7.379 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002259/0.1248, allocations: 19.94 kB / 448.8 MB, free: 7.359 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0008628/0.1256, allocations: 398 kB / 449.1 MB, free: 7.004 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001718/0.1258, allocations: 51.97 kB / 449.2 MB, free: 6.953 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1258, allocations: 0 / 449.2 MB, free: 6.953 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.032e-05/0.1259, allocations: 35.92 kB / 449.2 MB, free: 6.918 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.1262, allocations: 15.98 kB / 449.2 MB, free: 6.902 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004226/0.1266, allocations: 275.1 kB / 449.5 MB, free: 6.602 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.1269, allocations: 0.7082 MB / 450.2 MB, free: 5.867 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.017e-05/0.127, allocations: 19.38 kB / 450.2 MB, free: 5.848 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.127, allocations: 0 / 450.2 MB, free: 5.848 MB / 382.1 MB Notification: Performance of Templates: time 0.002935/0.1299, allocations: 1.497 MB / 451.7 MB, free: 4.352 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.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.CombiTable1Ds.Test5CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5CalcHelperMain.o] Error 1