Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 92.55 kB / 17.63 MB, free: 5.715 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.001242/0.001242, allocations: 183.1 kB / 18.52 MB, free: 5.164 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.52/1.52, allocations: 223.3 MB / 242.5 MB, free: 216 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.2657/0.2657, allocations: 44.23 MB / 337.9 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004598/0.0004599, allocations: 12 kB / 410.3 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1458, allocations: 61.93 MB / 472.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.002122/0.148, allocations: 1.351 MB / 473.6 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001326/0.1493, allocations: 0.7803 MB / 474.3 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.826e-05/0.1494, allocations: 4 kB / 474.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00031/0.1497, allocations: 59.84 kB / 474.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001993/0.1499, allocations: 63.69 kB / 474.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002449/0.1502, allocations: 83.34 kB / 474.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000172/0.1504, allocations: 87.69 kB / 474.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.438e-05/0.1504, allocations: 7.984 kB / 474.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.443e-05/0.1505, allocations: 39.84 kB / 474.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.135e-05/0.1506, allocations: 35.84 kB / 474.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.1507, allocations: 7.984 kB / 474.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.108e-05/0.1507, allocations: 20 kB / 474.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.874e-05/0.1508, allocations: 11.92 kB / 474.7 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.842e-05/0.1508, allocations: 37.64 kB / 474.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001409/0.151, allocations: 76.11 kB / 474.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.151, allocations: 4 kB / 474.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.151, allocations: 0 / 474.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.151, allocations: 0 / 474.9 MB, free: 11.05 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000531/0.1516, allocations: 393.2 kB / 475.2 MB, free: 10.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.1516, allocations: 15.91 kB / 475.3 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.871e-05/0.1517, allocations: 11.84 kB / 475.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.1519, allocations: 198.9 kB / 475.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.1519, allocations: 0 / 475.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.1519, allocations: 4 kB / 475.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.1521, allocations: 53.62 kB / 475.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.1521, allocations: 0 / 475.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.1521, allocations: 0 / 475.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.1521, allocations: 0 / 475.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.097e-05/0.1522, allocations: 15.98 kB / 475.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002061/0.1524, allocations: 189.5 kB / 475.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.1526, allocations: 54.56 kB / 475.8 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.068e-05/0.1526, allocations: 20.84 kB / 475.8 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.1527, allocations: 0 / 475.8 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001824/0.1529, allocations: 67.34 kB / 475.9 MB, free: 9.879 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.1529, allocations: 0 / 475.9 MB, free: 9.879 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002809/0.1532, allocations: 97.7 kB / 476 MB, free: 9.777 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.455e-05/0.1532, allocations: 55.41 kB / 476 MB, free: 9.711 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.1534, allocations: 190.1 kB / 476.2 MB, free: 9.516 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.1534, allocations: 25.7 kB / 476.2 MB, free: 9.484 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.595e-05/0.1535, allocations: 100.1 kB / 476.3 MB, free: 9.383 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/0.1536, allocations: 15.81 kB / 476.3 MB, free: 9.367 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-06/0.1536, allocations: 0 / 476.3 MB, free: 9.367 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.1537, allocations: 322.8 kB / 476.7 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.466e-05/0.1537, allocations: 12 kB / 476.7 MB, free: 9.031 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.534e-05/0.1538, allocations: 41.69 kB / 476.7 MB, free: 8.984 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.005e-05/0.1539, allocations: 20.05 kB / 476.7 MB, free: 8.965 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1539, allocations: 0 / 476.7 MB, free: 8.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001422/0.154, allocations: 81.53 kB / 476.8 MB, free: 8.879 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.1541, allocations: 7.953 kB / 476.8 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.1541, allocations: 0 / 476.8 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.1541, allocations: 3.984 kB / 476.8 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.524e-05/0.1542, allocations: 12 kB / 476.8 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.1542, allocations: 7.969 kB / 476.8 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.031e-05/0.1542, allocations: 11.98 kB / 476.8 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.1543, allocations: 3.938 kB / 476.8 MB, free: 8.832 MB / 350.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 (7): * Single equations (assignments): 7 * 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.0001061/0.1544, allocations: 118.4 kB / 477 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.594e-05/0.1544, allocations: 7.906 kB / 477 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.184e-05/0.1544, allocations: 20.25 kB / 477 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1544, allocations: 4 kB / 477 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1544, allocations: 0 / 477 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.1545, allocations: 0 / 477 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001529/0.1546, allocations: 193.5 kB / 477.2 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1546, allocations: 0 / 477.2 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.96e-05/0.1546, allocations: 3.984 kB / 477.2 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.1547, allocations: 4 kB / 477.2 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.1547, allocations: 0 / 477.2 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.237e-06/0.1547, allocations: 3.953 kB / 477.2 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1547, allocations: 0 / 477.2 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001784/0.1549, allocations: 105 kB / 477.3 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.933e-05/0.1549, allocations: 96.95 kB / 477.4 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.155, allocations: 0 / 477.4 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.674e-05/0.155, allocations: 7.984 kB / 477.4 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.275e-05/0.155, allocations: 4.078 kB / 477.4 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.1551, allocations: 8 kB / 477.4 MB, free: 8.168 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000129/0.1552, allocations: 139.2 kB / 477.6 MB, free: 8.031 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1552, allocations: 0 / 477.6 MB, free: 8.031 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000208/0.1554, allocations: 20 kB / 477.6 MB, free: 8.012 MB / 350.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009841/0.1564, allocations: 403.6 kB / 478 MB, free: 7.762 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001848/0.1566, allocations: 43.92 kB / 478 MB, free: 7.719 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1566, allocations: 0 / 478 MB, free: 7.719 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.708e-05/0.1567, allocations: 19.98 kB / 478 MB, free: 7.699 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.157, allocations: 19.98 kB / 478 MB, free: 7.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005573/0.1576, allocations: 242.8 kB / 478.3 MB, free: 7.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004089/0.158, allocations: 0.6968 MB / 479 MB, free: 6.688 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.051e-05/0.158, allocations: 15.42 kB / 479 MB, free: 6.672 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.158, allocations: 0 / 479 MB, free: 6.672 MB / 350.1 MB Notification: Performance of Templates: time 0.003658/0.1617, allocations: 1.66 MB / 480.7 MB, free: 5.02 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.CombiTimeTable.Test38CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38CalcHelperMain.o] Error 1