Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001461/0.001462, allocations: 111.2 kB / 18.4 MB, free: 4.676 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 190.9 kB / 21.34 MB, free: 1.738 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.624/1.624, allocations: 205.1 MB / 229.2 MB, free: 4.527 MB / 174.1 MB " [Timeout remaining time 178] 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(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile") translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile") [Timeout 660] "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.001799/0.001799, allocations: 46.83 kB / 335.2 MB, free: 14.2 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09429/0.0961, allocations: 46.62 MB / 381.8 MB, free: 0.5 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001573/0.09772, allocations: 0.5309 MB / 382.3 MB, free: 15.96 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002488/0.1002, allocations: 1.83 MB / 384.2 MB, free: 14.12 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.772e-05/0.1003, allocations: 0 / 384.2 MB, free: 14.12 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002107/0.1024, allocations: 151.2 kB / 384.3 MB, free: 13.97 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.802e-05/0.1025, allocations: 27.91 kB / 384.4 MB, free: 13.94 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00021/0.1027, allocations: 43.88 kB / 384.4 MB, free: 13.9 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001345/0.1029, allocations: 71.86 kB / 384.5 MB, free: 13.83 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.93e-05/0.1029, allocations: 3.938 kB / 384.5 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.19e-05/0.103, allocations: 35.86 kB / 384.5 MB, free: 13.79 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.1031, allocations: 31.84 kB / 384.5 MB, free: 13.76 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.374e-05/0.1031, allocations: 4 kB / 384.5 MB, free: 13.75 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.261e-05/0.1032, allocations: 15.98 kB / 384.6 MB, free: 13.74 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.474e-05/0.1033, allocations: 15.97 kB / 384.6 MB, free: 13.72 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.565e-05/0.1034, allocations: 23.81 kB / 384.6 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002154/0.1036, allocations: 67.72 kB / 384.7 MB, free: 13.63 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1036, allocations: 0 / 384.7 MB, free: 13.63 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1036, allocations: 0 / 384.7 MB, free: 13.63 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.1036, allocations: 0 / 384.7 MB, free: 13.63 MB / 318.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.0005569/0.1042, allocations: 408.8 kB / 385.1 MB, free: 13.18 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.1042, allocations: 8.031 kB / 385.1 MB, free: 13.17 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.172e-05/0.1043, allocations: 8.891 kB / 385.1 MB, free: 13.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004787/0.1048, allocations: 316.1 kB / 385.4 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.1048, allocations: 384 / 385.4 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.1048, allocations: 384 / 385.4 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.1049, allocations: 86.22 kB / 385.5 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.105, allocations: 0 / 385.5 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.105, allocations: 4 kB / 385.5 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.105, allocations: 0 / 385.5 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.612e-05/0.105, allocations: 0 / 385.5 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003349/0.1054, allocations: 185.6 kB / 385.7 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.048e-05/0.1054, allocations: 14.58 kB / 385.7 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.752e-05/0.1054, allocations: 16.86 kB / 385.7 MB, free: 12.43 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.027e-05/0.1055, allocations: 0 / 385.7 MB, free: 12.43 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.875e-05/0.1055, allocations: 60.2 kB / 385.7 MB, free: 12.36 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.1055, allocations: 3.938 kB / 385.7 MB, free: 12.36 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001513/0.1057, allocations: 45.69 kB / 385.8 MB, free: 12.3 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/0.1058, allocations: 158.2 kB / 385.9 MB, free: 12.11 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.106, allocations: 149.8 kB / 386.1 MB, free: 11.96 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.046e-05/0.106, allocations: 29.83 kB / 386.1 MB, free: 11.92 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.758e-05/0.1061, allocations: 96.12 kB / 386.2 MB, free: 11.82 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.1061, allocations: 11.89 kB / 386.2 MB, free: 11.81 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.1061, allocations: 13.72 kB / 386.2 MB, free: 11.79 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.1063, allocations: 322.8 kB / 386.6 MB, free: 11.47 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.293e-05/0.1063, allocations: 0 / 386.6 MB, free: 11.47 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.965e-05/0.1064, allocations: 56.16 kB / 386.6 MB, free: 11.4 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.02e-05/0.1064, allocations: 12.86 kB / 386.6 MB, free: 11.38 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1064, allocations: 0 / 386.6 MB, free: 11.38 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.48e-05/0.1065, allocations: 53.58 kB / 386.7 MB, free: 11.32 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.1065, allocations: 8 kB / 386.7 MB, free: 11.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.1065, allocations: 0 / 386.7 MB, free: 11.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.1066, allocations: 4 kB / 386.7 MB, free: 11.31 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.642e-05/0.1066, allocations: 0 / 386.7 MB, free: 11.31 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.1066, allocations: 4 kB / 386.7 MB, free: 11.31 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.328e-05/0.1067, allocations: 4.094 kB / 386.7 MB, free: 11.3 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-06/0.1067, allocations: 0 / 386.7 MB, free: 11.3 MB / 318.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0001098/0.1068, allocations: 125.8 kB / 386.8 MB, free: 11.17 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.178e-05/0.1068, allocations: 15.83 kB / 386.8 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.549e-05/0.1069, allocations: 7.875 kB / 386.8 MB, free: 11.15 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.1069, allocations: 0 / 386.8 MB, free: 11.15 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1069, allocations: 0 / 386.8 MB, free: 11.15 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.1069, allocations: 0 / 386.8 MB, free: 11.15 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002/0.1071, allocations: 177.6 kB / 387 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1071, allocations: 4 kB / 387 MB, free: 10.92 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.787e-05/0.1071, allocations: 3.938 kB / 387 MB, free: 10.92 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.1072, allocations: 0 / 387 MB, free: 10.92 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.1072, allocations: 4 kB / 387 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.1072, allocations: 0 / 387 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.1072, allocations: 3.938 kB / 387 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001283/0.1073, allocations: 73.08 kB / 387.1 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.406e-05/0.1074, allocations: 93.02 kB / 387.2 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.1074, allocations: 4.094 kB / 387.2 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.997e-05/0.1075, allocations: 4 kB / 387.2 MB, free: 10.7 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.13e-05/0.1075, allocations: 0 / 387.2 MB, free: 10.7 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.1075, allocations: 0 / 387.2 MB, free: 10.7 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001036/0.1076, allocations: 127.7 kB / 387.3 MB, free: 10.58 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1076, allocations: 0 / 387.3 MB, free: 10.58 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002068/0.1078, allocations: 16 kB / 387.3 MB, free: 10.56 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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.0004671/0.1083, allocations: 183.1 kB / 387.5 MB, free: 10.38 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.818e-05/0.1084, allocations: 8 kB / 387.5 MB, free: 10.37 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1084, allocations: 0 / 387.5 MB, free: 10.37 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.306e-05/0.1085, allocations: 12.05 kB / 387.5 MB, free: 10.36 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001536/0.1086, allocations: 8 kB / 387.5 MB, free: 10.35 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002765/0.1089, allocations: 149.3 kB / 387.7 MB, free: 10.18 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.1092, allocations: 0.6816 MB / 388.4 MB, free: 9.469 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.268e-05/0.1093, allocations: 19.91 kB / 388.4 MB, free: 9.449 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.535e-05/0.1093, allocations: 11.44 kB / 388.4 MB, free: 9.438 MB / 318.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1093, allocations: 8 kB / 388.4 MB, free: 9.43 MB / 318.1 MB Notification: Performance of Templates: time 0.004352/0.1137, allocations: 1.291 MB / 389.7 MB, free: 8.137 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile [Timeout 660] make -j1 -f Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -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=Modelica_3_2_3_Modelica_Utilities_Examples_ReadRealMatrixFromFile -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 Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.o Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.c Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.c:119:80: error: use of undeclared identifier 'A' (data->localData[0]->realVars[1] /* der(x) STATE_DER */) = ((-real_array_get(A, 2, ((modelica_integer) 1), ((modelica_integer) 1)))) * ((data->localData[0]->realVars[0] /* x STATE(1) */)); ^ Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.c:136:39: error: use of undeclared identifier 'A3' tmp4 = LessEq(fabs(real_array_get(A3, 2, ((modelica_integer) 1), ((modelica_integer) 1)) - 11.0),1.0000000000000002e-14); ^ Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.c:168:39: error: use of undeclared identifier 'A2' tmp7 = LessEq(fabs(real_array_get(A2, 2, ((modelica_integer) 1), ((modelica_integer) 1)) - 11.0),1.0000000000000002e-14); ^ Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.c:200:40: error: use of undeclared identifier 'A1' tmp10 = LessEq(fabs(real_array_get(A1, 2, ((modelica_integer) 1), ((modelica_integer) 1)) - 11.0),1.0000000000000002e-14); ^ Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.c:257:52: error: use of undeclared identifier 'A' real_array_create(&tmp19, ((modelica_real*)&(A)), 2, (_index_t)3, (_index_t)(data->simulationInfo->integerParameter[3] /* dim1[2] PARAM */)); ^ Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.c:267:63: error: use of undeclared identifier 'A' tmp29 = modelica_real_to_modelica_string(real_array_get(A, 2, ((modelica_integer) 1), ((modelica_integer) 1)), ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ 6 errors generated. make: *** [: Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.o] Error 1 [Calling os._exit(0), Time elapsed: 2.569805582985282]