Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 88.97 kB / 17.63 MB, free: 5.719 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.00168/0.001679, allocations: 182.4 kB / 18.52 MB, free: 5.168 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.565/1.565, allocations: 223.3 MB / 242.5 MB, free: 336 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.256/0.256, allocations: 44.22 MB / 337.9 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003772/0.0003773, allocations: 8 kB / 410.3 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1613, allocations: 61.92 MB / 472.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.0007356/0.1621, allocations: 254.9 kB / 472.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008751/0.163, allocations: 377 kB / 472.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.956e-05/0.163, allocations: 0 / 472.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.691e-05/0.1631, allocations: 3.938 kB / 472.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.669e-05/0.1631, allocations: 4 kB / 472.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005723/0.1637, allocations: 107.7 kB / 472.9 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.299e-05/0.1638, allocations: 23.92 kB / 472.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.894e-05/0.1638, allocations: 4 kB / 472.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.144e-05/0.1639, allocations: 19.92 kB / 473 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.692e-05/0.1639, allocations: 27.91 kB / 473 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.164, allocations: 0 / 473 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003245/0.1643, allocations: 151.8 kB / 473.1 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.88e-05/0.1643, allocations: 11.98 kB / 473.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.008e-05/0.1644, allocations: 25.7 kB / 473.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001997/0.1646, allocations: 79.88 kB / 473.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.1646, allocations: 0 / 473.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1646, allocations: 0 / 473.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.1646, allocations: 0 / 473.2 MB, free: 12.64 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004765/0.1651, allocations: 351.6 kB / 473.6 MB, free: 12.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.1651, allocations: 12.03 kB / 473.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.457e-05/0.1652, allocations: 7.906 kB / 473.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.1654, allocations: 167 kB / 473.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.1654, allocations: 4 kB / 473.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.884e-05/0.1654, allocations: 15.94 kB / 473.8 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.1656, allocations: 61.67 kB / 473.8 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/0.1656, allocations: 3.906 kB / 473.9 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.1656, allocations: 8 kB / 473.9 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.1656, allocations: 0 / 473.9 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.733e-05/0.1658, allocations: 43.89 kB / 473.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002481/0.166, allocations: 177.6 kB / 474.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.1662, allocations: 90.47 kB / 474.2 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.399e-05/0.1662, allocations: 32.84 kB / 474.2 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003129/0.1665, allocations: 113 kB / 474.3 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.1666, allocations: 30.56 kB / 474.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.1666, allocations: 0 / 474.3 MB, free: 11.36 MB / 350.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.108/0.2746, allocations: 5.84 MB / 480.2 MB, free: 5.488 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.425e-05/0.2747, allocations: 63.34 kB / 480.2 MB, free: 5.414 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.2748, allocations: 93.84 kB / 480.3 MB, free: 5.312 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.663e-05/0.2748, allocations: 33.7 kB / 480.4 MB, free: 5.273 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.661e-05/0.2749, allocations: 80.52 kB / 480.4 MB, free: 5.188 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.187e-05/0.275, allocations: 74.77 kB / 480.5 MB, free: 5.113 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.915e-05/0.275, allocations: 4 kB / 480.5 MB, free: 5.109 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.2751, allocations: 326.8 kB / 480.8 MB, free: 4.781 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003924/0.2755, allocations: 136 kB / 481 MB, free: 4.648 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003267/0.2759, allocations: 135.9 kB / 481.1 MB, free: 4.516 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008066/0.2767, allocations: 178.1 kB / 481.3 MB, free: 4.344 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.2767, allocations: 4 kB / 481.3 MB, free: 4.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001301/0.278, allocations: 401.2 kB / 481.7 MB, free: 3.941 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.278, allocations: 7.938 kB / 481.7 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.2781, allocations: 0 / 481.7 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.2781, allocations: 4 kB / 481.7 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003754/0.2785, allocations: 95.8 kB / 481.8 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.2785, allocations: 4 kB / 481.8 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001815/0.2787, allocations: 35.95 kB / 481.8 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.296e-05/0.2787, allocations: 19.98 kB / 481.8 MB, free: 3.777 MB / 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 (23): * Single equations (assignments): 23 * 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.0001402/0.2789, allocations: 130.3 kB / 482 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.609e-05/0.2789, allocations: 7.906 kB / 482 MB, free: 3.633 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001737/0.2806, allocations: 473.5 kB / 482.4 MB, free: 3.164 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.2807, allocations: 4 kB / 482.4 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2807, allocations: 0 / 482.4 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.2807, allocations: 4 kB / 482.4 MB, free: 3.156 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002262/0.2829, allocations: 0.866 MB / 483.3 MB, free: 2.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.283, allocations: 4 kB / 483.3 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002778/0.2832, allocations: 83.88 kB / 483.4 MB, free: 2.145 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.876e-06/0.2833, allocations: 7.953 kB / 483.4 MB, free: 2.137 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.644e-05/0.2833, allocations: 16.05 kB / 483.4 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.2833, allocations: 0 / 483.4 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.2833, allocations: 0 / 483.4 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.2844, allocations: 476.7 kB / 483.9 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.183e-05/0.2845, allocations: 81.02 kB / 484 MB, free: 1.535 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.493e-05/0.2845, allocations: 11.95 kB / 484 MB, free: 1.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.2847, allocations: 35.97 kB / 484 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.19e-05/0.2847, allocations: 19.97 kB / 484 MB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.308e-05/0.2848, allocations: 11.98 kB / 484 MB, free: 1.457 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.928e-05/0.2848, allocations: 83.28 kB / 484.1 MB, free: 1.375 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2848, allocations: 0 / 484.1 MB, free: 1.375 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001794/0.2866, allocations: 0.6249 MB / 484.7 MB, free: 0.75 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (23): * Single equations (assignments): 23 * 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.003003/0.2896, allocations: 309.9 kB / 485.1 MB, free: 448 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007945/0.2904, allocations: 307.7 kB / 485.4 MB, free: 140 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.2904, allocations: 0 / 485.4 MB, free: 140 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003671/0.2908, allocations: 157.4 kB / 485.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002525/0.2911, allocations: 8 kB / 485.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000948/0.292, allocations: 430.7 kB / 485.9 MB, free: 15.51 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.2923, allocations: 0.6933 MB / 486.6 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.2925, allocations: 51.39 kB / 486.7 MB, free: 14.74 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2925, allocations: 0 / 486.7 MB, free: 14.74 MB / 366.1 MB Notification: Performance of Templates: time 0.02501/0.3175, allocations: 14.2 MB / 0.4891 GB, free: 0.5742 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.Fluid.TestUtilities.TestRegRoot2ZeroDerivativeCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivativeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivativeCalcHelperMain.o] Error 1