Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.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.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations") translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 107.4 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.001522/0.001522, allocations: 195.2 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.919/1.919, allocations: 205.1 MB / 223.3 MB, free: 12.4 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.27/0.27, allocations: 43.53 MB / 314.2 MB, free: 0.7266 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.001451/0.001451, allocations: 64.7 kB / 382.7 MB, free: 56.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1377, allocations: 57.79 MB / 440.5 MB, free: 7.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.001717/0.1395, allocations: 0.5387 MB / 441 MB, free: 6.957 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002779/0.1423, allocations: 2.387 MB / 443.4 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.261e-05/0.1423, allocations: 0 / 443.4 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.136e-05/0.1424, allocations: 0 / 443.4 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.15e-06/0.1424, allocations: 0 / 443.4 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002047/0.1444, allocations: 1.032 MB / 444.4 MB, free: 3.52 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 3.814e-05/0.1445, allocations: 0 / 444.4 MB, free: 3.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.856e-05/0.1445, allocations: 0 / 444.4 MB, free: 3.52 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.025e-05/0.1445, allocations: 4 kB / 444.4 MB, free: 3.516 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.363e-05/0.1446, allocations: 0 / 444.4 MB, free: 3.516 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.105e-06/0.1446, allocations: 0 / 444.4 MB, free: 3.516 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001295/0.1459, allocations: 0.9638 MB / 445.4 MB, free: 2.551 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.045e-05/0.1459, allocations: 0 / 445.4 MB, free: 2.551 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.569e-05/0.1459, allocations: 0 / 445.4 MB, free: 2.551 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003535/0.1463, allocations: 263.5 kB / 445.6 MB, free: 2.293 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1463, allocations: 0 / 445.6 MB, free: 2.293 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1463, allocations: 0 / 445.6 MB, free: 2.293 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.1463, allocations: 0 / 445.6 MB, free: 2.293 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.0004167/0.1468, allocations: 436.7 kB / 446.1 MB, free: 1.816 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.1468, allocations: 16.03 kB / 446.1 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.081e-05/0.1469, allocations: 8.828 kB / 446.1 MB, free: 1.793 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.688e-05/0.1469, allocations: 164.4 kB / 446.3 MB, free: 1.594 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.147, allocations: 384 / 446.3 MB, free: 1.594 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.147, allocations: 4.312 kB / 446.3 MB, free: 1.59 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.1471, allocations: 38.02 kB / 446.3 MB, free: 1.547 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.1471, allocations: 0 / 446.3 MB, free: 1.547 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.1471, allocations: 0 / 446.3 MB, free: 1.547 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1471, allocations: 0 / 446.3 MB, free: 1.547 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.31e-05/0.1472, allocations: 8 kB / 446.3 MB, free: 1.539 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001147/0.1473, allocations: 145.7 kB / 446.4 MB, free: 1.348 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.1e-05/0.1473, allocations: 14.58 kB / 446.5 MB, free: 1.324 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.602e-05/0.1473, allocations: 12.89 kB / 446.5 MB, free: 1.309 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.35e-06/0.1474, allocations: 0 / 446.5 MB, free: 1.309 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.285e-05/0.1474, allocations: 64.2 kB / 446.5 MB, free: 1.23 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 1.253e-06/0.1474, allocations: 0 / 446.5 MB, free: 1.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002069/0.1476, allocations: 67.39 kB / 446.6 MB, free: 1.152 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.1477, allocations: 77.11 kB / 446.7 MB, free: 1.059 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.491e-05/0.1477, allocations: 89.86 kB / 446.8 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.1477, allocations: 33.64 kB / 446.8 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.044e-05/0.1478, allocations: 88.06 kB / 446.9 MB, free: 0.832 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.1478, allocations: 0 / 446.9 MB, free: 0.832 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.534e-05/0.1478, allocations: 17.72 kB / 446.9 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.939e-05/0.1479, allocations: 315 kB / 447.2 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.241e-05/0.1479, allocations: 7.938 kB / 447.2 MB, free: 496 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.34e-06/0.1479, allocations: 0 / 447.2 MB, free: 496 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.306e-05/0.148, allocations: 64.25 kB / 447.3 MB, free: 416 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.148, allocations: 0 / 447.3 MB, free: 416 kB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.301e-05/0.148, allocations: 63.41 kB / 447.3 MB, free: 340 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.834e-05/0.1481, allocations: 33.64 kB / 447.4 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1481, allocations: 0 / 447.4 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.1481, allocations: 0 / 447.4 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-06/0.1481, allocations: 4.094 kB / 447.4 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.1481, allocations: 3.984 kB / 447.4 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.403e-05/0.1481, allocations: 4 kB / 447.4 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.1482, allocations: 4 kB / 447.4 MB, free: 284 kB / 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 9.031e-05/0.1483, allocations: 139.4 kB / 447.5 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.446e-06/0.1483, allocations: 7.938 kB / 447.5 MB, free: 120 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.702e-05/0.1483, allocations: 3.125 kB / 447.5 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.22e-07/0.1483, allocations: 0 / 447.5 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.1483, allocations: 0 / 447.5 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1483, allocations: 4 kB / 447.5 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001568/0.1485, allocations: 145.7 kB / 447.7 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.1485, allocations: 4 kB / 447.7 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.31e-07/0.1485, allocations: 0 / 447.7 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.1485, allocations: 3.938 kB / 447.7 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.1485, allocations: 0 / 447.7 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.1485, allocations: 0 / 447.7 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1485, allocations: 0 / 447.7 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001315/0.1487, allocations: 98.83 kB / 447.8 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.083e-05/0.1488, allocations: 77.11 kB / 447.9 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.1488, allocations: 3.938 kB / 447.9 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.048e-05/0.1488, allocations: 4 kB / 447.9 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.093e-05/0.1488, allocations: 0 / 447.9 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.1488, allocations: 0 / 447.9 MB, free: 15.69 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.851e-05/0.1489, allocations: 87.19 kB / 448 MB, free: 15.6 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1489, allocations: 0 / 448 MB, free: 15.6 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004915/0.1494, allocations: 140 kB / 448.1 MB, free: 15.46 MB / 334.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.0009835/0.1504, allocations: 365.6 kB / 448.4 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001557/0.1506, allocations: 67.33 kB / 448.5 MB, free: 15.03 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.1506, allocations: 4.062 kB / 448.5 MB, free: 15.03 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.358e-05/0.1506, allocations: 55.41 kB / 448.6 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001481/0.1508, allocations: 4 kB / 448.6 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002869/0.1511, allocations: 96.47 kB / 448.7 MB, free: 14.83 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003962/0.1515, allocations: 0.677 MB / 449.3 MB, free: 14.13 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.67e-05/0.1515, allocations: 7.438 kB / 449.4 MB, free: 14.12 MB / 334.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1515, allocations: 0 / 449.4 MB, free: 14.12 MB / 334.1 MB Notification: Performance of Templates: time 0.006602/0.1581, allocations: 3.616 MB / 453 MB, free: 10.5 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.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.ComplexMath.TestComplexOperationsCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperationsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperationsCalcHelperMain.o] Error 1