Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000794/0.0007943, allocations: 96.17 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008662/0.0008662, allocations: 199 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.475/1.475, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2762/0.2762, allocations: 45.92 MB / 344.7 MB, free: 12.3 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005007/0.0005008, allocations: 8 kB / 418.6 MB, free: 20.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2088, allocations: 63.46 MB / 482.1 MB, free: 5.469 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.0007022/0.2096, allocations: 213.3 kB / 482.3 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009638/0.2106, allocations: 355.5 kB / 482.7 MB, free: 4.914 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.43e-05/0.2106, allocations: 0 / 482.7 MB, free: 4.914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.356e-05/0.2107, allocations: 4 kB / 482.7 MB, free: 4.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.582e-06/0.2107, allocations: 3.938 kB / 482.7 MB, free: 4.906 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:38:3-118:23:writable] Warning: Pure function ‘ModelicaTest.Math.BooleanFunctions‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.0008507/0.2115, allocations: 155.2 kB / 482.8 MB, free: 4.758 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.686e-05/0.2116, allocations: 3.984 kB / 482.8 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.223e-05/0.2116, allocations: 0 / 482.8 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.991e-05/0.2116, allocations: 3.984 kB / 482.8 MB, free: 4.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.687e-05/0.2117, allocations: 4 kB / 482.8 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.833e-06/0.2117, allocations: 0 / 482.8 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003526/0.212, allocations: 167.7 kB / 483 MB, free: 4.582 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.863e-06/0.2121, allocations: 0 / 483 MB, free: 4.582 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.476e-05/0.2121, allocations: 25.7 kB / 483 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002187/0.2123, allocations: 103.8 kB / 483.1 MB, free: 4.449 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2123, allocations: 3.938 kB / 483.1 MB, free: 4.445 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2123, allocations: 0 / 483.1 MB, free: 4.445 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.2124, allocations: 0 / 483.1 MB, free: 4.445 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.0004676/0.2128, allocations: 365.1 kB / 483.5 MB, free: 4.035 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.2129, allocations: 12.03 kB / 483.5 MB, free: 4.023 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.84e-05/0.2129, allocations: 0 / 483.5 MB, free: 4.023 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.2131, allocations: 171 kB / 483.7 MB, free: 3.816 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.2131, allocations: 0 / 483.7 MB, free: 3.816 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.146e-06/0.2131, allocations: 3.938 kB / 483.7 MB, free: 3.812 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.625e-05/0.2132, allocations: 33.69 kB / 483.7 MB, free: 3.773 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.2132, allocations: 0 / 483.7 MB, free: 3.773 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.2132, allocations: 0 / 483.7 MB, free: 3.773 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.2132, allocations: 0 / 483.7 MB, free: 3.773 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.68e-05/0.2133, allocations: 0 / 483.7 MB, free: 3.773 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001571/0.2134, allocations: 153.6 kB / 483.8 MB, free: 3.574 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.119e-05/0.2135, allocations: 22.52 kB / 483.9 MB, free: 3.543 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.296e-05/0.2135, allocations: 4.859 kB / 483.9 MB, free: 3.535 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.39e-06/0.2135, allocations: 4.094 kB / 483.9 MB, free: 3.531 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.447e-05/0.2136, allocations: 60.25 kB / 483.9 MB, free: 3.457 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.603e-06/0.2136, allocations: 0 / 483.9 MB, free: 3.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001953/0.2138, allocations: 67.39 kB / 484 MB, free: 3.379 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.073e-05/0.2138, allocations: 81.23 kB / 484.1 MB, free: 3.281 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.327e-05/0.2139, allocations: 93.8 kB / 484.2 MB, free: 3.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.5e-05/0.214, allocations: 25.7 kB / 484.2 MB, free: 3.148 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.687e-05/0.214, allocations: 80.14 kB / 484.3 MB, free: 3.066 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.045e-05/0.214, allocations: 0 / 484.3 MB, free: 3.066 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.684e-06/0.214, allocations: 7.938 kB / 484.3 MB, free: 3.059 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.2142, allocations: 314.8 kB / 484.6 MB, free: 2.742 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.949e-06/0.2142, allocations: 0 / 484.6 MB, free: 2.742 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.322e-06/0.2142, allocations: 0 / 484.6 MB, free: 2.742 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.638e-05/0.2142, allocations: 41.72 kB / 484.6 MB, free: 2.695 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2142, allocations: 0 / 484.6 MB, free: 2.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.326e-05/0.2143, allocations: 55.41 kB / 484.7 MB, free: 2.629 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.856e-05/0.2144, allocations: 37.69 kB / 484.7 MB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.2144, allocations: 0 / 484.7 MB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.2144, allocations: 0 / 484.7 MB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.142e-06/0.2144, allocations: 0 / 484.7 MB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.2144, allocations: 0 / 484.7 MB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.57e-05/0.2144, allocations: 0 / 484.7 MB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.2145, allocations: 4.031 kB / 484.7 MB, free: 2.582 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.0001153/0.2146, allocations: 143.4 kB / 484.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.446e-06/0.2146, allocations: 0 / 484.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.468e-06/0.2146, allocations: 7.125 kB / 484.9 MB, free: 2.422 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.2146, allocations: 0 / 484.9 MB, free: 2.422 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.2146, allocations: 0 / 484.9 MB, free: 2.422 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.2146, allocations: 0 / 484.9 MB, free: 2.422 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/0.2147, allocations: 149.7 kB / 485 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.2148, allocations: 3.953 kB / 485 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.61e-07/0.2148, allocations: 0 / 485 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2148, allocations: 8 kB / 485 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.2148, allocations: 7.938 kB / 485 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2148, allocations: 0 / 485 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2148, allocations: 0 / 485 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001134/0.2149, allocations: 90.83 kB / 485.1 MB, free: 2.094 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.823e-05/0.215, allocations: 85.05 kB / 485.2 MB, free: 1.992 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.215, allocations: 0 / 485.2 MB, free: 1.992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.46e-05/0.215, allocations: 4.031 kB / 485.2 MB, free: 1.988 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.965e-05/0.215, allocations: 7.984 kB / 485.2 MB, free: 1.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.75e-06/0.215, allocations: 0 / 485.2 MB, free: 1.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.277e-05/0.2151, allocations: 79.22 kB / 485.3 MB, free: 1.902 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2151, allocations: 0 / 485.3 MB, free: 1.902 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000337/0.2154, allocations: 48 kB / 485.3 MB, free: 1.855 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.000493/0.2159, allocations: 194.5 kB / 485.5 MB, free: 1.656 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001019/0.2161, allocations: 59.41 kB / 485.6 MB, free: 1.586 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2161, allocations: 0 / 485.6 MB, free: 1.586 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.141e-05/0.2161, allocations: 55.41 kB / 485.7 MB, free: 1.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.2162, allocations: 4 kB / 485.7 MB, free: 1.516 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002084/0.2165, allocations: 104.4 kB / 485.8 MB, free: 1.379 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.2168, allocations: 0.6731 MB / 486.4 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.408e-05/0.2168, allocations: 7.438 kB / 486.4 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2168, allocations: 4.125 kB / 486.4 MB, free: 0.668 MB / 350.1 MB Notification: Performance of Templates: time 0.003774/0.2206, allocations: 1.576 MB / 488 MB, free: 15.09 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.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 trunk/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 trunk/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctionsCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctionsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctionsCalcHelperMain.o] Error 1