Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStreams.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.Utilities.TestStreams,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStreams") translateModel(ModelicaTest.Utilities.TestStreams,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStreams") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009812/0.000981, allocations: 92.64 kB / 17.63 MB, free: 6.141 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.00116/0.00116, allocations: 182.2 kB / 18.52 MB, free: 5.305 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.533/1.533, allocations: 223.2 MB / 242.5 MB, free: 14.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2398/0.2398, allocations: 44.22 MB / 337.9 MB, free: 2.57 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003706/0.0003709, allocations: 14.03 kB / 410.3 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1485, allocations: 61.91 MB / 472.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStreams): time 0.0006795/0.1492, allocations: 201.4 kB / 472.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000697/0.1499, allocations: 286.7 kB / 472.7 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.711e-05/0.15, allocations: 4 kB / 472.7 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.278e-06/0.15, allocations: 0 / 472.7 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.47e-06/0.15, allocations: 0 / 472.7 MB, free: 13.24 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Utilities.mo:222:3-288:14:writable] Warning: Pure function ‘ModelicaTest.Utilities.Streams‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.000431/0.1504, allocations: 75.78 kB / 472.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.185e-05/0.1505, allocations: 0 / 472.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.262e-05/0.1505, allocations: 0 / 472.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.303e-05/0.1505, allocations: 0 / 472.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.509e-05/0.1506, allocations: 4 kB / 472.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.703e-06/0.1506, allocations: 3.938 kB / 472.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001729/0.1508, allocations: 99.84 kB / 472.8 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.133e-06/0.1508, allocations: 7.984 kB / 472.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.831e-05/0.1508, allocations: 25.7 kB / 472.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.1509, allocations: 55.91 kB / 472.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.1509, allocations: 0 / 472.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.151, allocations: 0 / 472.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.784e-06/0.151, allocations: 0 / 472.9 MB, free: 12.96 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003279/0.1513, allocations: 357.1 kB / 473.3 MB, free: 12.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.1513, allocations: 12.03 kB / 473.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.628e-05/0.1514, allocations: 0 / 473.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.179e-05/0.1515, allocations: 159.1 kB / 473.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.1515, allocations: 4 kB / 473.4 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.1515, allocations: 0 / 473.4 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.414e-05/0.1516, allocations: 37.59 kB / 473.5 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.1516, allocations: 0 / 473.5 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.1516, allocations: 3.984 kB / 473.5 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.1516, allocations: 0 / 473.5 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.662e-05/0.1517, allocations: 3.938 kB / 473.5 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001406/0.1518, allocations: 149.7 kB / 473.6 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.437e-05/0.1518, allocations: 18.58 kB / 473.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.272e-05/0.1519, allocations: 4.859 kB / 473.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.212e-06/0.1519, allocations: 4.094 kB / 473.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.654e-05/0.1519, allocations: 60.22 kB / 473.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.1519, allocations: 0 / 473.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001841/0.1521, allocations: 71.33 kB / 473.8 MB, free: 11.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/0.1522, allocations: 77.11 kB / 473.9 MB, free: 11.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.318e-05/0.1522, allocations: 93.98 kB / 474 MB, free: 11.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.1523, allocations: 25.7 kB / 474 MB, free: 11.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.843e-05/0.1523, allocations: 80.14 kB / 474.1 MB, free: 11.6 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.66e-05/0.1523, allocations: 0 / 474.1 MB, free: 11.6 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.003e-06/0.1523, allocations: 4 kB / 474.1 MB, free: 11.6 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.1524, allocations: 314.8 kB / 474.4 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.923e-06/0.1525, allocations: 0 / 474.4 MB, free: 11.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.038e-06/0.1525, allocations: 0 / 474.4 MB, free: 11.28 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.986e-05/0.1525, allocations: 33.7 kB / 474.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1525, allocations: 4 kB / 474.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.795e-05/0.1526, allocations: 63.34 kB / 474.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.358e-05/0.1526, allocations: 33.7 kB / 474.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.1527, allocations: 3.984 kB / 474.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.1527, allocations: 3.953 kB / 474.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.1527, allocations: 0 / 474.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.1527, allocations: 3.984 kB / 474.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.768e-05/0.1527, allocations: 0 / 474.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.1527, allocations: 4 kB / 474.5 MB, free: 11.11 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: 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.0001364/0.1529, allocations: 136.1 kB / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.961e-06/0.1529, allocations: 0 / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.487e-05/0.1529, allocations: 11.08 kB / 474.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.1529, allocations: 3.953 kB / 474.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.1529, allocations: 0 / 474.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1529, allocations: 3.938 kB / 474.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.1531, allocations: 153.7 kB / 474.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.1531, allocations: 0 / 474.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.1531, allocations: 0 / 474.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1531, allocations: 4 kB / 474.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.1531, allocations: 4 kB / 474.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.1531, allocations: 4 kB / 474.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1531, allocations: 3.953 kB / 474.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.816e-05/0.1532, allocations: 94.77 kB / 474.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.557e-05/0.1533, allocations: 77.11 kB / 475 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.1533, allocations: 0 / 475 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.105e-06/0.1533, allocations: 0 / 475 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.573e-05/0.1533, allocations: 8.031 kB / 475 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/0.1533, allocations: 11.92 kB / 475 MB, free: 10.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.253e-05/0.1534, allocations: 75.28 kB / 475.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1534, allocations: 0 / 475.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002429/0.1536, allocations: 32 kB / 475.1 MB, free: 10.39 MB / 350.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.000572/0.1542, allocations: 269.6 kB / 475.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.162e-05/0.1543, allocations: 59.41 kB / 475.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1543, allocations: 0 / 475.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.471e-05/0.1544, allocations: 55.41 kB / 475.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001181/0.1545, allocations: 7.938 kB / 475.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001976/0.1547, allocations: 116.4 kB / 475.6 MB, free: 9.887 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.155, allocations: 0.6731 MB / 476.3 MB, free: 9.188 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.07e-05/0.155, allocations: 7.438 kB / 476.3 MB, free: 9.18 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.155, allocations: 0 / 476.3 MB, free: 9.18 MB / 350.1 MB Notification: Performance of Templates: time 0.003034/0.1581, allocations: 1.143 MB / 477.4 MB, free: 8.035 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStreams.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStreams.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_4.0.0_ModelicaTest.Utilities.TestStreamsCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Utilities.TestStreamsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Utilities.TestStreamsCalcHelperMain.o] Error 1