Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000946/0.0009458, allocations: 94.66 kB / 17.63 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008791/0.0008794, allocations: 198 kB / 18.54 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.581/1.581, allocations: 227.3 MB / 246.6 MB, free: 10.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2619/0.2619, allocations: 45.91 MB / 344.7 MB, free: 12.12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003763/0.0003763, allocations: 8 kB / 418.7 MB, free: 20.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1576, allocations: 63.46 MB / 482.1 MB, free: 5.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.002392/0.1601, allocations: 1.314 MB / 483.4 MB, free: 4.082 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008935/0.161, allocations: 491.2 kB / 483.9 MB, free: 3.598 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.623e-05/0.1611, allocations: 4 kB / 483.9 MB, free: 3.594 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002895/0.1614, allocations: 75.83 kB / 484 MB, free: 3.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002365/0.1616, allocations: 83.73 kB / 484.1 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002405/0.1619, allocations: 79.33 kB / 484.1 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.162, allocations: 67.81 kB / 484.2 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.1622, allocations: 15.94 kB / 484.2 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.155e-05/0.1622, allocations: 35.84 kB / 484.3 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.1623, allocations: 47.81 kB / 484.3 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.1624, allocations: 4 kB / 484.3 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.443e-05/0.1625, allocations: 32 kB / 484.3 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.547e-05/0.1625, allocations: 19.92 kB / 484.4 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.882e-05/0.1626, allocations: 37.64 kB / 484.4 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.1627, allocations: 75.88 kB / 484.5 MB, free: 3.027 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.1627, allocations: 0 / 484.5 MB, free: 3.027 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1627, allocations: 0 / 484.5 MB, free: 3.027 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.1627, allocations: 0 / 484.5 MB, free: 3.027 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.0005383/0.1633, allocations: 403.2 kB / 484.9 MB, free: 2.586 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.1633, allocations: 12.03 kB / 484.9 MB, free: 2.574 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.391e-05/0.1634, allocations: 11.81 kB / 484.9 MB, free: 2.562 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/0.1636, allocations: 199.5 kB / 485.1 MB, free: 2.324 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.1636, allocations: 3.938 kB / 485.1 MB, free: 2.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/0.1637, allocations: 8 kB / 485.1 MB, free: 2.312 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.1638, allocations: 53.66 kB / 485.1 MB, free: 2.254 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.1638, allocations: 8 kB / 485.2 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.1639, allocations: 4 kB / 485.2 MB, free: 2.242 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.1639, allocations: 0 / 485.2 MB, free: 2.242 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.164, allocations: 31.97 kB / 485.2 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003931/0.1644, allocations: 296.6 kB / 485.5 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.92e-05/0.1645, allocations: 50.56 kB / 485.5 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.849e-05/0.1646, allocations: 16.94 kB / 485.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.1646, allocations: 4.062 kB / 485.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.1646, allocations: 34.56 kB / 485.6 MB, free: 1.746 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.1646, allocations: 4 kB / 485.6 MB, free: 1.742 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008521/0.1655, allocations: 245.1 kB / 485.8 MB, free: 1.496 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.1655, allocations: 51.41 kB / 485.9 MB, free: 1.434 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/0.1658, allocations: 215.3 kB / 486.1 MB, free: 1.215 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.1658, allocations: 25.7 kB / 486.1 MB, free: 1.184 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.604e-05/0.1659, allocations: 116 kB / 486.2 MB, free: 1.066 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/0.1659, allocations: 27.64 kB / 486.3 MB, free: 1.039 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.389e-06/0.1659, allocations: 0 / 486.3 MB, free: 1.039 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002081/0.1662, allocations: 322.8 kB / 486.6 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.484e-05/0.1662, allocations: 27.98 kB / 486.6 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.329e-05/0.1663, allocations: 27.98 kB / 486.6 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.896e-05/0.1664, allocations: 35.98 kB / 486.7 MB, free: 0.625 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1664, allocations: 0 / 486.7 MB, free: 0.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002049/0.1666, allocations: 105.5 kB / 486.8 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.1666, allocations: 4 kB / 486.8 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.1667, allocations: 11.92 kB / 486.8 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.1667, allocations: 7.953 kB / 486.8 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.1668, allocations: 23.94 kB / 486.8 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.1668, allocations: 0 / 486.8 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.502e-05/0.1669, allocations: 7.984 kB / 486.8 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.1669, allocations: 4 kB / 486.8 MB, free: 468 kB / 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.0001127/0.167, allocations: 126.4 kB / 486.9 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.884e-05/0.167, allocations: 11.91 kB / 487 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003398/0.1674, allocations: 123.3 kB / 487.1 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.1674, allocations: 7.984 kB / 487.1 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.1674, allocations: 3.953 kB / 487.1 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.1674, allocations: 0 / 487.1 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005641/0.168, allocations: 427.2 kB / 487.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.168, allocations: 0 / 487.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.862e-05/0.1681, allocations: 19.98 kB / 487.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.1681, allocations: 3.953 kB / 487.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.759e-06/0.1681, allocations: 0 / 487.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1681, allocations: 4.031 kB / 487.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1681, allocations: 4.422 kB / 487.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.1684, allocations: 204.2 kB / 487.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.318e-05/0.1685, allocations: 96.95 kB / 487.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.1685, allocations: 7.953 kB / 487.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.048e-05/0.1686, allocations: 7.984 kB / 487.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.828e-05/0.1686, allocations: 7.984 kB / 487.9 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.1686, allocations: 0 / 487.9 MB, free: 15.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001686/0.1688, allocations: 176.2 kB / 488 MB, free: 15.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1688, allocations: 0 / 488 MB, free: 15.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.1691, allocations: 24 kB / 488 MB, free: 15.12 MB / 366.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.001255/0.1704, allocations: 441.5 kB / 488.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002262/0.1706, allocations: 71.91 kB / 488.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1706, allocations: 0 / 488.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.47e-05/0.1707, allocations: 47.95 kB / 488.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.1711, allocations: 15.98 kB / 488.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005851/0.1717, allocations: 311.7 kB / 488.9 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.172, allocations: 0.7122 MB / 489.6 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.404e-05/0.1721, allocations: 11.44 kB / 489.6 MB, free: 13.62 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1721, allocations: 4 kB / 489.6 MB, free: 13.62 MB / 366.1 MB Notification: Performance of Templates: time 0.003459/0.1755, allocations: 1.744 MB / 491.4 MB, free: 11.87 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.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_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34CalcHelperMain.o] Error 1