Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.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.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles") translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 106.6 kB / 16.52 MB, free: 6.266 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.001623/0.001623, allocations: 195.5 kB / 17.44 MB, free: 5.887 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.759/1.759, allocations: 205.1 MB / 223.3 MB, free: 12.47 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.2609/0.2609, allocations: 43.52 MB / 314.1 MB, free: 0.7539 MB / 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.001918/0.001918, allocations: 68.38 kB / 382.7 MB, free: 57.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1806, allocations: 57.8 MB / 440.5 MB, free: 7.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.002108/0.1827, allocations: 0.5427 MB / 441 MB, free: 6.973 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00213/0.1849, allocations: 1.286 MB / 442.3 MB, free: 5.684 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.153e-05/0.1849, allocations: 8 kB / 442.3 MB, free: 5.676 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.209e-05/0.185, allocations: 0 / 442.3 MB, free: 5.676 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002299/0.1852, allocations: 7.938 kB / 442.3 MB, free: 5.668 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.1865, allocations: 183.1 kB / 442.5 MB, free: 5.492 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.763e-05/0.1865, allocations: 11.98 kB / 442.5 MB, free: 5.48 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.536e-05/0.1866, allocations: 3.984 kB / 442.5 MB, free: 5.477 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.055e-05/0.1866, allocations: 3.938 kB / 442.5 MB, free: 5.473 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.562e-05/0.1867, allocations: 8 kB / 442.5 MB, free: 5.465 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.1868, allocations: 0 / 442.5 MB, free: 5.465 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003099/0.1899, allocations: 0.6179 MB / 443.1 MB, free: 4.941 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.671e-05/0.1899, allocations: 4 kB / 443.1 MB, free: 4.938 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.451e-05/0.1899, allocations: 3.938 kB / 443.1 MB, free: 4.934 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003768/0.1903, allocations: 123.7 kB / 443.3 MB, free: 4.812 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.928e-06/0.1903, allocations: 4 kB / 443.3 MB, free: 4.809 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1903, allocations: 0 / 443.3 MB, free: 4.809 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.838e-06/0.1904, allocations: 0 / 443.3 MB, free: 4.809 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0006039/0.191, allocations: 389.1 kB / 443.6 MB, free: 4.375 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6e-05/0.191, allocations: 12.03 kB / 443.7 MB, free: 4.363 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.808e-05/0.1911, allocations: 0.9375 kB / 443.7 MB, free: 4.363 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.1913, allocations: 160.4 kB / 443.8 MB, free: 4.168 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.1913, allocations: 384 / 443.8 MB, free: 4.168 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.1913, allocations: 4.375 kB / 443.8 MB, free: 4.164 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.1914, allocations: 37.81 kB / 443.9 MB, free: 4.121 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.1914, allocations: 0 / 443.9 MB, free: 4.121 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.1915, allocations: 0 / 443.9 MB, free: 4.121 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.1915, allocations: 4 kB / 443.9 MB, free: 4.117 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.731e-05/0.1915, allocations: 7.922 kB / 443.9 MB, free: 4.109 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001651/0.1917, allocations: 145.7 kB / 444 MB, free: 3.918 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.464e-05/0.1917, allocations: 18.61 kB / 444 MB, free: 3.891 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.941e-05/0.1918, allocations: 4.859 kB / 444 MB, free: 3.883 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.114e-06/0.1918, allocations: 4 kB / 444 MB, free: 3.879 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.108e-05/0.1918, allocations: 64.27 kB / 444.1 MB, free: 3.801 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.1918, allocations: 0 / 444.1 MB, free: 3.801 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002265/0.1921, allocations: 71.33 kB / 444.2 MB, free: 3.719 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/0.1921, allocations: 77.11 kB / 444.2 MB, free: 3.625 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.775e-05/0.1922, allocations: 97.84 kB / 444.3 MB, free: 3.52 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.1922, allocations: 25.95 kB / 444.4 MB, free: 3.488 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.88e-05/0.1923, allocations: 84.14 kB / 444.5 MB, free: 3.402 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.663e-05/0.1923, allocations: 3.906 kB / 444.5 MB, free: 3.398 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.353e-05/0.1923, allocations: 17.72 kB / 444.5 MB, free: 3.375 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.013e-05/0.1924, allocations: 310.8 kB / 444.8 MB, free: 3.062 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.373e-05/0.1924, allocations: 0 / 444.8 MB, free: 3.062 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.694e-06/0.1925, allocations: 4 kB / 444.8 MB, free: 3.059 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.293e-05/0.1925, allocations: 60.27 kB / 444.8 MB, free: 2.984 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.1925, allocations: 8 kB / 444.8 MB, free: 2.977 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.21e-05/0.1926, allocations: 71.33 kB / 444.9 MB, free: 2.895 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.105e-05/0.1927, allocations: 33.61 kB / 444.9 MB, free: 2.855 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.1927, allocations: 0 / 444.9 MB, free: 2.855 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.1927, allocations: 0 / 444.9 MB, free: 2.855 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.715e-06/0.1927, allocations: 4 kB / 445 MB, free: 2.852 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.1927, allocations: 3.938 kB / 445 MB, free: 2.848 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.831e-05/0.1927, allocations: 0 / 445 MB, free: 2.848 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.1927, allocations: 0 / 445 MB, free: 2.848 MB / 318.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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 7.803e-05/0.1928, allocations: 151.4 kB / 445.1 MB, free: 2.684 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.197e-05/0.1928, allocations: 3.938 kB / 445.1 MB, free: 2.68 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.612e-05/0.1929, allocations: 3.125 kB / 445.1 MB, free: 2.676 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1929, allocations: 0 / 445.1 MB, free: 2.676 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.1929, allocations: 0 / 445.1 MB, free: 2.676 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.1929, allocations: 0 / 445.1 MB, free: 2.676 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.092e-05/0.193, allocations: 153.7 kB / 445.3 MB, free: 2.477 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.193, allocations: 0 / 445.3 MB, free: 2.477 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.076e-06/0.193, allocations: 7.938 kB / 445.3 MB, free: 2.469 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.193, allocations: 0 / 445.3 MB, free: 2.469 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.193, allocations: 0 / 445.3 MB, free: 2.469 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.193, allocations: 11.98 kB / 445.3 MB, free: 2.457 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.193, allocations: 3.938 kB / 445.3 MB, free: 2.453 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001098/0.1932, allocations: 90.83 kB / 445.4 MB, free: 2.34 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.111e-05/0.1932, allocations: 81.05 kB / 445.5 MB, free: 2.242 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.1932, allocations: 0 / 445.5 MB, free: 2.242 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.08e-05/0.1932, allocations: 0 / 445.5 MB, free: 2.242 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.684e-05/0.1933, allocations: 4 kB / 445.5 MB, free: 2.238 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.1933, allocations: 4.031 kB / 445.5 MB, free: 2.234 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.843e-05/0.1933, allocations: 75.28 kB / 445.5 MB, free: 2.16 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1933, allocations: 0 / 445.5 MB, free: 2.16 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003838/0.1937, allocations: 63.98 kB / 445.6 MB, free: 2.098 MB / 318.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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0007019/0.1944, allocations: 332.7 kB / 445.9 MB, free: 1.777 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001224/0.1945, allocations: 71.33 kB / 446 MB, free: 1.695 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.1946, allocations: 0 / 446 MB, free: 1.695 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.883e-05/0.1946, allocations: 51.41 kB / 446 MB, free: 1.633 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001625/0.1948, allocations: 11.88 kB / 446.1 MB, free: 1.621 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002572/0.195, allocations: 108.6 kB / 446.2 MB, free: 1.48 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002039/0.1952, allocations: 0.6731 MB / 446.8 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.62e-05/0.1953, allocations: 11.44 kB / 446.8 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1953, allocations: 0 / 446.8 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of Templates: time 0.005427/0.2007, allocations: 1.666 MB / 448.5 MB, free: 15.1 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.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.Utilities.TestFilesCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Utilities.TestFilesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Utilities.TestFilesCalcHelperMain.o] Error 1