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.0008567/0.0008568, allocations: 90 kB / 16.33 MB, free: 5.938 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.0008876/0.0008876, allocations: 184.8 kB / 17.22 MB, free: 5.863 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.7/1.7, allocations: 205.4 MB / 223.4 MB, free: 5.574 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.4013/0.4013, allocations: 43.55 MB / 315.2 MB, free: 9.129 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.0006047/0.0006049, allocations: 16 kB / 384.5 MB, free: 8.273 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1349, allocations: 58.86 MB / 443.4 MB, free: 13.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.000736/0.1357, allocations: 216.5 kB / 443.6 MB, free: 13.1 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002175/0.1379, allocations: 1.202 MB / 444.8 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.579e-05/0.1379, allocations: 0 / 444.8 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.415e-05/0.138, allocations: 0 / 444.8 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000173/0.1381, allocations: 4 kB / 444.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008832/0.139, allocations: 195.6 kB / 445 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.665e-05/0.1391, allocations: 7.938 kB / 445 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.82e-05/0.1391, allocations: 0 / 445 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.131e-05/0.1392, allocations: 3.984 kB / 445 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.1393, allocations: 7.984 kB / 445 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.745e-06/0.1393, allocations: 4 kB / 445 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001048/0.1404, allocations: 499.6 kB / 445.5 MB, free: 11.19 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.096e-05/0.1404, allocations: 4 kB / 445.5 MB, free: 11.19 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.698e-05/0.1404, allocations: 25.7 kB / 445.5 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003035/0.1407, allocations: 119.7 kB / 445.7 MB, free: 11.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.548e-06/0.1408, allocations: 8 kB / 445.7 MB, free: 11.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1408, allocations: 0 / 445.7 MB, free: 11.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.1408, allocations: 0 / 445.7 MB, free: 11.03 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.0004449/0.1412, allocations: 381 kB / 446 MB, free: 10.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.1413, allocations: 8.031 kB / 446.1 MB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.568e-05/0.1413, allocations: 4 kB / 446.1 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.1415, allocations: 167 kB / 446.2 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.1415, allocations: 0 / 446.2 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-06/0.1415, allocations: 0 / 446.2 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.1416, allocations: 33.7 kB / 446.3 MB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.1416, allocations: 3.938 kB / 446.3 MB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.729e-06/0.1417, allocations: 0 / 446.3 MB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1417, allocations: 0 / 446.3 MB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.074e-05/0.1417, allocations: 3.984 kB / 446.3 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001626/0.1419, allocations: 153.6 kB / 446.4 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.549e-05/0.1419, allocations: 22.58 kB / 446.4 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.798e-05/0.1419, allocations: 8.953 kB / 446.4 MB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.597e-06/0.142, allocations: 4 kB / 446.4 MB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.989e-05/0.142, allocations: 60.25 kB / 446.5 MB, free: 10.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 2.895e-06/0.142, allocations: 0 / 446.5 MB, free: 10.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001946/0.1422, allocations: 67.28 kB / 446.6 MB, free: 9.945 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.077e-05/0.1423, allocations: 85.11 kB / 446.7 MB, free: 9.844 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.579e-05/0.1424, allocations: 93.84 kB / 446.7 MB, free: 9.742 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.1424, allocations: 25.95 kB / 446.8 MB, free: 9.711 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.162e-05/0.1425, allocations: 88.14 kB / 446.9 MB, free: 9.621 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.1425, allocations: 0 / 446.9 MB, free: 9.621 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.264e-06/0.1425, allocations: 0 / 446.9 MB, free: 9.621 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.1426, allocations: 314.8 kB / 447.2 MB, free: 9.305 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.373e-05/0.1427, allocations: 4 kB / 447.2 MB, free: 9.301 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.336e-06/0.1427, allocations: 4 kB / 447.2 MB, free: 9.297 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.387e-05/0.1427, allocations: 25.7 kB / 447.2 MB, free: 9.266 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1427, allocations: 0 / 447.2 MB, free: 9.266 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.399e-05/0.1428, allocations: 71.39 kB / 447.3 MB, free: 9.184 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.82e-05/0.1429, allocations: 33.7 kB / 447.3 MB, free: 9.145 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.1429, allocations: 0 / 447.3 MB, free: 9.145 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.1429, allocations: 0 / 447.3 MB, free: 9.145 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/0.1429, allocations: 0 / 447.3 MB, free: 9.145 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.381e-06/0.1429, allocations: 0 / 447.3 MB, free: 9.145 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.768e-05/0.1429, allocations: 0 / 447.3 MB, free: 9.145 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.1429, allocations: 0 / 447.3 MB, free: 9.145 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.000102/0.1431, allocations: 143.5 kB / 447.4 MB, free: 8.988 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.376e-05/0.1431, allocations: 15.92 kB / 447.5 MB, free: 8.973 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.257e-05/0.1431, allocations: 3.125 kB / 447.5 MB, free: 8.969 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1431, allocations: 0 / 447.5 MB, free: 8.969 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.1431, allocations: 4 kB / 447.5 MB, free: 8.965 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.1431, allocations: 0 / 447.5 MB, free: 8.965 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.1432, allocations: 149.6 kB / 447.6 MB, free: 8.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1432, allocations: 0 / 447.6 MB, free: 8.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.1432, allocations: 0 / 447.6 MB, free: 8.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.1433, allocations: 7.984 kB / 447.6 MB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.1433, allocations: 3.938 kB / 447.6 MB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1433, allocations: 0 / 447.6 MB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1433, allocations: 4 kB / 447.6 MB, free: 8.754 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/0.1434, allocations: 98.72 kB / 447.7 MB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.66e-05/0.1435, allocations: 77.11 kB / 447.8 MB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.1435, allocations: 4 kB / 447.8 MB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.143e-05/0.1435, allocations: 4 kB / 447.8 MB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.739e-05/0.1435, allocations: 0 / 447.8 MB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.1435, allocations: 0 / 447.8 MB, free: 8.531 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.923e-05/0.1436, allocations: 87.31 kB / 447.9 MB, free: 8.445 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1436, allocations: 0 / 447.9 MB, free: 8.445 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003352/0.1439, allocations: 59.98 kB / 447.9 MB, free: 8.387 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.0006577/0.1446, allocations: 335.7 kB / 448.3 MB, free: 8.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001096/0.1447, allocations: 67.33 kB / 448.3 MB, free: 7.992 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.1447, allocations: 0 / 448.3 MB, free: 7.992 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.077e-05/0.1448, allocations: 55.41 kB / 448.4 MB, free: 7.926 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001542/0.1449, allocations: 3.938 kB / 448.4 MB, free: 7.922 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000296/0.1452, allocations: 112.4 kB / 448.5 MB, free: 7.777 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.1456, allocations: 0.6732 MB / 449.2 MB, free: 7.078 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.714e-05/0.1456, allocations: 15.44 kB / 449.2 MB, free: 7.062 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1456, allocations: 0 / 449.2 MB, free: 7.062 MB / 382.1 MB Notification: Performance of Templates: time 0.004029/0.1496, allocations: 1.666 MB / 450.9 MB, free: 5.395 MB / 382.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++ 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.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