Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.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.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 104.8 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.001648/0.001649, allocations: 195.4 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.775/1.775, 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.2529/0.2529, allocations: 43.52 MB / 314.1 MB, free: 0.75 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.001516/0.001516, allocations: 62.84 kB / 382.7 MB, free: 56.89 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1585, allocations: 57.79 MB / 440.5 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.002873/0.1614, allocations: 0.5661 MB / 441 MB, free: 6.934 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009965/0.1625, allocations: 361.3 kB / 441.4 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.504e-05/0.1625, allocations: 0 / 441.4 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.871e-05/0.1625, allocations: 0 / 441.4 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.899e-06/0.1626, allocations: 4 kB / 441.4 MB, free: 6.578 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008224/0.1634, allocations: 147.3 kB / 441.5 MB, free: 6.438 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.328e-05/0.1635, allocations: 4 kB / 441.5 MB, free: 6.434 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.388e-05/0.1636, allocations: 0 / 441.5 MB, free: 6.434 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.865e-05/0.1636, allocations: 0 / 441.5 MB, free: 6.434 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.658e-05/0.1636, allocations: 0 / 441.5 MB, free: 6.434 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.544e-06/0.1636, allocations: 3.938 kB / 441.5 MB, free: 6.43 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002933/0.1639, allocations: 167.7 kB / 441.7 MB, free: 6.266 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.192e-05/0.164, allocations: 0 / 441.7 MB, free: 6.266 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.262e-05/0.164, allocations: 3.938 kB / 441.7 MB, free: 6.262 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.1642, allocations: 91.83 kB / 441.8 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.1642, allocations: 4 kB / 441.8 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1642, allocations: 0 / 441.8 MB, free: 6.168 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.282e-05/0.1642, allocations: 4 kB / 441.8 MB, free: 6.164 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.0003993/0.1646, allocations: 365.3 kB / 442.2 MB, free: 5.75 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.1647, allocations: 8.031 kB / 442.2 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.782e-05/0.1647, allocations: 0.9375 kB / 442.2 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.961e-05/0.1648, allocations: 164.4 kB / 442.3 MB, free: 5.543 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.1648, allocations: 384 / 442.3 MB, free: 5.543 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.1648, allocations: 384 / 442.3 MB, free: 5.543 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.663e-05/0.1649, allocations: 34.27 kB / 442.4 MB, free: 5.504 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.1649, allocations: 192 / 442.4 MB, free: 5.504 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.165, allocations: 3.938 kB / 442.4 MB, free: 5.5 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.165, allocations: 3.938 kB / 442.4 MB, free: 5.496 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.078e-05/0.165, allocations: 3.938 kB / 442.4 MB, free: 5.492 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001247/0.1651, allocations: 149.7 kB / 442.5 MB, free: 5.297 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.23e-05/0.1652, allocations: 18.61 kB / 442.5 MB, free: 5.27 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.175e-05/0.1652, allocations: 4.859 kB / 442.5 MB, free: 5.262 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.113e-06/0.1652, allocations: 4 kB / 442.5 MB, free: 5.258 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.828e-05/0.1652, allocations: 60.33 kB / 442.6 MB, free: 5.184 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.1653, allocations: 0 / 442.6 MB, free: 5.184 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002162/0.1655, allocations: 75.27 kB / 442.7 MB, free: 5.098 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.1655, allocations: 77.11 kB / 442.8 MB, free: 5.004 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.285e-05/0.1656, allocations: 89.86 kB / 442.8 MB, free: 4.906 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.1656, allocations: 25.7 kB / 442.9 MB, free: 4.875 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.507e-05/0.1656, allocations: 84.27 kB / 442.9 MB, free: 4.789 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.147e-05/0.1657, allocations: 0 / 442.9 MB, free: 4.789 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.072e-05/0.1657, allocations: 13.72 kB / 443 MB, free: 4.77 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.1658, allocations: 314.8 kB / 443.3 MB, free: 4.453 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.752e-05/0.1658, allocations: 4 kB / 443.3 MB, free: 4.449 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.355e-06/0.1659, allocations: 4 kB / 443.3 MB, free: 4.445 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.148e-05/0.1659, allocations: 56.27 kB / 443.3 MB, free: 4.375 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.1659, allocations: 0 / 443.3 MB, free: 4.375 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.468e-05/0.166, allocations: 67.41 kB / 443.4 MB, free: 4.297 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.08e-05/0.166, allocations: 37.69 kB / 443.4 MB, free: 4.254 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.166, allocations: 0 / 443.4 MB, free: 4.254 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.166, allocations: 7.938 kB / 443.4 MB, free: 4.246 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.71e-07/0.1661, allocations: 0 / 443.4 MB, free: 4.246 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.1661, allocations: 3.938 kB / 443.4 MB, free: 4.242 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.869e-05/0.1661, allocations: 288 / 443.4 MB, free: 4.242 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.1661, allocations: 0 / 443.4 MB, free: 4.242 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.858e-05/0.1662, allocations: 144.6 kB / 443.6 MB, free: 4.086 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.274e-06/0.1662, allocations: 4 kB / 443.6 MB, free: 4.082 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.252e-05/0.1662, allocations: 7.062 kB / 443.6 MB, free: 4.074 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1662, allocations: 3.984 kB / 443.6 MB, free: 4.07 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.1662, allocations: 4 kB / 443.6 MB, free: 4.066 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.1663, allocations: 3.984 kB / 443.6 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.058e-05/0.1663, allocations: 145.6 kB / 443.8 MB, free: 3.871 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.1664, allocations: 0 / 443.8 MB, free: 3.871 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.1664, allocations: 3.938 kB / 443.8 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.1664, allocations: 0 / 443.8 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.1664, allocations: 7.938 kB / 443.8 MB, free: 3.859 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.1664, allocations: 4 kB / 443.8 MB, free: 3.855 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1664, allocations: 0 / 443.8 MB, free: 3.855 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.222e-05/0.1665, allocations: 90.77 kB / 443.9 MB, free: 3.742 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.04e-05/0.1665, allocations: 81.11 kB / 443.9 MB, free: 3.645 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.1665, allocations: 3.938 kB / 443.9 MB, free: 3.641 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.677e-06/0.1666, allocations: 0 / 443.9 MB, free: 3.641 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.154e-05/0.1666, allocations: 3.984 kB / 443.9 MB, free: 3.637 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.1666, allocations: 4.031 kB / 443.9 MB, free: 3.633 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.407e-05/0.1666, allocations: 79.28 kB / 444 MB, free: 3.555 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1666, allocations: 0 / 444 MB, free: 3.555 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002744/0.1669, allocations: 44 kB / 444.1 MB, free: 3.512 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.0004549/0.1674, allocations: 182.1 kB / 444.2 MB, free: 3.332 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.821e-05/0.1675, allocations: 59.39 kB / 444.3 MB, free: 3.262 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.1675, allocations: 8 kB / 444.3 MB, free: 3.254 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.297e-05/0.1675, allocations: 59.41 kB / 444.4 MB, free: 3.184 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/0.1677, allocations: 0 / 444.4 MB, free: 3.184 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002346/0.1679, allocations: 108.2 kB / 444.5 MB, free: 3.047 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000213/0.1681, allocations: 0.6731 MB / 445.1 MB, free: 2.348 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.25e-05/0.1682, allocations: 11.44 kB / 445.2 MB, free: 2.336 MB / 318.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1682, allocations: 0 / 445.2 MB, free: 2.336 MB / 318.1 MB Notification: Performance of Templates: time 0.00374/0.1719, allocations: 1.42 MB / 446.6 MB, free: 0.918 MB / 318.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.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.Math.TestBooleanFunctionsCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctionsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctionsCalcHelperMain.o] Error 1