Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.TestStreams,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams") translateModel(ModelicaTest.Utilities.TestStreams,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 102.1 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.001697/0.001697, 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.883/1.883, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.252/0.252, 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.001782/0.001781, allocations: 67.52 kB / 382.7 MB, free: 56.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1535, allocations: 57.79 MB / 440.5 MB, free: 7.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStreams): time 0.002675/0.1562, allocations: 0.5465 MB / 441 MB, free: 7 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008272/0.1571, allocations: 308.5 kB / 441.3 MB, free: 6.703 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.536e-05/0.1571, allocations: 0 / 441.3 MB, free: 6.703 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.966e-05/0.1572, allocations: 0 / 441.3 MB, free: 6.703 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.582e-06/0.1572, allocations: 4 kB / 441.3 MB, free: 6.699 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.1583, allocations: 83.22 kB / 441.4 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.222e-05/0.1584, allocations: 0 / 441.4 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.175e-05/0.1584, allocations: 0 / 441.4 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.16e-05/0.1585, allocations: 0 / 441.4 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.815e-05/0.1585, allocations: 4 kB / 441.4 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.765e-06/0.1585, allocations: 0 / 441.4 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002283/0.1588, allocations: 99.91 kB / 441.5 MB, free: 6.52 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.367e-06/0.1588, allocations: 3.938 kB / 441.5 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.356e-05/0.1588, allocations: 0 / 441.5 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001538/0.159, allocations: 59.89 kB / 441.6 MB, free: 6.457 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.159, allocations: 4 kB / 441.6 MB, free: 6.453 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.886e-06/0.159, allocations: 0 / 441.6 MB, free: 6.453 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.159, allocations: 0 / 441.6 MB, free: 6.453 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.0004295/0.1594, allocations: 365.2 kB / 441.9 MB, free: 6.039 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.1595, allocations: 8.031 kB / 441.9 MB, free: 6.031 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.467e-05/0.1595, allocations: 4.844 kB / 441.9 MB, free: 6.027 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.724e-05/0.1596, allocations: 168.3 kB / 442.1 MB, free: 5.824 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.1596, allocations: 4.375 kB / 442.1 MB, free: 5.82 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.1597, allocations: 384 / 442.1 MB, free: 5.82 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.1598, allocations: 34.25 kB / 442.1 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.1598, allocations: 192 / 442.1 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.1598, allocations: 7.938 kB / 442.1 MB, free: 5.773 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.1598, allocations: 0 / 442.1 MB, free: 5.773 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.272e-05/0.1599, allocations: 0 / 442.1 MB, free: 5.773 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001403/0.16, allocations: 145.7 kB / 442.3 MB, free: 5.582 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.048e-05/0.1601, allocations: 26.53 kB / 442.3 MB, free: 5.547 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.716e-05/0.1601, allocations: 4.859 kB / 442.3 MB, free: 5.539 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.1601, allocations: 4 kB / 442.3 MB, free: 5.535 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.012e-05/0.1602, allocations: 60.33 kB / 442.4 MB, free: 5.461 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 1.232e-06/0.1602, allocations: 0 / 442.4 MB, free: 5.461 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002493/0.1604, allocations: 67.34 kB / 442.4 MB, free: 5.383 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.987e-05/0.1605, allocations: 85.03 kB / 442.5 MB, free: 5.281 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.666e-05/0.1606, allocations: 89.86 kB / 442.6 MB, free: 5.184 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.1606, allocations: 25.7 kB / 442.6 MB, free: 5.152 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.273e-05/0.1606, allocations: 84.27 kB / 442.7 MB, free: 5.066 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/0.1606, allocations: 288 / 442.7 MB, free: 5.066 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-05/0.1607, allocations: 13.72 kB / 442.7 MB, free: 5.047 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.917e-05/0.1607, allocations: 314.8 kB / 443 MB, free: 4.73 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.303e-05/0.1608, allocations: 0 / 443 MB, free: 4.73 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.833e-06/0.1608, allocations: 0 / 443 MB, free: 4.73 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.079e-05/0.1608, allocations: 64.2 kB / 443.1 MB, free: 4.652 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.1608, allocations: 0 / 443.1 MB, free: 4.652 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.579e-05/0.1609, allocations: 71.39 kB / 443.2 MB, free: 4.57 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.595e-05/0.161, allocations: 29.7 kB / 443.2 MB, free: 4.535 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.161, allocations: 4 kB / 443.2 MB, free: 4.531 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.161, allocations: 3.938 kB / 443.2 MB, free: 4.527 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.392e-06/0.161, allocations: 0 / 443.2 MB, free: 4.527 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.161, allocations: 0 / 443.2 MB, free: 4.527 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.073e-05/0.1611, allocations: 3.938 kB / 443.2 MB, free: 4.523 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.1611, allocations: 4 kB / 443.2 MB, free: 4.52 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.814e-05/0.1612, allocations: 147.5 kB / 443.4 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.047e-05/0.1612, allocations: 0 / 443.4 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.387e-05/0.1612, allocations: 11 kB / 443.4 MB, free: 4.348 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1612, allocations: 0 / 443.4 MB, free: 4.348 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.1612, allocations: 0 / 443.4 MB, free: 4.348 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.1612, allocations: 3.984 kB / 443.4 MB, free: 4.344 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.655e-05/0.1613, allocations: 149.7 kB / 443.5 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1613, allocations: 0 / 443.5 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.41e-07/0.1613, allocations: 0 / 443.5 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.1613, allocations: 0 / 443.5 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.1613, allocations: 3.938 kB / 443.5 MB, free: 4.145 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.1613, allocations: 8 kB / 443.5 MB, free: 4.137 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.1613, allocations: 3.984 kB / 443.5 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.531e-05/0.1614, allocations: 94.75 kB / 443.6 MB, free: 4.016 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.687e-05/0.1615, allocations: 81.11 kB / 443.7 MB, free: 3.918 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.1615, allocations: 7.938 kB / 443.7 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.129e-05/0.1615, allocations: 0 / 443.7 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.486e-05/0.1615, allocations: 0 / 443.7 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.1615, allocations: 8.031 kB / 443.7 MB, free: 3.902 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.193e-05/0.1616, allocations: 75.28 kB / 443.8 MB, free: 3.828 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1616, allocations: 0 / 443.8 MB, free: 3.828 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002972/0.1619, allocations: 31.98 kB / 443.8 MB, free: 3.797 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.0005923/0.1625, allocations: 257.5 kB / 444.1 MB, free: 3.59 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001219/0.1626, allocations: 59.39 kB / 444.1 MB, free: 3.52 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.1626, allocations: 4.062 kB / 444.1 MB, free: 3.516 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.887e-05/0.1627, allocations: 55.41 kB / 444.2 MB, free: 3.449 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001534/0.1628, allocations: 7.031 kB / 444.2 MB, free: 3.445 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002178/0.163, allocations: 104.4 kB / 444.3 MB, free: 3.309 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001517/0.1632, allocations: 0.6731 MB / 445 MB, free: 2.609 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.413e-05/0.1632, allocations: 7.438 kB / 445 MB, free: 2.602 MB / 318.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1632, allocations: 4 kB / 445 MB, free: 2.598 MB / 318.1 MB Notification: Performance of Templates: time 0.003547/0.1668, allocations: 1.147 MB / 446.1 MB, free: 1.449 MB / 318.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.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.TestStreamsCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreamsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreamsCalcHelperMain.o] Error 1