Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices") [: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 3.2.2+maint.om/package.mo): time 0.003368/0.003368, allocations: 185.9 kB / 7.455 MB, free: 2.32 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.391/1.391, allocations: 194.2 MB / 202.1 MB, free: 8.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001764/0.001765, allocations: 119.5 kB / 247.1 MB, free: 6.32 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2018/0.2018, allocations: 39.94 MB / 331.9 MB, free: 4.91 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.661e-06/5.691e-06, allocations: 0 / 392.8 MB, free: 75.92 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1089, allocations: 54.87 MB / 447.6 MB, free: 21.02 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2998/0.4087, allocations: 80.61 MB / 0.5159 GB, free: 10.05 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/0.409, allocations: 61.52 kB / 0.5159 GB, free: 10.05 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.008828/0.4178, allocations: 2.464 MB / 0.5183 GB, free: 9.934 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.4179, allocations: 0 / 0.5183 GB, free: 9.934 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.0003331/0.4182, allocations: 379.6 kB / 0.5187 GB, free: 9.531 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.4183, allocations: 9.969 kB / 0.5187 GB, free: 9.531 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.388e-05/0.4183, allocations: 5.781 kB / 0.5187 GB, free: 9.527 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.019e-05/0.4184, allocations: 160.2 kB / 0.5189 GB, free: 9.332 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.4184, allocations: 0 / 0.5189 GB, free: 9.332 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.4184, allocations: 1.859 kB / 0.5189 GB, free: 9.332 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.199e-05/0.4185, allocations: 0.9688 kB / 0.5189 GB, free: 9.332 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.358e-05/0.4185, allocations: 36.88 kB / 0.5189 GB, free: 9.293 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.4186, allocations: 0 / 0.5189 GB, free: 9.293 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.178e-06/0.4186, allocations: 3.938 kB / 0.5189 GB, free: 9.289 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.4186, allocations: 7.781 kB / 0.5189 GB, free: 9.285 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.778e-05/0.4187, allocations: 131 kB / 0.519 GB, free: 9.125 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.207e-05/0.4187, allocations: 18.11 kB / 0.5191 GB, free: 9.102 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.487e-05/0.4187, allocations: 8.844 kB / 0.5191 GB, free: 9.09 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.765e-06/0.4187, allocations: 1.656 kB / 0.5191 GB, free: 9.09 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.4188, allocations: 57.48 kB / 0.5191 GB, free: 9.02 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 1.313e-06/0.4188, allocations: 0 / 0.5191 GB, free: 9.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001482/0.4189, allocations: 34.33 kB / 0.5192 GB, free: 8.988 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.419, allocations: 82.45 kB / 0.5192 GB, free: 8.891 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.025e-05/0.419, allocations: 89.69 kB / 0.5193 GB, free: 8.797 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.394e-06/0.419, allocations: 25.7 kB / 0.5193 GB, free: 8.766 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.247e-05/0.419, allocations: 81.45 kB / 0.5194 GB, free: 8.684 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.637e-05/0.4191, allocations: 3.906 kB / 0.5194 GB, free: 8.68 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.864e-06/0.4191, allocations: 0 / 0.5194 GB, free: 8.68 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.8e-05/0.4191, allocations: 315.5 kB / 0.5197 GB, free: 8.367 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.254e-06/0.4191, allocations: 0 / 0.5197 GB, free: 8.367 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.09e-06/0.4192, allocations: 5.344 kB / 0.5197 GB, free: 8.363 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.996e-05/0.4192, allocations: 5.562 kB / 0.5197 GB, free: 8.363 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.4192, allocations: 0 / 0.5197 GB, free: 8.363 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.653e-05/0.4193, allocations: 32.92 kB / 0.5198 GB, free: 8.332 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.4193, allocations: 5.5 kB / 0.5198 GB, free: 8.332 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.4193, allocations: 0 / 0.5198 GB, free: 8.332 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.4193, allocations: 0.7031 kB / 0.5198 GB, free: 8.332 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.502e-06/0.4193, allocations: 1.375 kB / 0.5198 GB, free: 8.332 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.4193, allocations: 3.906 kB / 0.5198 GB, free: 8.328 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.183e-05/0.4193, allocations: 96 / 0.5198 GB, free: 8.328 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.4194, allocations: 6.078 kB / 0.5198 GB, free: 8.324 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 () * 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 5.635e-05/0.4194, allocations: 128.7 kB / 0.5199 GB, free: 8.188 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.215e-06/0.4194, allocations: 1.984 kB / 0.5199 GB, free: 8.188 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.279e-05/0.4194, allocations: 6.953 kB / 0.5199 GB, free: 8.18 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.4195, allocations: 4.453 kB / 0.5199 GB, free: 8.176 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.4195, allocations: 1.375 kB / 0.5199 GB, free: 8.176 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.4195, allocations: 0.75 kB / 0.5199 GB, free: 8.176 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.847e-05/0.4195, allocations: 132.6 kB / 0.52 GB, free: 8.012 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4195, allocations: 0.5156 kB / 0.52 GB, free: 8.012 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-07/0.4195, allocations: 4 kB / 0.5201 GB, free: 8.008 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.42e-07/0.4196, allocations: 1.375 kB / 0.5201 GB, free: 8.008 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.4196, allocations: 0.6094 kB / 0.5201 GB, free: 8.008 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.4196, allocations: 5.375 kB / 0.5201 GB, free: 8.004 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.4196, allocations: 0.5625 kB / 0.5201 GB, free: 8.004 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.627e-05/0.4197, allocations: 61.67 kB / 0.5201 GB, free: 7.938 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.969e-05/0.4197, allocations: 77.67 kB / 0.5202 GB, free: 7.844 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.4197, allocations: 11.69 kB / 0.5202 GB, free: 7.836 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.004e-05/0.4197, allocations: 1.281 kB / 0.5202 GB, free: 7.836 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.633e-05/0.4198, allocations: 0 / 0.5202 GB, free: 7.836 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.4198, allocations: 4.75 kB / 0.5202 GB, free: 7.836 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.655e-05/0.4198, allocations: 78.78 kB / 0.5203 GB, free: 7.762 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003345/0.4201, allocations: 75.8 kB / 0.5204 GB, free: 7.738 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) * 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.0005076/0.4206, allocations: 210.1 kB / 0.5206 GB, free: 7.598 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.644e-05/0.4207, allocations: 28.95 kB / 0.5206 GB, free: 7.566 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4207, allocations: 0 / 0.5206 GB, free: 7.566 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.975e-05/0.4208, allocations: 32.05 kB / 0.5206 GB, free: 7.535 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.168e-05/0.4209, allocations: 10.44 kB / 0.5206 GB, free: 7.527 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000133/0.421, allocations: 40.52 kB / 0.5207 GB, free: 7.469 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001646/0.4212, allocations: 0.683 MB / 0.5213 GB, free: 6.762 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4212, allocations: 0 / 0.5213 GB, free: 6.762 MB / 346.7 MB Notification: Performance of Templates: time 0.005157/0.4263, allocations: 1.433 MB / 0.5227 GB, free: 6.051 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices.pipe 2>&1)