Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002197/0.002197, allocations: 184 kB / 8.522 MB, free: 1.762 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 221.4 MB / 230.3 MB, free: 3.082 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000968/0.0009679, allocations: 95.05 kB / 281.2 MB, free: 1.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3516/0.3516, allocations: 44.13 MB / 376.1 MB, free: 43.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.528e-06/9.568e-06, allocations: 0 / 444 MB, free: 11.68 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.3517, allocations: 61.9 MB / 0.4941 GB, free: 42.39 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1154/0.4671, allocations: 89.15 MB / 0.5811 GB, free: 12.14 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001746/0.4674, allocations: 64.62 kB / 0.5812 GB, free: 12.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.1188/0.5862, allocations: 45.21 MB / 0.6254 GB, free: 14.84 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.5862, allocations: 0 / 0.6254 GB, free: 14.84 MB / 458.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.0007124/0.5869, allocations: 426.9 kB / 0.6258 GB, free: 14.37 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.587, allocations: 8.031 kB / 0.6258 GB, free: 14.36 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.53e-05/0.587, allocations: 9.406 kB / 0.6258 GB, free: 14.36 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.448e-05/0.5871, allocations: 164.4 kB / 0.6259 GB, free: 14.16 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.5871, allocations: 0 / 0.6259 GB, free: 14.16 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.5871, allocations: 0 / 0.6259 GB, free: 14.16 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.213e-05/0.5872, allocations: 0 / 0.6259 GB, free: 14.16 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.362e-05/0.5873, allocations: 37.59 kB / 0.626 GB, free: 14.11 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.5873, allocations: 0 / 0.626 GB, free: 14.11 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.457e-06/0.5873, allocations: 0 / 0.626 GB, free: 14.11 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.5873, allocations: 0 / 0.626 GB, free: 14.11 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001164/0.5874, allocations: 134.2 kB / 0.6261 GB, free: 13.95 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.563e-05/0.5875, allocations: 18.61 kB / 0.6261 GB, free: 13.92 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.969e-05/0.5875, allocations: 12.8 kB / 0.6261 GB, free: 13.9 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.238e-06/0.5875, allocations: 0 / 0.6261 GB, free: 13.9 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.588e-05/0.5875, allocations: 60.25 kB / 0.6262 GB, free: 13.83 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.5876, allocations: 3.938 kB / 0.6262 GB, free: 13.82 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001659/0.5877, allocations: 33.75 kB / 0.6262 GB, free: 13.79 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.5878, allocations: 93.05 kB / 0.6263 GB, free: 13.68 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.43e-05/0.5878, allocations: 85 kB / 0.6264 GB, free: 13.59 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.5878, allocations: 25.7 kB / 0.6264 GB, free: 13.55 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.722e-05/0.5879, allocations: 80.14 kB / 0.6265 GB, free: 13.47 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.715e-05/0.5879, allocations: 0 / 0.6265 GB, free: 13.47 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.104e-06/0.5879, allocations: 0 / 0.6265 GB, free: 13.47 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.413e-05/0.588, allocations: 310.8 kB / 0.6268 GB, free: 13.16 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.322e-06/0.588, allocations: 0 / 0.6268 GB, free: 13.16 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.25e-06/0.588, allocations: 4 kB / 0.6268 GB, free: 13.16 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.734e-05/0.5881, allocations: 4.062 kB / 0.6268 GB, free: 13.15 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.5881, allocations: 0 / 0.6268 GB, free: 13.15 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.347e-05/0.5881, allocations: 37.62 kB / 0.6268 GB, free: 13.11 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.5881, allocations: 4 kB / 0.6268 GB, free: 13.11 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.5882, allocations: 7.938 kB / 0.6268 GB, free: 13.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.5882, allocations: 0 / 0.6268 GB, free: 13.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.645e-06/0.5882, allocations: 3.906 kB / 0.6268 GB, free: 13.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.5882, allocations: 0 / 0.6268 GB, free: 13.09 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.124e-05/0.5882, allocations: 0 / 0.6268 GB, free: 13.09 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.5882, allocations: 4.031 kB / 0.6269 GB, free: 13.09 MB / 458.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.604e-05/0.5883, allocations: 135.6 kB / 0.627 GB, free: 12.95 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.593e-06/0.5883, allocations: 0 / 0.627 GB, free: 12.95 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.634e-05/0.5883, allocations: 6.984 kB / 0.627 GB, free: 12.94 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.91e-07/0.5884, allocations: 0 / 0.627 GB, free: 12.94 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.5884, allocations: 0 / 0.627 GB, free: 12.94 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.5884, allocations: 3.906 kB / 0.627 GB, free: 12.94 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.35e-05/0.5885, allocations: 126.2 kB / 0.6271 GB, free: 12.78 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.5885, allocations: 0 / 0.6271 GB, free: 12.78 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.81e-07/0.5885, allocations: 0 / 0.6271 GB, free: 12.78 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.5885, allocations: 4 kB / 0.6271 GB, free: 12.77 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-06/0.5885, allocations: 0 / 0.6271 GB, free: 12.77 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.5885, allocations: 0 / 0.6271 GB, free: 12.77 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.582e-06/0.5885, allocations: 0 / 0.6271 GB, free: 12.77 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.84e-05/0.5886, allocations: 68.97 kB / 0.6272 GB, free: 12.69 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.616e-05/0.5886, allocations: 81.09 kB / 0.6273 GB, free: 12.59 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.5886, allocations: 3.938 kB / 0.6273 GB, free: 12.59 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.011e-05/0.5887, allocations: 8.031 kB / 0.6273 GB, free: 12.58 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.279e-05/0.5887, allocations: 0 / 0.6273 GB, free: 12.58 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.5887, allocations: 3.984 kB / 0.6273 GB, free: 12.57 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.675e-05/0.5887, allocations: 75.28 kB / 0.6273 GB, free: 12.5 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0007242/0.5895, allocations: 195.9 kB / 0.6275 GB, free: 12.31 MB / 458.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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009833/0.5904, allocations: 384.1 kB / 0.6279 GB, free: 11.94 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 8.409e-05/0.5905, allocations: 37.64 kB / 0.6279 GB, free: 11.9 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5905, allocations: 0 / 0.6279 GB, free: 11.9 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.903e-05/0.5906, allocations: 29.7 kB / 0.628 GB, free: 11.86 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.454e-05/0.5907, allocations: 7.422 kB / 0.628 GB, free: 11.86 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001357/0.5908, allocations: 48 kB / 0.628 GB, free: 11.79 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002254/0.591, allocations: 0.6823 MB / 0.6287 GB, free: 11.08 MB / 458.7 MB Notification: Performance of SimCode: time 2.21e-07/0.591, allocations: 0 / 0.6287 GB, free: 11.08 MB / 458.7 MB Notification: Performance of Templates: time 0.008429/0.5995, allocations: 5.052 MB / 0.6336 GB, free: 6.031 MB / 458.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe 2>&1)