Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.002005/0.002006, allocations: 195.2 kB / 8.535 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 225.5 MB / 234.4 MB, free: 3.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000963/0.0009631, allocations: 94.14 kB / 286.3 MB, free: 5.168 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2252/0.2252, allocations: 45.15 MB / 383.3 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.001e-06/6.021e-06, allocations: 0 / 452.6 MB, free: 76.23 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1277, allocations: 63.24 MB / 0.5038 GB, free: 13.07 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3393/0.4671, allocations: 90.26 MB / 0.5919 GB, free: 12.99 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001729/0.4673, allocations: 63.59 kB / 0.592 GB, free: 12.96 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.1271/0.5944, allocations: 45.33 MB / 0.6362 GB, free: 7.43 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.5945, allocations: 3.938 kB / 0.6362 GB, free: 7.426 MB / 426.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.0009283/0.5954, allocations: 438.7 kB / 0.6367 GB, free: 6.953 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.731e-05/0.5955, allocations: 8.031 kB / 0.6367 GB, free: 6.945 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.139e-05/0.5955, allocations: 4 kB / 0.6367 GB, free: 6.941 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.5957, allocations: 163.1 kB / 0.6368 GB, free: 6.742 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.5957, allocations: 0 / 0.6368 GB, free: 6.742 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.5957, allocations: 4 kB / 0.6368 GB, free: 6.738 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.669e-05/0.5958, allocations: 7.891 kB / 0.6368 GB, free: 6.73 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.916e-05/0.5959, allocations: 33.58 kB / 0.6369 GB, free: 6.691 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.5959, allocations: 0 / 0.6369 GB, free: 6.691 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.5959, allocations: 4 kB / 0.6369 GB, free: 6.688 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.5959, allocations: 0 / 0.6369 GB, free: 6.688 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001847/0.5961, allocations: 126.2 kB / 0.637 GB, free: 6.527 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.801e-05/0.5962, allocations: 22.56 kB / 0.637 GB, free: 6.496 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.055e-05/0.5962, allocations: 8.953 kB / 0.637 GB, free: 6.484 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.869e-06/0.5962, allocations: 0 / 0.637 GB, free: 6.484 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.167e-05/0.5963, allocations: 59.39 kB / 0.6371 GB, free: 6.414 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.213e-06/0.5963, allocations: 0 / 0.6371 GB, free: 6.414 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001998/0.5965, allocations: 37.55 kB / 0.6371 GB, free: 6.371 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.5965, allocations: 81.14 kB / 0.6372 GB, free: 6.273 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.09e-05/0.5966, allocations: 85 kB / 0.6373 GB, free: 6.184 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.5966, allocations: 25.7 kB / 0.6373 GB, free: 6.152 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.822e-05/0.5967, allocations: 80.14 kB / 0.6374 GB, free: 6.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.635e-05/0.5967, allocations: 4 kB / 0.6374 GB, free: 6.066 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-06/0.5967, allocations: 0 / 0.6374 GB, free: 6.066 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.5968, allocations: 318.1 kB / 0.6377 GB, free: 5.75 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.984e-06/0.5968, allocations: 3.938 kB / 0.6377 GB, free: 5.746 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.202e-06/0.5969, allocations: 4 kB / 0.6377 GB, free: 5.742 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.418e-05/0.5969, allocations: 4 kB / 0.6377 GB, free: 5.738 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5969, allocations: 0 / 0.6377 GB, free: 5.738 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.631e-05/0.597, allocations: 29.7 kB / 0.6377 GB, free: 5.703 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.597, allocations: 4 kB / 0.6377 GB, free: 5.699 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.597, allocations: 0 / 0.6377 GB, free: 5.699 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.5971, allocations: 3.906 kB / 0.6377 GB, free: 5.695 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.172e-06/0.5971, allocations: 3.938 kB / 0.6377 GB, free: 5.691 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.5971, allocations: 3.984 kB / 0.6377 GB, free: 5.688 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.893e-05/0.5971, allocations: 7.984 kB / 0.6377 GB, free: 5.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.5971, allocations: 4.094 kB / 0.6378 GB, free: 5.676 MB / 426.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 7.993e-05/0.5972, allocations: 126.7 kB / 0.6379 GB, free: 5.539 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.298e-06/0.5972, allocations: 0 / 0.6379 GB, free: 5.539 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.769e-05/0.5972, allocations: 7 kB / 0.6379 GB, free: 5.527 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.5972, allocations: 0 / 0.6379 GB, free: 5.527 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.5973, allocations: 3.906 kB / 0.6379 GB, free: 5.523 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.5973, allocations: 0 / 0.6379 GB, free: 5.523 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.614e-05/0.5974, allocations: 133.7 kB / 0.638 GB, free: 5.359 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.5974, allocations: 0 / 0.638 GB, free: 5.359 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.094e-06/0.5974, allocations: 8 kB / 0.638 GB, free: 5.352 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.5974, allocations: 0 / 0.638 GB, free: 5.352 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.5974, allocations: 4 kB / 0.638 GB, free: 5.348 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.5974, allocations: 0 / 0.638 GB, free: 5.348 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.5974, allocations: 0 / 0.638 GB, free: 5.348 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001036/0.5975, allocations: 64.41 kB / 0.6381 GB, free: 5.27 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.959e-05/0.5976, allocations: 77.11 kB / 0.6382 GB, free: 5.176 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.45e-05/0.5976, allocations: 0 / 0.6382 GB, free: 5.176 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.33e-05/0.5977, allocations: 4.031 kB / 0.6382 GB, free: 5.172 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.98e-05/0.5977, allocations: 3.938 kB / 0.6382 GB, free: 5.168 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.5977, allocations: 4 kB / 0.6382 GB, free: 5.164 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.378e-05/0.5977, allocations: 75.28 kB / 0.6382 GB, free: 5.09 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009253/0.5987, allocations: 195.4 kB / 0.6384 GB, free: 4.902 MB / 426.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.001492/0.6002, allocations: 382.5 kB / 0.6388 GB, free: 4.535 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.288e-05/0.6003, allocations: 37.69 kB / 0.6388 GB, free: 4.492 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.6003, allocations: 0 / 0.6388 GB, free: 4.492 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.052e-05/0.6003, allocations: 29.64 kB / 0.6389 GB, free: 4.457 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001017/0.6004, allocations: 7.906 kB / 0.6389 GB, free: 4.449 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001545/0.6006, allocations: 43.14 kB / 0.6389 GB, free: 4.387 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003051/0.6009, allocations: 0.6841 MB / 0.6396 GB, free: 3.676 MB / 426.7 MB Notification: Performance of SimCode: time 4.2e-07/0.6009, allocations: 0 / 0.6396 GB, free: 3.676 MB / 426.7 MB Notification: Performance of Templates: time 0.01022/0.6111, allocations: 5.059 MB / 0.6445 GB, free: 14.63 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe 2>&1)