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.001903/0.001903, allocations: 96.2 kB / 20.21 MB, free: 4.195 MB / 18.57 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.002204/0.002204, allocations: 157.3 kB / 23.52 MB, free: 0.8906 MB / 18.57 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.622/1.622, allocations: 158.6 MB / 185.3 MB, free: 2.902 MB / 170.7 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.2271/0.2271, allocations: 32.38 MB / 270 MB, free: 14.86 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 346.9 MB, free: 9.824 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.351e-05/2.502e-05, allocations: 6.25 kB / 346.9 MB, free: 9.816 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001181/0.001206, allocations: 0.4986 MB / 347.4 MB, free: 9.32 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005988/0.007195, allocations: 4.748 MB / 352.2 MB, free: 4.543 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.867e-05/0.007213, allocations: 0 / 352.2 MB, free: 4.543 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.225e-05/0.007225, allocations: 0 / 352.2 MB, free: 4.543 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.162e-06/0.007232, allocations: 0 / 352.2 MB, free: 4.543 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006246/0.01348, allocations: 3.337 MB / 355.5 MB, free: 1.199 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.205e-05/0.01353, allocations: 0 / 355.5 MB, free: 1.199 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.854e-05/0.01356, allocations: 0 / 355.5 MB, free: 1.199 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.301e-05/0.01358, allocations: 4 kB / 355.5 MB, free: 1.195 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.486e-05/0.0136, allocations: 4 kB / 355.5 MB, free: 1.191 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.143e-06/0.0136, allocations: 0 / 355.5 MB, free: 1.191 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03384/0.04744, allocations: 19.91 MB / 375.4 MB, free: 13.25 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.637e-05/0.04746, allocations: 0 / 375.4 MB, free: 13.25 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.623e-05/0.0475, allocations: 0 / 375.4 MB, free: 13.25 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04977/0.09727, allocations: 30.88 MB / 406.3 MB, free: 14.31 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.09728, allocations: 0 / 406.3 MB, free: 14.31 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.09728, allocations: 0 / 406.3 MB, free: 14.31 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.09728, allocations: 0 / 406.3 MB, free: 14.31 MB / 346.7 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.008325/0.1056, allocations: 0.6175 MB / 406.9 MB, free: 13.66 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.1056, allocations: 8.031 kB / 406.9 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.421e-05/0.1057, allocations: 8.938 kB / 406.9 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.79e-05/0.1058, allocations: 105.4 kB / 407 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.1058, allocations: 0 / 407 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.364e-06/0.1058, allocations: 0 / 407 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.1059, allocations: 59.39 kB / 407.1 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.1059, allocations: 0 / 407.1 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.1059, allocations: 0 / 407.1 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.1059, allocations: 0 / 407.1 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.283e-05/0.106, allocations: 29.7 kB / 407.1 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001307/0.1061, allocations: 97.27 kB / 407.2 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.501e-05/0.1062, allocations: 56.23 kB / 407.3 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.472e-05/0.1062, allocations: 38.55 kB / 407.3 MB, free: 13.17 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.113e-05/0.1062, allocations: 4.062 kB / 407.3 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.028e-05/0.1063, allocations: 60.27 kB / 407.4 MB, free: 13.09 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 7.51e-07/0.1063, allocations: 0 / 407.4 MB, free: 13.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.000234/0.1065, allocations: 118.8 kB / 407.5 MB, free: 12.95 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.267e-05/0.1066, allocations: 81.09 kB / 407.6 MB, free: 12.85 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.544e-05/0.1067, allocations: 97.81 kB / 407.7 MB, free: 12.75 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.1067, allocations: 25.7 kB / 407.7 MB, free: 12.71 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.471e-05/0.1067, allocations: 80.14 kB / 407.8 MB, free: 12.63 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.533e-05/0.1068, allocations: 128 / 407.8 MB, free: 12.63 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-05/0.1068, allocations: 21.66 kB / 407.8 MB, free: 12.61 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001911/0.107, allocations: 314.8 kB / 408.1 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.847e-05/0.107, allocations: 25.7 kB / 408.1 MB, free: 12.26 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.57e-05/0.107, allocations: 33.7 kB / 408.2 MB, free: 12.22 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.744e-05/0.1071, allocations: 60.25 kB / 408.2 MB, free: 12.14 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.1071, allocations: 3.938 kB / 408.2 MB, free: 12.14 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001167/0.1072, allocations: 93.05 kB / 408.3 MB, free: 12.03 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/0.1073, allocations: 33.7 kB / 408.4 MB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.1073, allocations: 0 / 408.4 MB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.1073, allocations: 4.094 kB / 408.4 MB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.256e-06/0.1073, allocations: 3.984 kB / 408.4 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.1073, allocations: 0 / 408.4 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.427e-05/0.1073, allocations: 0 / 408.4 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.1073, allocations: 4 kB / 408.4 MB, free: 11.98 MB / 346.7 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.0001066/0.1074, allocations: 135.5 kB / 408.5 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.067e-05/0.1074, allocations: 4 kB / 408.5 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.106e-05/0.1075, allocations: 3 kB / 408.5 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.42e-07/0.1075, allocations: 0 / 408.5 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1075, allocations: 0 / 408.5 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1075, allocations: 4 kB / 408.5 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.544e-05/0.1076, allocations: 101.3 kB / 408.6 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1076, allocations: 3.938 kB / 408.6 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.2e-07/0.1076, allocations: 0 / 408.6 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.041e-06/0.1076, allocations: 0 / 408.6 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.461e-06/0.1076, allocations: 0 / 408.6 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.1076, allocations: 0 / 408.6 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1076, allocations: 0 / 408.6 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001351/0.1077, allocations: 124.5 kB / 408.7 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.572e-06/0.1077, allocations: 3.938 kB / 408.7 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.1077, allocations: 0 / 408.7 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.09e-05/0.1077, allocations: 8.031 kB / 408.7 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.637e-05/0.1077, allocations: 0 / 408.7 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.1078, allocations: 4 kB / 408.7 MB, free: 11.52 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.327e-05/0.1078, allocations: 75.28 kB / 408.8 MB, free: 11.45 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1078, allocations: 0 / 408.8 MB, free: 11.45 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.01421/0.122, allocations: 3.83 MB / 412.6 MB, free: 7.613 MB / 346.7 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.02307/0.1451, allocations: 1.114 MB / 413.8 MB, free: 6.523 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001922/0.1453, allocations: 114.8 kB / 413.9 MB, free: 6.387 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1453, allocations: 0 / 413.9 MB, free: 6.387 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.221e-05/0.1453, allocations: 89.09 kB / 414 MB, free: 6.281 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001742/0.1455, allocations: 11.92 kB / 414 MB, free: 6.27 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00026/0.1458, allocations: 104.1 kB / 414.1 MB, free: 6.137 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.535e-05/0.1458, allocations: 55.36 kB / 414.1 MB, free: 6.062 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.723e-06/0.1458, allocations: 0 / 414.1 MB, free: 6.062 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.252e-05/0.1459, allocations: 12.5 kB / 414.1 MB, free: 6.051 MB / 346.7 MB Notification: Performance of SimCode: time 8.61e-07/0.1459, allocations: 0 / 414.1 MB, free: 6.051 MB / 346.7 MB Notification: Performance of Templates: time 0.2873/0.4332, allocations: 114.2 MB / 0.516 GB, free: 6.875 MB / 378.7 MB " [Timeout remaining time 660] 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 -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2.o ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2_functions.o ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2_functions.c ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2_functions.c:4972:12: error: call to undeclared function 'scalar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 4972 | _h = scalar(div_alloc_real_array_scalar(mul_alloc_real_matrix_product_smart(mul_alloc_real_array_scalar(tmp6, 2.0), tmp7), _lu)); | ^ 1 error generated. make: *** [: ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2_functions.o] Error 1 [Calling os._exit(0), Time elapsed: 3.9416312279645354]