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.001393/0.001393, allocations: 104.3 kB / 20.45 MB, free: 1.406 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.001531/0.001531, allocations: 212.1 kB / 23.74 MB, free: 4.57 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.543/1.543, allocations: 207.7 MB / 234.6 MB, free: 9.816 MB / 190.1 MB " [Timeout remaining time 178] 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.2241/0.2241, allocations: 44.26 MB / 331.1 MB, free: 9.332 MB / 270.1 MB " [Timeout remaining time 179] 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.002526/0.002526, allocations: 70.55 kB / 468.7 MB, free: 3.879 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1361, allocations: 61.05 MB / 0.5174 GB, free: 6.703 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.002089/0.1381, allocations: 0.4987 MB / 0.5179 GB, free: 6.203 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008993/0.1471, allocations: 4.735 MB / 0.5225 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.178e-05/0.1472, allocations: 0 / 0.5225 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.201e-05/0.1472, allocations: 0 / 0.5225 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.362e-06/0.1472, allocations: 0 / 0.5225 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009506/0.1567, allocations: 3.346 MB / 0.5257 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 6.565e-05/0.1568, allocations: 4 kB / 0.5257 GB, free: 14.08 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.587e-05/0.1568, allocations: 0 / 0.5257 GB, free: 14.08 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.586e-05/0.1568, allocations: 0 / 0.5257 GB, free: 14.08 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.943e-05/0.1568, allocations: 8 kB / 0.5258 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.861e-06/0.1568, allocations: 0 / 0.5258 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2746/0.4314, allocations: 19.9 MB / 0.5452 GB, free: 13.53 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.552e-05/0.4315, allocations: 1.156 kB / 0.5452 GB, free: 13.53 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.635e-05/0.4315, allocations: 0.8438 kB / 0.5452 GB, free: 13.53 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0524/0.4839, allocations: 26.29 MB / 0.5709 GB, free: 7.48 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.4839, allocations: 0 / 0.5709 GB, free: 7.48 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.4839, allocations: 0 / 0.5709 GB, free: 7.48 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.4839, allocations: 0 / 0.5709 GB, free: 7.48 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.01571/0.4996, allocations: 0.6142 MB / 0.5715 GB, free: 6.941 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.4997, allocations: 9.594 kB / 0.5715 GB, free: 6.941 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.281e-05/0.4997, allocations: 4.312 kB / 0.5715 GB, free: 6.941 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.24e-05/0.4998, allocations: 113.5 kB / 0.5716 GB, free: 6.809 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.4998, allocations: 0 / 0.5716 GB, free: 6.809 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.4998, allocations: 3.938 kB / 0.5716 GB, free: 6.805 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.4999, allocations: 58.59 kB / 0.5716 GB, free: 6.738 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.4999, allocations: 0 / 0.5716 GB, free: 6.738 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.4999, allocations: 0 / 0.5716 GB, free: 6.738 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.4999, allocations: 0 / 0.5716 GB, free: 6.738 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.499e-05/0.4999, allocations: 35.22 kB / 0.5717 GB, free: 6.703 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.41e-05/0.5, allocations: 97.02 kB / 0.5718 GB, free: 6.582 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.11e-05/0.5001, allocations: 48.81 kB / 0.5718 GB, free: 6.523 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.816e-05/0.5001, allocations: 37.78 kB / 0.5719 GB, free: 6.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.065e-06/0.5001, allocations: 0 / 0.5719 GB, free: 6.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.5002, allocations: 59.45 kB / 0.5719 GB, free: 6.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.5002, allocations: 0 / 0.5719 GB, free: 6.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001941/0.5004, allocations: 115.8 kB / 0.572 GB, free: 6.281 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.5004, allocations: 86.8 kB / 0.5721 GB, free: 6.184 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.097e-05/0.5004, allocations: 89.86 kB / 0.5722 GB, free: 6.086 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.803e-06/0.5004, allocations: 25.7 kB / 0.5722 GB, free: 6.055 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.998e-06/0.5004, allocations: 80.14 kB / 0.5723 GB, free: 5.973 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/0.5004, allocations: 0 / 0.5723 GB, free: 5.973 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.727e-05/0.5005, allocations: 16.98 kB / 0.5723 GB, free: 5.953 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.709e-05/0.5005, allocations: 310.8 kB / 0.5726 GB, free: 5.641 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.645e-05/0.5005, allocations: 29.45 kB / 0.5726 GB, free: 5.609 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.048e-05/0.5005, allocations: 28.86 kB / 0.5727 GB, free: 5.578 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.646e-05/0.5006, allocations: 66.8 kB / 0.5727 GB, free: 5.504 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.5006, allocations: 1.25 kB / 0.5727 GB, free: 5.504 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.796e-05/0.5006, allocations: 96.31 kB / 0.5728 GB, free: 5.402 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.128e-05/0.5007, allocations: 28.89 kB / 0.5728 GB, free: 5.371 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.5007, allocations: 3.25 kB / 0.5728 GB, free: 5.371 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.5007, allocations: 0 / 0.5728 GB, free: 5.371 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.11e-07/0.5007, allocations: 0.5938 kB / 0.5728 GB, free: 5.371 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.5007, allocations: 0 / 0.5728 GB, free: 5.371 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.884e-05/0.5007, allocations: 2.375 kB / 0.5729 GB, free: 5.371 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.5007, allocations: 0 / 0.5729 GB, free: 5.371 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.743e-05/0.5008, allocations: 148.1 kB / 0.573 GB, free: 5.215 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.896e-06/0.5008, allocations: 3.703 kB / 0.573 GB, free: 5.215 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.32e-05/0.5008, allocations: 4.328 kB / 0.573 GB, free: 5.215 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.5008, allocations: 3.719 kB / 0.573 GB, free: 5.215 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.268e-06/0.5008, allocations: 4.438 kB / 0.573 GB, free: 5.211 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.5008, allocations: 0 / 0.573 GB, free: 5.211 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.112e-05/0.5009, allocations: 96.55 kB / 0.5731 GB, free: 5.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.5009, allocations: 4.625 kB / 0.5731 GB, free: 5.086 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.5009, allocations: 0 / 0.5731 GB, free: 5.086 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.5009, allocations: 0.8438 kB / 0.5731 GB, free: 5.086 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.5009, allocations: 3.75 kB / 0.5731 GB, free: 5.086 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.5009, allocations: 7.141 kB / 0.5731 GB, free: 5.082 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.5009, allocations: 4.781 kB / 0.5731 GB, free: 5.082 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.338e-05/0.501, allocations: 113.9 kB / 0.5732 GB, free: 4.953 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.294e-06/0.501, allocations: 15.16 kB / 0.5732 GB, free: 4.941 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.501, allocations: 0 / 0.5732 GB, free: 4.941 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.445e-06/0.501, allocations: 0 / 0.5732 GB, free: 4.941 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/0.501, allocations: 3.156 kB / 0.5732 GB, free: 4.941 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.501, allocations: 4 kB / 0.5733 GB, free: 4.938 MB / 414.1 MB Notification: Performance of sorting global known variables: time 1.729e-05/0.501, allocations: 75.28 kB / 0.5733 GB, free: 4.863 MB / 414.1 MB Notification: Performance of sort global known variables: time 4e-08/0.501, allocations: 0 / 0.5733 GB, free: 4.863 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.02374/0.5248, allocations: 3.821 MB / 0.5771 GB, free: 4.707 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.04065/0.5654, allocations: 1.011 MB / 0.578 GB, free: 4.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002094/0.5656, allocations: 109.2 kB / 0.5781 GB, free: 4.215 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/0.5656, allocations: 0 / 0.5781 GB, free: 4.215 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.702e-05/0.5657, allocations: 87.2 kB / 0.5782 GB, free: 4.117 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001624/0.5658, allocations: 12.06 kB / 0.5782 GB, free: 4.109 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002326/0.5661, allocations: 136.4 kB / 0.5784 GB, free: 3.953 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.346e-05/0.5661, allocations: 54.64 kB / 0.5784 GB, free: 3.883 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.604e-05/0.5661, allocations: 10.59 kB / 0.5784 GB, free: 3.875 MB / 414.1 MB Notification: Performance of SimCode: time 8.52e-07/0.5661, allocations: 0 / 0.5784 GB, free: 3.875 MB / 414.1 MB Notification: Performance of Templates: time 0.1148/0.6809, allocations: 65.44 MB / 0.6423 GB, free: 3.152 MB / 478.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 -DOMC_BUILD -DUSE_THREAD -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: 5.3447723048739135] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.6905343048274517 0.7064900869999999 0.21911875999999994 Calling exit ...