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.00203/0.00203, allocations: 91.67 kB / 20.21 MB, free: 4.207 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.002086/0.002086, allocations: 165.2 kB / 23.52 MB, free: 0.9023 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.41/1.41, allocations: 158.6 MB / 185.3 MB, free: 2.891 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.2276/0.2276, allocations: 32.37 MB / 270 MB, free: 14.77 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 346.9 MB, free: 9.828 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.61e-05/2.778e-05, allocations: 2.312 kB / 346.9 MB, free: 9.824 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001315/0.001343, allocations: 0.5081 MB / 347.4 MB, free: 9.32 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006485/0.007828, allocations: 4.82 MB / 352.2 MB, free: 4.473 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.723e-05/0.007845, allocations: 0 / 352.2 MB, free: 4.473 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.322e-05/0.007858, allocations: 4 kB / 352.2 MB, free: 4.469 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.922e-06/0.007864, allocations: 0 / 352.2 MB, free: 4.469 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006715/0.01458, allocations: 3.337 MB / 355.6 MB, free: 1.125 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.946e-05/0.01463, allocations: 4 kB / 355.6 MB, free: 1.121 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.781e-05/0.01467, allocations: 11.97 kB / 355.6 MB, free: 1.109 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.996e-05/0.01472, allocations: 0 / 355.6 MB, free: 1.109 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.634e-05/0.01473, allocations: 0 / 355.6 MB, free: 1.109 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.414e-06/0.01474, allocations: 0 / 355.6 MB, free: 1.109 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0359/0.05064, allocations: 19.91 MB / 375.5 MB, free: 13.18 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.574e-05/0.05065, allocations: 4 kB / 375.5 MB, free: 13.17 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.536e-05/0.05069, allocations: 3.984 kB / 375.5 MB, free: 13.17 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0544/0.1051, allocations: 30.88 MB / 406.4 MB, free: 14.23 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.1051, allocations: 0 / 406.4 MB, free: 14.23 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.1051, allocations: 0 / 406.4 MB, free: 14.23 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.1051, allocations: 0 / 406.4 MB, free: 14.23 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.008425/0.1135, allocations: 0.7132 MB / 407.1 MB, free: 13.48 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.1136, allocations: 12.03 kB / 407.1 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.38e-05/0.1136, allocations: 0.9375 kB / 407.1 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.1138, allocations: 108.2 kB / 407.2 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.1138, allocations: 0 / 407.2 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.1138, allocations: 8 kB / 407.2 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.1139, allocations: 51.41 kB / 407.3 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.1139, allocations: 3.938 kB / 407.3 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.527e-06/0.1139, allocations: 4 kB / 407.3 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1139, allocations: 0 / 407.3 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.091e-05/0.114, allocations: 33.69 kB / 407.3 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001705/0.1142, allocations: 112.6 kB / 407.4 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.998e-05/0.1142, allocations: 48.77 kB / 407.5 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.268e-05/0.1143, allocations: 37.48 kB / 407.5 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/0.1143, allocations: 0 / 407.5 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.136e-05/0.1144, allocations: 63.09 kB / 407.6 MB, free: 12.88 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.1144, allocations: 0 / 407.6 MB, free: 12.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002918/0.1147, allocations: 130.7 kB / 407.7 MB, free: 12.73 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.09e-05/0.1147, allocations: 81.11 kB / 407.8 MB, free: 12.63 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.378e-05/0.1148, allocations: 146.2 kB / 407.9 MB, free: 12.47 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.1149, allocations: 25.7 kB / 408 MB, free: 12.44 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.217e-05/0.1149, allocations: 126.9 kB / 408.1 MB, free: 12.31 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.115, allocations: 0 / 408.1 MB, free: 12.31 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.844e-05/0.115, allocations: 27.36 kB / 408.1 MB, free: 12.28 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002717/0.1153, allocations: 496.1 kB / 408.6 MB, free: 11.78 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.144e-05/0.1153, allocations: 33.83 kB / 408.6 MB, free: 11.74 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.525e-05/0.1153, allocations: 25.7 kB / 408.7 MB, free: 11.71 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.613e-05/0.1154, allocations: 71.03 kB / 408.7 MB, free: 11.62 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.1154, allocations: 3.938 kB / 408.7 MB, free: 11.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001038/0.1155, allocations: 89.09 kB / 408.8 MB, free: 11.52 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.412e-05/0.1156, allocations: 29.7 kB / 408.8 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.1156, allocations: 0 / 408.8 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.1156, allocations: 4 kB / 408.8 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-07/0.1156, allocations: 0 / 408.8 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.1156, allocations: 4.094 kB / 408.8 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.773e-05/0.1156, allocations: 0 / 408.8 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.1156, allocations: 0 / 408.8 MB, free: 11.47 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.0001424/0.1158, allocations: 190.2 kB / 409 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.117e-05/0.1158, allocations: 4 kB / 409 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.549e-05/0.1158, allocations: 6.984 kB / 409 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1158, allocations: 4 kB / 409 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1158, allocations: 0 / 409 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.1158, allocations: 0 / 409 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/0.1159, allocations: 104.6 kB / 409.2 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.1159, allocations: 7.938 kB / 409.2 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.1159, allocations: 7.938 kB / 409.2 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.1159, allocations: 0 / 409.2 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.1159, allocations: 4 kB / 409.2 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.1159, allocations: 3.984 kB / 409.2 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1159, allocations: 0 / 409.2 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.1161, allocations: 123.9 kB / 409.3 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.178e-05/0.1161, allocations: 11.92 kB / 409.3 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.191e-05/0.1161, allocations: 0 / 409.3 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.546e-06/0.1161, allocations: 0 / 409.3 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.732e-05/0.1161, allocations: 0 / 409.3 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.1161, allocations: 4.031 kB / 409.3 MB, free: 10.92 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.911e-05/0.1162, allocations: 123.2 kB / 409.4 MB, free: 10.8 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1162, allocations: 0 / 409.4 MB, free: 10.8 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.01443/0.1306, allocations: 3.822 MB / 413.3 MB, free: 6.977 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.02305/0.1537, allocations: 1.109 MB / 414.4 MB, free: 5.891 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002248/0.1539, allocations: 130.5 kB / 414.5 MB, free: 5.734 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.1539, allocations: 0 / 414.5 MB, free: 5.734 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.639e-05/0.154, allocations: 88.8 kB / 414.6 MB, free: 5.625 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001525/0.1542, allocations: 7.938 kB / 414.6 MB, free: 5.617 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002662/0.1544, allocations: 121.7 kB / 414.7 MB, free: 5.465 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.43e-05/0.1545, allocations: 55.3 kB / 414.8 MB, free: 5.391 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.931e-06/0.1545, allocations: 4.125 kB / 414.8 MB, free: 5.387 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.859e-05/0.1545, allocations: 12.5 kB / 414.8 MB, free: 5.375 MB / 346.7 MB Notification: Performance of SimCode: time 1.152e-06/0.1545, allocations: 0 / 414.8 MB, free: 5.375 MB / 346.7 MB Notification: Performance of Templates: time 0.3159/0.4704, allocations: 117.5 MB / 0.5198 GB, free: 2.996 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.889146854984574]