Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,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.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,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.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009766/0.0009767, allocations: 93.25 kB / 16.67 MB, free: 6.105 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.001397/0.001397, allocations: 184.3 kB / 17.58 MB, free: 5.816 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.928/1.928, allocations: 205.4 MB / 223.7 MB, free: 13.08 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.2761/0.2761, allocations: 43.6 MB / 315.6 MB, free: 412 kB / 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.0005964/0.0005966, allocations: 22.28 kB / 385.2 MB, free: 56.6 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1493, allocations: 58.87 MB / 444.1 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.002274/0.1516, allocations: 1.416 MB / 445.5 MB, free: 3.727 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.1531, allocations: 0.7691 MB / 446.3 MB, free: 2.949 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/0.1533, allocations: 4 kB / 446.3 MB, free: 2.945 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000358/0.1536, allocations: 31.89 kB / 446.3 MB, free: 2.914 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002374/0.1539, allocations: 51.83 kB / 446.4 MB, free: 2.863 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003109/0.1542, allocations: 79.2 kB / 446.5 MB, free: 2.789 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002061/0.1544, allocations: 91.7 kB / 446.5 MB, free: 2.699 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.1545, allocations: 12.23 kB / 446.6 MB, free: 2.688 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.1547, allocations: 51.7 kB / 446.6 MB, free: 2.637 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.739e-05/0.1548, allocations: 19.86 kB / 446.6 MB, free: 2.617 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.1548, allocations: 4 kB / 446.6 MB, free: 2.613 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001325/0.1549, allocations: 39.98 kB / 446.7 MB, free: 2.574 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.518e-05/0.155, allocations: 23.91 kB / 446.7 MB, free: 2.551 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.182e-05/0.1551, allocations: 61.44 kB / 446.8 MB, free: 2.484 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001496/0.1552, allocations: 83.81 kB / 446.8 MB, free: 2.402 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.1552, allocations: 0 / 446.8 MB, free: 2.402 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1552, allocations: 3.938 kB / 446.8 MB, free: 2.398 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.1552, allocations: 0 / 446.8 MB, free: 2.398 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.0004893/0.1557, allocations: 403 kB / 447.2 MB, free: 1.957 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.1558, allocations: 8.031 kB / 447.2 MB, free: 1.949 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.164e-05/0.1558, allocations: 12.84 kB / 447.3 MB, free: 1.938 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.156, allocations: 208.7 kB / 447.5 MB, free: 1.695 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.1561, allocations: 4.375 kB / 447.5 MB, free: 1.691 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/0.1561, allocations: 4.125 kB / 447.5 MB, free: 1.688 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.1562, allocations: 57.61 kB / 447.5 MB, free: 1.625 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.1563, allocations: 4 kB / 447.5 MB, free: 1.621 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.1563, allocations: 4 kB / 447.5 MB, free: 1.617 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1563, allocations: 0 / 447.5 MB, free: 1.617 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.881e-05/0.1564, allocations: 19.98 kB / 447.6 MB, free: 1.598 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003299/0.1567, allocations: 292.8 kB / 447.8 MB, free: 1.262 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.1569, allocations: 58.62 kB / 447.9 MB, free: 1.195 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.583e-05/0.1569, allocations: 24.84 kB / 447.9 MB, free: 1.168 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.157, allocations: 0 / 447.9 MB, free: 1.168 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001709/0.1571, allocations: 67.39 kB / 448 MB, free: 1.09 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.1571, allocations: 0 / 448 MB, free: 1.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005174/0.1577, allocations: 177.2 kB / 448.2 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.1577, allocations: 51.41 kB / 448.2 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.1579, allocations: 201 kB / 448.4 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.1579, allocations: 25.7 kB / 448.4 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.399e-05/0.158, allocations: 104.1 kB / 448.5 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.158, allocations: 23.66 kB / 448.6 MB, free: 496 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.475e-05/0.158, allocations: 21.7 kB / 448.6 MB, free: 468 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.645e-05/0.1581, allocations: 326.8 kB / 448.9 MB, free: 132 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.009e-05/0.1581, allocations: 16 kB / 448.9 MB, free: 116 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.48e-05/0.1582, allocations: 41.64 kB / 449 MB, free: 68 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.083e-05/0.1583, allocations: 61.69 kB / 449 MB, free: 0 / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.539e-05/0.1583, allocations: 0 / 449 MB, free: 0 / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001899/0.1585, allocations: 109.6 kB / 449.1 MB, free: 15.88 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.1586, allocations: 10.12 kB / 449.1 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.1586, allocations: 0 / 449.1 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.1586, allocations: 11.97 kB / 449.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.767e-05/0.1587, allocations: 12 kB / 449.2 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1587, allocations: 4.219 kB / 449.2 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.726e-05/0.1588, allocations: 7.938 kB / 449.2 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.1588, allocations: 3.938 kB / 449.2 MB, free: 15.84 MB / 334.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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001252/0.1589, allocations: 133.8 kB / 449.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.742e-05/0.1589, allocations: 11.84 kB / 449.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.104e-05/0.159, allocations: 21.39 kB / 449.3 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.159, allocations: 0 / 449.3 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.159, allocations: 0 / 449.3 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.159, allocations: 3.938 kB / 449.3 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004603/0.1595, allocations: 399.2 kB / 449.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1595, allocations: 0 / 449.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.262e-05/0.1595, allocations: 11.98 kB / 449.7 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-06/0.1595, allocations: 0 / 449.7 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.1596, allocations: 7.938 kB / 449.7 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1596, allocations: 0 / 449.7 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1596, allocations: 0 / 449.7 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002337/0.1598, allocations: 200.3 kB / 449.9 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.965e-05/0.1599, allocations: 92.91 kB / 450 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.03e-05/0.1599, allocations: 11.94 kB / 450 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.503e-05/0.16, allocations: 3.938 kB / 450 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.913e-05/0.16, allocations: 7.984 kB / 450.1 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.1601, allocations: 4 kB / 450.1 MB, free: 14.83 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001431/0.1602, allocations: 160.9 kB / 450.2 MB, free: 14.68 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1602, allocations: 0 / 450.2 MB, free: 14.68 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002447/0.1605, allocations: 20 kB / 450.2 MB, free: 14.66 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001208/0.1617, allocations: 468.1 kB / 450.7 MB, free: 14.28 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001875/0.1619, allocations: 59.91 kB / 450.7 MB, free: 14.22 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1619, allocations: 0 / 450.7 MB, free: 14.22 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.983e-05/0.162, allocations: 27.94 kB / 450.8 MB, free: 14.19 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.1623, allocations: 27.97 kB / 450.8 MB, free: 14.16 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006256/0.163, allocations: 292.5 kB / 451.1 MB, free: 13.84 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004775/0.1634, allocations: 0.7043 MB / 451.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.467e-05/0.1635, allocations: 15.44 kB / 451.8 MB, free: 13.1 MB / 334.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1635, allocations: 0 / 451.8 MB, free: 13.1 MB / 334.1 MB Notification: Performance of Templates: time 0.004608/0.1681, allocations: 1.902 MB / 453.7 MB, free: 11.2 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42CalcHelperMain.o] Error 1