Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.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.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile") translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009842/0.0009843, allocations: 95.36 kB / 16.33 MB, free: 5.941 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.001076/0.001076, allocations: 181.8 kB / 17.22 MB, free: 5.883 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.72/1.72, allocations: 205.4 MB / 223.4 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4027/0.4027, allocations: 43.55 MB / 315.2 MB, free: 8.867 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.0005621/0.0005623, allocations: 16 kB / 384.5 MB, free: 8.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1448, allocations: 58.85 MB / 443.4 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.000553/0.1454, allocations: 220.4 kB / 443.6 MB, free: 12.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.1468, allocations: 0.7305 MB / 444.3 MB, free: 12.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.718e-05/0.1468, allocations: 4 kB / 444.3 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.624e-06/0.1468, allocations: 0 / 444.3 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.147, allocations: 4 kB / 444.4 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003115/0.1473, allocations: 47.89 kB / 444.4 MB, free: 12.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 2.486e-05/0.1473, allocations: 0 / 444.4 MB, free: 12.06 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.994e-05/0.1474, allocations: 3.938 kB / 444.4 MB, free: 12.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.237e-05/0.1474, allocations: 7.984 kB / 444.4 MB, free: 12.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.855e-05/0.1475, allocations: 3.938 kB / 444.4 MB, free: 12.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.1475, allocations: 4 kB / 444.4 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001429/0.1477, allocations: 47.95 kB / 444.5 MB, free: 12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.751e-06/0.1477, allocations: 0 / 444.5 MB, free: 12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.051e-05/0.1477, allocations: 25.7 kB / 444.5 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.1478, allocations: 39.88 kB / 444.5 MB, free: 11.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1479, allocations: 0 / 444.5 MB, free: 11.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1479, allocations: 4 kB / 444.5 MB, free: 11.92 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1479, allocations: 0 / 444.5 MB, free: 11.92 MB / 382.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.0003665/0.1482, allocations: 357 kB / 444.9 MB, free: 11.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.1483, allocations: 8.031 kB / 444.9 MB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.763e-05/0.1483, allocations: 0 / 444.9 MB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.1485, allocations: 163 kB / 445 MB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.1485, allocations: 7.938 kB / 445.1 MB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-06/0.1485, allocations: 0 / 445.1 MB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.747e-05/0.1486, allocations: 29.7 kB / 445.1 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.1486, allocations: 4 kB / 445.1 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.1486, allocations: 4 kB / 445.1 MB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.1487, allocations: 0 / 445.1 MB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.717e-05/0.1487, allocations: 3.984 kB / 445.1 MB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001769/0.1489, allocations: 149.6 kB / 445.2 MB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.132e-05/0.1489, allocations: 22.55 kB / 445.3 MB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.561e-05/0.1489, allocations: 8.797 kB / 445.3 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.182e-06/0.149, allocations: 4 kB / 445.3 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.079e-05/0.149, allocations: 60.33 kB / 445.3 MB, free: 10.94 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.203e-06/0.149, allocations: 0 / 445.3 MB, free: 10.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001847/0.1492, allocations: 63.39 kB / 445.4 MB, free: 10.87 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.592e-05/0.1493, allocations: 81.11 kB / 445.5 MB, free: 10.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.991e-05/0.1494, allocations: 89.86 kB / 445.6 MB, free: 10.67 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.1494, allocations: 25.7 kB / 445.6 MB, free: 10.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.413e-05/0.1495, allocations: 88.39 kB / 445.7 MB, free: 10.55 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.617e-05/0.1495, allocations: 4.266 kB / 445.7 MB, free: 10.55 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-06/0.1495, allocations: 0 / 445.7 MB, free: 10.55 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.1497, allocations: 318.7 kB / 446 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.582e-06/0.1497, allocations: 0 / 446 MB, free: 10.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.086e-06/0.1497, allocations: 4 kB / 446 MB, free: 10.22 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.673e-05/0.1497, allocations: 29.7 kB / 446 MB, free: 10.19 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1497, allocations: 0 / 446 MB, free: 10.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.971e-05/0.1498, allocations: 59.5 kB / 446.1 MB, free: 10.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.655e-05/0.1499, allocations: 37.69 kB / 446.1 MB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1499, allocations: 0 / 446.1 MB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.486e-06/0.1499, allocations: 4 kB / 446.1 MB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-07/0.1499, allocations: 0 / 446.1 MB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.1499, allocations: 0 / 446.1 MB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.292e-05/0.1499, allocations: 0 / 446.1 MB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.1499, allocations: 0 / 446.1 MB, free: 10.07 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001198/0.1501, allocations: 147.4 kB / 446.3 MB, free: 9.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.188e-06/0.1501, allocations: 7.922 kB / 446.3 MB, free: 9.902 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.206e-05/0.1501, allocations: 7.125 kB / 446.3 MB, free: 9.895 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.1501, allocations: 3.984 kB / 446.3 MB, free: 9.891 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1501, allocations: 3.938 kB / 446.3 MB, free: 9.887 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.1501, allocations: 0 / 446.3 MB, free: 9.887 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.1502, allocations: 153.6 kB / 446.4 MB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1502, allocations: 0 / 446.4 MB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.1502, allocations: 0 / 446.4 MB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1503, allocations: 0 / 446.4 MB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.1503, allocations: 0 / 446.4 MB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.1503, allocations: 7.984 kB / 446.4 MB, free: 9.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1503, allocations: 3.938 kB / 446.5 MB, free: 9.676 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.678e-05/0.1504, allocations: 94.8 kB / 446.5 MB, free: 9.559 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.495e-05/0.1504, allocations: 77.11 kB / 446.6 MB, free: 9.465 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.1505, allocations: 3.984 kB / 446.6 MB, free: 9.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.236e-06/0.1505, allocations: 0 / 446.6 MB, free: 9.461 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.143e-05/0.1505, allocations: 0 / 446.6 MB, free: 9.461 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.1505, allocations: 4 kB / 446.6 MB, free: 9.457 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.149e-05/0.1505, allocations: 79.31 kB / 446.7 MB, free: 9.379 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1506, allocations: 0 / 446.7 MB, free: 9.379 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002183/0.1508, allocations: 16 kB / 446.7 MB, free: 9.363 MB / 382.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 (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.0003802/0.1512, allocations: 197.7 kB / 446.9 MB, free: 9.176 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.307e-05/0.1513, allocations: 55.41 kB / 447 MB, free: 9.109 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1513, allocations: 0 / 447 MB, free: 9.109 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.447e-05/0.1513, allocations: 55.41 kB / 447 MB, free: 9.043 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001287/0.1515, allocations: 3.438 kB / 447 MB, free: 9.043 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001873/0.1517, allocations: 116.3 kB / 447.1 MB, free: 8.895 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.152, allocations: 0.6733 MB / 447.8 MB, free: 8.195 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.988e-06/0.152, allocations: 11.44 kB / 447.8 MB, free: 8.188 MB / 382.1 MB Notification: Performance of SimCode: time 2.424e-06/0.152, allocations: 0 / 447.8 MB, free: 8.188 MB / 382.1 MB Notification: Performance of Templates: time 0.0026/0.1546, allocations: 0.8225 MB / 448.6 MB, free: 7.367 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.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_3.2.3_ModelicaTest.Utilities.TestReadFileCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFileCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFileCalcHelperMain.o] Error 1