Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2.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.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2") translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 100.7 kB / 16.52 MB, free: 6.664 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.001055/0.001055, allocations: 199.7 kB / 17.44 MB, free: 6.059 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.877/1.877, allocations: 205.1 MB / 223.3 MB, free: 12.51 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.2796/0.2796, allocations: 43.51 MB / 314.1 MB, free: 0.7617 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.00151/0.00151, allocations: 75.36 kB / 382.7 MB, free: 56.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1578, allocations: 57.77 MB / 440.5 MB, free: 7.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001904/0.1598, allocations: 0.5693 MB / 441 MB, free: 6.98 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008063/0.1679, allocations: 5.382 MB / 446.4 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.316e-06/0.1679, allocations: 0 / 446.4 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.354e-05/0.1679, allocations: 0 / 446.4 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.707e-06/0.168, allocations: 0 / 446.4 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007765/0.1758, allocations: 2.62 MB / 449 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.089e-05/0.1758, allocations: 0 / 449 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.652e-05/0.1759, allocations: 7.984 kB / 449 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.151e-05/0.1759, allocations: 0 / 449 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.045e-05/0.1759, allocations: 0 / 449 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.752e-06/0.176, allocations: 4 kB / 449 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03576/0.2117, allocations: 18.93 MB / 468 MB, free: 12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.377e-05/0.2118, allocations: 0 / 468 MB, free: 12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.2118, allocations: 0 / 468 MB, free: 12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03882/0.2507, allocations: 20.49 MB / 488.5 MB, free: 7.48 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.373e-05/0.2507, allocations: 0 / 488.5 MB, free: 7.48 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.2507, allocations: 0 / 488.5 MB, free: 7.48 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.2508, allocations: 4 kB / 488.5 MB, free: 7.477 MB / 366.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.01349/0.2643, allocations: 0.6613 MB / 489.1 MB, free: 6.762 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.2643, allocations: 8.031 kB / 489.1 MB, free: 6.754 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.252e-05/0.2644, allocations: 0.9375 kB / 489.1 MB, free: 6.754 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/0.2646, allocations: 167.2 kB / 489.3 MB, free: 6.551 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.2646, allocations: 7.938 kB / 489.3 MB, free: 6.543 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-06/0.2646, allocations: 0 / 489.3 MB, free: 6.543 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.481e-05/0.2647, allocations: 25.7 kB / 489.3 MB, free: 6.512 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.2647, allocations: 4 kB / 489.3 MB, free: 6.508 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.2648, allocations: 4 kB / 489.3 MB, free: 6.504 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-06/0.2648, allocations: 0 / 489.3 MB, free: 6.504 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.896e-05/0.2648, allocations: 3.938 kB / 489.3 MB, free: 6.5 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000433/0.2652, allocations: 157.6 kB / 489.5 MB, free: 6.297 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.602e-05/0.2653, allocations: 22.55 kB / 489.5 MB, free: 6.266 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.806e-05/0.2653, allocations: 4.859 kB / 489.5 MB, free: 6.258 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.067e-06/0.2653, allocations: 0 / 489.5 MB, free: 6.258 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.82e-05/0.2654, allocations: 64.33 kB / 489.6 MB, free: 6.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.2654, allocations: 0 / 489.6 MB, free: 6.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0003685/0.2658, allocations: 67.39 kB / 489.6 MB, free: 6.102 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.032e-05/0.2659, allocations: 77.11 kB / 489.7 MB, free: 6.008 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002438/0.2661, allocations: 89.86 kB / 489.8 MB, free: 5.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.2661, allocations: 25.7 kB / 489.8 MB, free: 5.879 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.99e-05/0.2662, allocations: 80.14 kB / 489.9 MB, free: 5.797 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.28e-05/0.2662, allocations: 128 / 489.9 MB, free: 5.797 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.762e-05/0.2662, allocations: 17.72 kB / 489.9 MB, free: 5.773 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.2664, allocations: 318.8 kB / 490.2 MB, free: 5.453 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.03e-05/0.2664, allocations: 7.938 kB / 490.2 MB, free: 5.445 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.32e-06/0.2664, allocations: 0 / 490.2 MB, free: 5.445 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.071e-05/0.2665, allocations: 68.19 kB / 490.3 MB, free: 5.363 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2665, allocations: 0 / 490.3 MB, free: 5.363 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.922e-05/0.2665, allocations: 59.41 kB / 490.4 MB, free: 5.293 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.489e-05/0.2666, allocations: 33.8 kB / 490.4 MB, free: 5.254 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.2666, allocations: 4 kB / 490.4 MB, free: 5.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.2666, allocations: 0 / 490.4 MB, free: 5.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.487e-06/0.2666, allocations: 3.984 kB / 490.4 MB, free: 5.246 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.2666, allocations: 0 / 490.4 MB, free: 5.246 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2e-05/0.2667, allocations: 4 kB / 490.4 MB, free: 5.242 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.2667, allocations: 3.938 kB / 490.4 MB, free: 5.238 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001418/0.2668, allocations: 139.5 kB / 490.6 MB, free: 5.086 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.01e-05/0.2668, allocations: 3.984 kB / 490.6 MB, free: 5.082 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.134e-05/0.2669, allocations: 7.125 kB / 490.6 MB, free: 5.078 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.2669, allocations: 0 / 490.6 MB, free: 5.078 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.2669, allocations: 0 / 490.6 MB, free: 5.078 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.2669, allocations: 0 / 490.6 MB, free: 5.078 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/0.2671, allocations: 153.6 kB / 490.7 MB, free: 4.879 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2671, allocations: 0 / 490.7 MB, free: 4.879 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.795e-06/0.2671, allocations: 0 / 490.7 MB, free: 4.879 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.2671, allocations: 3.938 kB / 490.7 MB, free: 4.875 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/0.2671, allocations: 0 / 490.7 MB, free: 4.875 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.2671, allocations: 0 / 490.7 MB, free: 4.875 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2671, allocations: 4 kB / 490.7 MB, free: 4.871 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001171/0.2673, allocations: 94.77 kB / 490.8 MB, free: 4.754 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.686e-05/0.2673, allocations: 77.11 kB / 490.9 MB, free: 4.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.2674, allocations: 4 kB / 490.9 MB, free: 4.656 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.845e-06/0.2674, allocations: 0 / 490.9 MB, free: 4.656 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.169e-05/0.2674, allocations: 4 kB / 490.9 MB, free: 4.652 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.2674, allocations: 3.938 kB / 490.9 MB, free: 4.648 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.002e-05/0.2675, allocations: 79.22 kB / 491 MB, free: 4.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2675, allocations: 4.031 kB / 491 MB, free: 4.566 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.01625/0.2837, allocations: 3.816 MB / 494.8 MB, free: 0.75 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 (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.03307/0.3169, allocations: 1.006 MB / 495.8 MB, free: 15.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002461/0.3172, allocations: 59.39 kB / 495.9 MB, free: 15.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.3172, allocations: 0 / 495.9 MB, free: 15.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.65e-05/0.3172, allocations: 59.41 kB / 495.9 MB, free: 15.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001738/0.3174, allocations: 15.25 kB / 495.9 MB, free: 15.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003052/0.3177, allocations: 100.4 kB / 496 MB, free: 15.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/0.3181, allocations: 0.6811 MB / 496.7 MB, free: 14.76 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.536e-05/0.3181, allocations: 7.438 kB / 496.7 MB, free: 14.75 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3181, allocations: 0 / 496.7 MB, free: 14.75 MB / 382.1 MB Notification: Performance of Templates: time 0.4078/0.7259, allocations: 65.41 MB / 0.549 GB, free: 36.97 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2.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.TestMatrices2CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2CalcHelperMain.o] Error 1