Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.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.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations") translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001118/0.001118, allocations: 93.55 kB / 17.64 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001316/0.001315, allocations: 197.6 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 227.3 MB / 246.6 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.241/0.241, allocations: 45.91 MB / 344.7 MB, free: 12.04 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003145/0.0003148, allocations: 8 kB / 418.6 MB, free: 20.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1791, allocations: 63.46 MB / 482.1 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.0006049/0.1798, allocations: 189.3 kB / 482.3 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003479/0.1833, allocations: 2.246 MB / 484.5 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.357e-05/0.1833, allocations: 0 / 484.5 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.362e-05/0.1834, allocations: 4 kB / 484.5 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.426e-06/0.1834, allocations: 0 / 484.5 MB, free: 2.953 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/ComplexMath.mo:4:3-189:23:writable] Warning: Pure function ‘ModelicaTest.ComplexMath.ComplexFunctions‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.002409/0.1858, allocations: 0.9151 MB / 485.5 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.249e-05/0.1858, allocations: 7.938 kB / 485.5 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.484e-05/0.1859, allocations: 0 / 485.5 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.943e-05/0.1859, allocations: 4 kB / 485.5 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.703e-05/0.186, allocations: 0 / 485.5 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.454e-06/0.186, allocations: 0 / 485.5 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001571/0.1875, allocations: 0.9287 MB / 486.4 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.325e-06/0.1876, allocations: 0 / 486.4 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.586e-05/0.1876, allocations: 25.7 kB / 486.4 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004226/0.188, allocations: 279.5 kB / 486.7 MB, free: 0.793 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.1881, allocations: 0 / 486.7 MB, free: 0.793 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.817e-06/0.1881, allocations: 11.98 kB / 486.7 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.1881, allocations: 0 / 486.7 MB, free: 0.7812 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.0004519/0.1885, allocations: 429.3 kB / 487.1 MB, free: 316 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.1886, allocations: 8.031 kB / 487.1 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.377e-05/0.1886, allocations: 0 / 487.1 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.1888, allocations: 174.9 kB / 487.3 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.1888, allocations: 4 kB / 487.3 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.1888, allocations: 4 kB / 487.3 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.905e-05/0.1889, allocations: 25.7 kB / 487.3 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.1889, allocations: 4 kB / 487.3 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.1889, allocations: 11.94 kB / 487.4 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.1889, allocations: 0 / 487.4 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.811e-05/0.189, allocations: 0 / 487.4 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000194/0.1892, allocations: 145.6 kB / 487.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.082e-05/0.1892, allocations: 26.53 kB / 487.5 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.086e-05/0.1892, allocations: 4.859 kB / 487.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.903e-06/0.1893, allocations: 0 / 487.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.346e-05/0.1894, allocations: 68.33 kB / 487.6 MB, free: 15.72 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 1.373e-06/0.1894, allocations: 0 / 487.6 MB, free: 15.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002188/0.1896, allocations: 59.39 kB / 487.7 MB, free: 15.65 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.898e-05/0.1897, allocations: 85.05 kB / 487.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.296e-05/0.1898, allocations: 89.86 kB / 487.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.1898, allocations: 25.7 kB / 487.8 MB, free: 15.42 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.674e-05/0.1898, allocations: 84.08 kB / 487.9 MB, free: 15.33 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.28e-05/0.1898, allocations: 128 / 487.9 MB, free: 15.33 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-06/0.1899, allocations: 4 kB / 487.9 MB, free: 15.33 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.19, allocations: 314.8 kB / 488.2 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.019e-05/0.19, allocations: 4 kB / 488.2 MB, free: 15.01 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.599e-06/0.1901, allocations: 0 / 488.2 MB, free: 15.01 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.271e-05/0.1901, allocations: 25.7 kB / 488.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.1901, allocations: 3.953 kB / 488.3 MB, free: 14.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.194e-05/0.1902, allocations: 63.39 kB / 488.3 MB, free: 14.9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.169e-05/0.1902, allocations: 33.7 kB / 488.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.1902, allocations: 4.094 kB / 488.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.1903, allocations: 0 / 488.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.342e-06/0.1903, allocations: 0 / 488.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.1903, allocations: 0 / 488.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.997e-05/0.1903, allocations: 0 / 488.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.1903, allocations: 0 / 488.4 MB, free: 14.86 MB / 366.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.0001268/0.1905, allocations: 143.5 kB / 488.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.829e-06/0.1905, allocations: 7.891 kB / 488.5 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.097e-05/0.1905, allocations: 3.125 kB / 488.5 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.1905, allocations: 4 kB / 488.5 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1905, allocations: 0 / 488.5 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1905, allocations: 4 kB / 488.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.1906, allocations: 145.7 kB / 488.7 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1907, allocations: 0 / 488.7 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.44e-06/0.1907, allocations: 7.938 kB / 488.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1907, allocations: 0 / 488.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.1907, allocations: 0 / 488.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1907, allocations: 7.984 kB / 488.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1907, allocations: 0 / 488.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001091/0.1908, allocations: 94.69 kB / 488.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.707e-05/0.1909, allocations: 85.09 kB / 488.9 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.1909, allocations: 3.953 kB / 488.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.198e-05/0.1909, allocations: 0 / 488.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.809e-05/0.1909, allocations: 3.938 kB / 488.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.1909, allocations: 0 / 488.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.596e-05/0.191, allocations: 75.28 kB / 488.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.191, allocations: 7.938 kB / 489 MB, free: 14.17 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005308/0.1915, allocations: 160 kB / 489.1 MB, free: 14.01 MB / 366.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.0007563/0.1923, allocations: 377.9 kB / 489.5 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 9.356e-05/0.1924, allocations: 59.39 kB / 489.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.1924, allocations: 0 / 489.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.441e-05/0.1924, allocations: 55.41 kB / 489.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.1926, allocations: 7.938 kB / 489.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002044/0.1928, allocations: 100.5 kB / 489.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.1931, allocations: 0.6731 MB / 490.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.139e-05/0.1932, allocations: 15.56 kB / 490.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1932, allocations: 0 / 490.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of Templates: time 0.007292/0.2005, allocations: 3.908 MB / 494.3 MB, free: 8.73 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.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.ComplexMath.TestComplexOperationsCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperationsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperationsCalcHelperMain.o] Error 1