Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Utilities.Examples.ReadRealMatrixFromFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Utilities.Examples.ReadRealMatrixFromFile") translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Utilities.Examples.ReadRealMatrixFromFile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001763/0.001763, allocations: 194.3 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.627/1.627, allocations: 205.1 MB / 222.4 MB, free: 4.605 MB / 174.1 MB 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.001297/0.001297, allocations: 47.94 kB / 278.7 MB, free: 12.37 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2524, allocations: 46.63 MB / 325.3 MB, free: 1.844 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.00198/0.2544, allocations: 0.54 MB / 325.8 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002126/0.2566, allocations: 1.83 MB / 327.7 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.372e-05/0.2567, allocations: 1.156 kB / 327.7 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00155/0.2582, allocations: 125.7 kB / 327.8 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.42e-05/0.2583, allocations: 31.39 kB / 327.8 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002301/0.2586, allocations: 48.77 kB / 327.9 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.2587, allocations: 66.36 kB / 327.9 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.662e-05/0.2587, allocations: 3.344 kB / 327.9 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.006e-05/0.2588, allocations: 33.17 kB / 328 MB, free: 15.77 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.2589, allocations: 37.58 kB / 328 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.259, allocations: 2.25 kB / 328 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.502e-05/0.259, allocations: 14.12 kB / 328 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.319e-05/0.2591, allocations: 15 kB / 328 MB, free: 15.74 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.1e-05/0.2592, allocations: 26.11 kB / 328.1 MB, free: 15.72 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.2594, allocations: 64.08 kB / 328.1 MB, free: 15.68 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2594, allocations: 0 / 328.1 MB, free: 15.68 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.937e-06/0.2594, allocations: 1.438 kB / 328.1 MB, free: 15.68 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.2594, allocations: 3.938 kB / 328.1 MB, free: 15.68 MB / 270.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.0004396/0.2599, allocations: 403.7 kB / 328.5 MB, free: 15.25 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.2599, allocations: 14.03 kB / 328.5 MB, free: 15.25 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.595e-05/0.26, allocations: 12.08 kB / 328.5 MB, free: 15.24 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.2602, allocations: 202.1 kB / 328.7 MB, free: 15.03 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.2602, allocations: 4.312 kB / 328.7 MB, free: 15.02 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/0.2603, allocations: 1.594 kB / 328.7 MB, free: 15.02 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.2604, allocations: 90.72 kB / 328.8 MB, free: 14.93 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.2604, allocations: 3.984 kB / 328.8 MB, free: 14.92 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.2604, allocations: 1.125 kB / 328.8 MB, free: 14.92 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.2604, allocations: 0 / 328.8 MB, free: 14.92 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.694e-05/0.2605, allocations: 2.375 kB / 328.8 MB, free: 14.92 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003049/0.2608, allocations: 175.7 kB / 329 MB, free: 14.72 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.757e-05/0.2608, allocations: 16.73 kB / 329 MB, free: 14.7 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.193e-05/0.2608, allocations: 15 kB / 329 MB, free: 14.68 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.016e-05/0.2609, allocations: 1.156 kB / 329 MB, free: 14.68 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.422e-05/0.2609, allocations: 65.48 kB / 329.1 MB, free: 14.6 MB / 270.1 MB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.2609, allocations: 0 / 329.1 MB, free: 14.6 MB / 270.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001258/0.2611, allocations: 44.8 kB / 329.2 MB, free: 14.56 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.487e-05/0.2612, allocations: 159.3 kB / 329.3 MB, free: 14.37 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.2613, allocations: 157.9 kB / 329.5 MB, free: 14.25 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.2613, allocations: 27.02 kB / 329.5 MB, free: 14.21 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.2615, allocations: 95.3 kB / 329.6 MB, free: 14.12 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.083e-05/0.2615, allocations: 4.969 kB / 329.6 MB, free: 14.12 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.631e-05/0.2615, allocations: 22.86 kB / 329.6 MB, free: 14.09 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.2617, allocations: 313.1 kB / 329.9 MB, free: 13.78 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.447e-05/0.2617, allocations: 2.375 kB / 329.9 MB, free: 13.78 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.669e-05/0.2618, allocations: 52.41 kB / 330 MB, free: 13.73 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.4e-05/0.2618, allocations: 19.09 kB / 330 MB, free: 13.71 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.2618, allocations: 1.062 kB / 330 MB, free: 13.71 MB / 270.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.579e-05/0.2619, allocations: 43.05 kB / 330 MB, free: 13.68 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.2619, allocations: 3.938 kB / 330 MB, free: 13.68 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.2619, allocations: 1.344 kB / 330 MB, free: 13.68 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.2619, allocations: 0 / 330 MB, free: 13.68 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.878e-05/0.262, allocations: 2.406 kB / 330 MB, free: 13.68 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.262, allocations: 1.125 kB / 330 MB, free: 13.68 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.449e-05/0.2621, allocations: 14.08 kB / 330.1 MB, free: 13.66 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-06/0.2621, allocations: 5.141 kB / 330.1 MB, free: 13.66 MB / 270.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 8.751e-05/0.2622, allocations: 120.7 kB / 330.2 MB, free: 13.54 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.165e-05/0.2622, allocations: 8.344 kB / 330.2 MB, free: 13.54 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.648e-05/0.2623, allocations: 10.33 kB / 330.2 MB, free: 13.53 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.2623, allocations: 3.938 kB / 330.2 MB, free: 13.52 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2623, allocations: 1.219 kB / 330.2 MB, free: 13.52 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.2623, allocations: 0 / 330.2 MB, free: 13.52 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/0.2625, allocations: 179.5 kB / 330.4 MB, free: 13.31 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2625, allocations: 5.125 kB / 330.4 MB, free: 13.31 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.776e-05/0.2625, allocations: 5.188 kB / 330.4 MB, free: 13.3 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.2625, allocations: 1.188 kB / 330.4 MB, free: 13.3 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.2625, allocations: 0 / 330.4 MB, free: 13.3 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2625, allocations: 0 / 330.4 MB, free: 13.3 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2626, allocations: 1.25 kB / 330.4 MB, free: 13.3 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001182/0.2627, allocations: 72.03 kB / 330.5 MB, free: 13.23 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.349e-05/0.2627, allocations: 92.47 kB / 330.5 MB, free: 13.12 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.2628, allocations: 10.62 kB / 330.6 MB, free: 13.12 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.089e-05/0.2628, allocations: 1.125 kB / 330.6 MB, free: 13.12 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.453e-05/0.2629, allocations: 5.094 kB / 330.6 MB, free: 13.11 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-06/0.2629, allocations: 0 / 330.6 MB, free: 13.11 MB / 270.1 MB Notification: Performance of sorting global known variables: time 9.185e-05/0.263, allocations: 124.3 kB / 330.7 MB, free: 13.02 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.263, allocations: 1.125 kB / 330.7 MB, free: 13.02 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002279/0.2632, allocations: 17.5 kB / 330.7 MB, free: 13.01 MB / 270.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.0003691/0.2636, allocations: 170.5 kB / 330.9 MB, free: 12.86 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 9.02e-05/0.2637, allocations: 13.08 kB / 330.9 MB, free: 12.86 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2637, allocations: 4.062 kB / 330.9 MB, free: 12.86 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 1.025e-05/0.2637, allocations: 3.656 kB / 330.9 MB, free: 12.86 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001581/0.2639, allocations: 8.812 kB / 330.9 MB, free: 12.85 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003748/0.2643, allocations: 141.6 kB / 331 MB, free: 12.71 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004097/0.2647, allocations: 0.69 MB / 331.7 MB, free: 12.01 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 3.702e-05/0.2647, allocations: 11.72 kB / 331.7 MB, free: 12 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.359e-05/0.2648, allocations: 12.5 kB / 331.8 MB, free: 12 MB / 270.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2648, allocations: 0 / 331.8 MB, free: 12 MB / 270.1 MB Notification: Performance of Templates: time 0.003801/0.2686, allocations: 1.294 MB / 333 MB, free: 11.32 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile make -j1 -f Modelica_3.2.1_Modelica.Utilities.Examples.ReadRealMatrixFromFile.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=Modelica_3_2_1_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.1_Modelica.Utilities.Examples.ReadRealMatrixFromFile.o Modelica_3.2.1_Modelica.Utilities.Examples.ReadRealMatrixFromFile.c Modelica_3.2.1_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.1_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),1e-14); ^ Modelica_3.2.1_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),1e-14); ^ Modelica_3.2.1_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),1e-14); ^ Modelica_3.2.1_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.1_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.1_Modelica.Utilities.Examples.ReadRealMatrixFromFile.o] Error 1