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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 105 kB / 20.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 222.2 kB / 23.76 MB, free: 4.723 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.268/1.268, allocations: 207.6 MB / 234.5 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2003/0.2003, allocations: 44.23 MB / 331 MB, free: 9.531 MB / 270.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2") translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 69 kB / 468.7 MB, free: 4.031 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1145, allocations: 61.04 MB / 0.5174 GB, free: 6.852 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001469/0.1159, allocations: 0.4948 MB / 0.5178 GB, free: 6.355 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007644/0.1236, allocations: 5.135 MB / 0.5229 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.116e-05/0.1236, allocations: 0 / 0.5229 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.369e-05/0.1236, allocations: 0 / 0.5229 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.141e-06/0.1236, allocations: 0 / 0.5229 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00802/0.1316, allocations: 3.342 MB / 0.5261 GB, free: 13.84 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 6.194e-05/0.1317, allocations: 3.984 kB / 0.5261 GB, free: 13.84 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.805e-05/0.1317, allocations: 8 kB / 0.5261 GB, free: 13.83 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.614e-05/0.1318, allocations: 4 kB / 0.5261 GB, free: 13.82 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.515e-05/0.1318, allocations: 0 / 0.5261 GB, free: 13.82 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.641e-06/0.1318, allocations: 0 / 0.5261 GB, free: 13.82 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2506/0.3824, allocations: 21.08 MB / 0.5467 GB, free: 13.79 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.476e-05/0.3824, allocations: 3.125 kB / 0.5467 GB, free: 13.79 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.871e-05/0.3824, allocations: 1.344 kB / 0.5467 GB, free: 13.79 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04265/0.4251, allocations: 27.77 MB / 0.5738 GB, free: 5.984 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.4251, allocations: 0 / 0.5738 GB, free: 5.984 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4251, allocations: 0 / 0.5738 GB, free: 5.984 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.4251, allocations: 3.25 kB / 0.5738 GB, free: 5.984 MB / 414.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.01347/0.4386, allocations: 0.6101 MB / 0.5744 GB, free: 5.445 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.4386, allocations: 10.06 kB / 0.5744 GB, free: 5.445 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.218e-05/0.4386, allocations: 2.359 kB / 0.5744 GB, free: 5.445 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.297e-05/0.4387, allocations: 111.2 kB / 0.5746 GB, free: 5.312 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.4387, allocations: 3.188 kB / 0.5746 GB, free: 5.312 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.845e-06/0.4387, allocations: 1.938 kB / 0.5746 GB, free: 5.312 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.692e-05/0.4388, allocations: 37.91 kB / 0.5746 GB, free: 5.277 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.4388, allocations: 0 / 0.5746 GB, free: 5.277 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.4388, allocations: 0 / 0.5746 GB, free: 5.277 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.4388, allocations: 0 / 0.5746 GB, free: 5.277 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.692e-05/0.4388, allocations: 0.5938 kB / 0.5746 GB, free: 5.277 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.742e-05/0.4389, allocations: 124.8 kB / 0.5747 GB, free: 5.117 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.035e-05/0.439, allocations: 20.08 kB / 0.5747 GB, free: 5.094 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.319e-05/0.439, allocations: 8.844 kB / 0.5747 GB, free: 5.082 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.508e-06/0.439, allocations: 0 / 0.5747 GB, free: 5.082 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.439, allocations: 63.48 kB / 0.5748 GB, free: 5.008 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.439, allocations: 2.656 kB / 0.5748 GB, free: 5.008 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001702/0.4392, allocations: 67.11 kB / 0.5749 GB, free: 4.941 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.4392, allocations: 77.11 kB / 0.5749 GB, free: 4.848 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.552e-05/0.4393, allocations: 93.84 kB / 0.575 GB, free: 4.746 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.593e-06/0.4393, allocations: 25.7 kB / 0.5751 GB, free: 4.715 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.879e-06/0.4393, allocations: 80.67 kB / 0.5751 GB, free: 4.633 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.686e-05/0.4393, allocations: 5.438 kB / 0.5751 GB, free: 4.633 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.318e-05/0.4393, allocations: 12.53 kB / 0.5752 GB, free: 4.617 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.387e-05/0.4394, allocations: 318 kB / 0.5755 GB, free: 4.301 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.278e-06/0.4394, allocations: 3.75 kB / 0.5755 GB, free: 4.301 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.042e-06/0.4394, allocations: 3.5 kB / 0.5755 GB, free: 4.301 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.336e-05/0.4394, allocations: 63.42 kB / 0.5755 GB, free: 4.227 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4394, allocations: 0 / 0.5755 GB, free: 4.227 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.9e-05/0.4395, allocations: 65.02 kB / 0.5756 GB, free: 4.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.4395, allocations: 32.86 kB / 0.5756 GB, free: 4.125 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.4395, allocations: 0 / 0.5756 GB, free: 4.125 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.4395, allocations: 3.156 kB / 0.5756 GB, free: 4.125 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.21e-07/0.4395, allocations: 0 / 0.5756 GB, free: 4.125 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.4395, allocations: 2.719 kB / 0.5756 GB, free: 4.125 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.849e-05/0.4395, allocations: 4.906 kB / 0.5756 GB, free: 4.125 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.4395, allocations: 0 / 0.5756 GB, free: 4.125 MB / 414.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 5.217e-05/0.4396, allocations: 142.7 kB / 0.5758 GB, free: 3.973 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.218e-06/0.4396, allocations: 0.5156 kB / 0.5758 GB, free: 3.973 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.118e-05/0.4396, allocations: 7.25 kB / 0.5758 GB, free: 3.973 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.4396, allocations: 3.188 kB / 0.5758 GB, free: 3.973 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.4396, allocations: 0 / 0.5758 GB, free: 3.973 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.4396, allocations: 0 / 0.5758 GB, free: 3.973 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.881e-05/0.4397, allocations: 116.7 kB / 0.5759 GB, free: 3.816 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.4397, allocations: 7.172 kB / 0.5759 GB, free: 3.812 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.4397, allocations: 0 / 0.5759 GB, free: 3.812 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.4397, allocations: 0 / 0.5759 GB, free: 3.812 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.4397, allocations: 0 / 0.5759 GB, free: 3.812 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.4397, allocations: 0 / 0.5759 GB, free: 3.812 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.4397, allocations: 2.594 kB / 0.5759 GB, free: 3.812 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.146e-05/0.4398, allocations: 102.1 kB / 0.576 GB, free: 3.707 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.891e-06/0.4398, allocations: 11.89 kB / 0.576 GB, free: 3.695 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.4398, allocations: 0 / 0.576 GB, free: 3.695 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.919e-06/0.4398, allocations: 4.969 kB / 0.576 GB, free: 3.695 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.405e-05/0.4398, allocations: 1.219 kB / 0.576 GB, free: 3.695 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.4398, allocations: 0 / 0.576 GB, free: 3.695 MB / 414.1 MB Notification: Performance of sorting global known variables: time 1.258e-05/0.4398, allocations: 75.28 kB / 0.5761 GB, free: 3.621 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4398, allocations: 2.344 kB / 0.5761 GB, free: 3.621 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0169/0.4567, allocations: 3.824 MB / 0.5798 GB, free: 3.207 MB / 414.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.03444/0.4912, allocations: 1.005 MB / 0.5808 GB, free: 2.293 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001179/0.4913, allocations: 65.66 kB / 0.5809 GB, free: 2.219 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4913, allocations: 0 / 0.5809 GB, free: 2.219 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.852e-05/0.4913, allocations: 55.41 kB / 0.5809 GB, free: 2.152 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001352/0.4914, allocations: 3.938 kB / 0.5809 GB, free: 2.148 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000168/0.4916, allocations: 116.2 kB / 0.581 GB, free: 2.008 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.567e-05/0.4917, allocations: 0.669 MB / 0.5817 GB, free: 1.312 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.123e-05/0.4917, allocations: 11.44 kB / 0.5817 GB, free: 1.301 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4917, allocations: 0 / 0.5817 GB, free: 1.301 MB / 414.1 MB Notification: Performance of Templates: time 0.1044/0.5961, allocations: 65.43 MB / 0.6456 GB, free: 15.84 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2.makefile [Timeout 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2.makefile clang++ -std=c++17 -fopenmp=libomp -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 In file included from OMCppModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2CalcHelperMain.cpp:28: ./OMCppModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2Functions.cpp:4009:3: error: unknown type name 'scalarRetType' scalarRetType tmp525; ^ ./OMCppModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2Functions.cpp:5941:5: warning: expression result unused [-Wunused-value] tmp920; ^~~~~~ ./OMCppModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2Functions.cpp:5978:5: warning: expression result unused [-Wunused-value] tmp930; ^~~~~~ 2 warnings and 1 error generated. make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2CalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.599289889913052] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.6045951198320836 0.6180502920000001 0.190097064 Calling exit ...