Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.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.Fluid.TestUtilities.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 87.97 kB / 16.66 MB, free: 6.168 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.001741/0.001741, allocations: 181.2 kB / 17.57 MB, free: 5.844 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.998/1.998, allocations: 205.4 MB / 223.8 MB, free: 13.06 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.2502/0.2502, allocations: 43.6 MB / 315.6 MB, free: 400 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.000564/0.000564, allocations: 18.44 kB / 385.2 MB, free: 56.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1469, allocations: 58.85 MB / 444.1 MB, free: 5.141 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001082/0.1481, allocations: 280.5 kB / 444.4 MB, free: 4.863 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008921/0.149, allocations: 376.2 kB / 444.7 MB, free: 4.5 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.464e-05/0.1491, allocations: 4 kB / 444.7 MB, free: 4.496 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.7e-05/0.1491, allocations: 7.938 kB / 444.7 MB, free: 4.488 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.231e-05/0.1492, allocations: 0 / 444.7 MB, free: 4.488 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004377/0.1496, allocations: 71.8 kB / 444.8 MB, free: 4.418 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.959e-05/0.1497, allocations: 27.91 kB / 444.8 MB, free: 4.391 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.902e-05/0.1497, allocations: 7.938 kB / 444.8 MB, free: 4.383 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.467e-05/0.1498, allocations: 11.94 kB / 444.9 MB, free: 4.371 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.211e-05/0.1498, allocations: 15.92 kB / 444.9 MB, free: 4.355 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.1499, allocations: 4 kB / 444.9 MB, free: 4.352 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002522/0.1501, allocations: 127.8 kB / 445 MB, free: 4.227 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.761e-05/0.1502, allocations: 8 kB / 445 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.126e-05/0.1502, allocations: 37.56 kB / 445 MB, free: 4.176 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000159/0.1504, allocations: 63.91 kB / 445.1 MB, free: 4.113 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.371e-06/0.1504, allocations: 0 / 445.1 MB, free: 4.113 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.1504, allocations: 3.938 kB / 445.1 MB, free: 4.109 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.1504, allocations: 0 / 445.1 MB, free: 4.109 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003965/0.1508, allocations: 354.8 kB / 445.5 MB, free: 3.715 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.1509, allocations: 12.03 kB / 445.5 MB, free: 3.703 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.731e-05/0.1509, allocations: 8.844 kB / 445.5 MB, free: 3.695 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.552e-05/0.151, allocations: 168.4 kB / 445.6 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.151, allocations: 4.375 kB / 445.7 MB, free: 3.488 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.008e-05/0.1511, allocations: 8.281 kB / 445.7 MB, free: 3.48 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.1512, allocations: 50.19 kB / 445.7 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.1512, allocations: 8.172 kB / 445.7 MB, free: 3.418 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.1513, allocations: 7.938 kB / 445.7 MB, free: 3.41 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.1513, allocations: 0 / 445.7 MB, free: 3.41 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.605e-05/0.1513, allocations: 27.97 kB / 445.8 MB, free: 3.383 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001736/0.1515, allocations: 169.7 kB / 445.9 MB, free: 3.168 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.1517, allocations: 66.52 kB / 446 MB, free: 3.094 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.25e-05/0.1518, allocations: 28.84 kB / 446 MB, free: 3.062 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002467/0.152, allocations: 117.1 kB / 446.1 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.569e-05/0.1521, allocations: 30.56 kB / 446.2 MB, free: 2.891 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.1521, allocations: 0 / 446.2 MB, free: 2.891 MB / 318.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: k2 2: k1 3: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.04108/0.1932, allocations: 2.819 MB / 449 MB, free: 32 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.791e-05/0.1933, allocations: 59.39 kB / 449 MB, free: 15.96 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.64e-05/0.1934, allocations: 105.9 kB / 449.1 MB, free: 15.85 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.386e-05/0.1934, allocations: 25.7 kB / 449.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.026e-05/0.1935, allocations: 84.14 kB / 449.2 MB, free: 15.73 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.865e-05/0.1936, allocations: 71 kB / 449.3 MB, free: 15.66 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.344e-05/0.1937, allocations: 17.72 kB / 449.3 MB, free: 15.64 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002531/0.1939, allocations: 326.8 kB / 449.6 MB, free: 15.31 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004159/0.1943, allocations: 187.9 kB / 449.8 MB, free: 15.12 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005076/0.1949, allocations: 183.9 kB / 450 MB, free: 14.95 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.196, allocations: 453.7 kB / 450.5 MB, free: 14.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.196, allocations: 0 / 450.5 MB, free: 14.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001101/0.1971, allocations: 0.4931 MB / 450.9 MB, free: 14 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.1971, allocations: 8 kB / 451 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.1972, allocations: 0 / 451 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.1972, allocations: 0 / 451 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003911/0.1976, allocations: 83.88 kB / 451 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.1976, allocations: 0 / 451 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.1978, allocations: 19.98 kB / 451.1 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.852e-05/0.1978, allocations: 19.98 kB / 451.1 MB, free: 13.88 MB / 334.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 (19): * Single equations (assignments): 19 * 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.0001439/0.198, allocations: 121.7 kB / 451.2 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.621e-05/0.198, allocations: 15.89 kB / 451.2 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001399/0.1994, allocations: 0.572 MB / 451.8 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.1995, allocations: 0 / 451.8 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.1995, allocations: 0 / 451.8 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.1995, allocations: 4.469 kB / 451.8 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002388/0.2019, allocations: 0.9393 MB / 452.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.2019, allocations: 4 kB / 452.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002942/0.2022, allocations: 84.06 kB / 452.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/0.2022, allocations: 4 kB / 452.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.95e-05/0.2023, allocations: 19.92 kB / 452.8 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.2023, allocations: 0 / 452.8 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.2023, allocations: 4 kB / 452.8 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.2034, allocations: 496.2 kB / 453.3 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.11e-05/0.2035, allocations: 85.02 kB / 453.4 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.947e-05/0.2036, allocations: 11.98 kB / 453.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.2038, allocations: 23.98 kB / 453.4 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.892e-05/0.2038, allocations: 15.98 kB / 453.5 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.149e-05/0.2039, allocations: 20.23 kB / 453.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.197e-05/0.2039, allocations: 87.28 kB / 453.6 MB, free: 11.25 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2039, allocations: 0 / 453.6 MB, free: 11.25 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00103/0.205, allocations: 312 kB / 453.9 MB, free: 10.95 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 19 * 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 Backend phase and start with SimCode phase: time 0.001301/0.2063, allocations: 250.9 kB / 454.1 MB, free: 10.69 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009552/0.2073, allocations: 371.7 kB / 454.5 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.2073, allocations: 0 / 454.5 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004492/0.2077, allocations: 172.2 kB / 454.6 MB, free: 10.16 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.2081, allocations: 8 kB / 454.7 MB, free: 10.15 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.2096, allocations: 0.5056 MB / 455.2 MB, free: 9.59 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003767/0.2099, allocations: 0.7007 MB / 455.9 MB, free: 8.859 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001986/0.2102, allocations: 47.41 kB / 455.9 MB, free: 8.812 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2102, allocations: 0 / 455.9 MB, free: 8.812 MB / 334.1 MB Notification: Performance of Templates: time 0.01208/0.2222, allocations: 6.547 MB / 462.5 MB, free: 2.27 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.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.Fluid.TestUtilities.TestRegSquare2DerivativesCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2DerivativesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2DerivativesCalcHelperMain.o] Error 1