Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinear.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinear") translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinear") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001631/0.001631, allocations: 172 kB / 8.148 MB, free: 2.195 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.841/1.841, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001321/0.001321, allocations: 104.5 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2865/0.2865, allocations: 43.49 MB / 353.2 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.616e-06/8.747e-06, allocations: 4 kB / 417.7 MB, free: 40.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2694, allocations: 58.84 MB / 476.5 MB, free: 5.082 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1574/0.4269, allocations: 87.5 MB / 0.5508 GB, free: 11.6 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/0.4272, allocations: 67.25 kB / 0.5509 GB, free: 11.54 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.06503/0.4923, allocations: 12.52 MB / 0.5631 GB, free: 15 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.4923, allocations: 0 / 0.5631 GB, free: 15 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0007313/0.4931, allocations: 447.9 kB / 0.5635 GB, free: 14.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.4931, allocations: 8.031 kB / 0.5635 GB, free: 14.51 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.803e-05/0.4932, allocations: 83.19 kB / 0.5636 GB, free: 14.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.4934, allocations: 234.4 kB / 0.5638 GB, free: 14.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.174e-05/0.4934, allocations: 154.5 kB / 0.564 GB, free: 14 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.18e-05/0.4935, allocations: 154.5 kB / 0.5641 GB, free: 13.85 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.984e-05/0.4936, allocations: 154.6 kB / 0.5643 GB, free: 13.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.75e-05/0.4937, allocations: 105 kB / 0.5644 GB, free: 13.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.197e-05/0.4937, allocations: 75.28 kB / 0.5644 GB, free: 13.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.332e-05/0.4938, allocations: 154.6 kB / 0.5646 GB, free: 13.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.349e-05/0.4939, allocations: 150.6 kB / 0.5647 GB, free: 13.21 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002928/0.4942, allocations: 426.4 kB / 0.5651 GB, free: 12.76 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.491e-05/0.4943, allocations: 169.1 kB / 0.5653 GB, free: 12.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.803e-05/0.4943, allocations: 84.14 kB / 0.5654 GB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.293e-05/0.4944, allocations: 79.22 kB / 0.5655 GB, free: 12.42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.55e-05/0.4945, allocations: 135.5 kB / 0.5656 GB, free: 12.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 1.974e-06/0.4945, allocations: 4 kB / 0.5656 GB, free: 12.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 9.584e-05/0.4946, allocations: 33.67 kB / 0.5656 GB, free: 12.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.4947, allocations: 77.11 kB / 0.5657 GB, free: 12.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.15e-05/0.4947, allocations: 85 kB / 0.5658 GB, free: 12.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.4947, allocations: 29.7 kB / 0.5658 GB, free: 12.01 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.774e-05/0.4948, allocations: 154.5 kB / 0.566 GB, free: 11.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.964e-06/0.4948, allocations: 0 / 0.566 GB, free: 11.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.01e-07/0.4948, allocations: 0 / 0.566 GB, free: 11.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.495, allocations: 310.8 kB / 0.5663 GB, free: 11.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.649e-06/0.495, allocations: 4 kB / 0.5663 GB, free: 11.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.107e-05/0.4951, allocations: 4 kB / 0.5663 GB, free: 11.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.413e-05/0.4951, allocations: 75.28 kB / 0.5663 GB, free: 11.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.354e-05/0.4951, allocations: 75.28 kB / 0.5664 GB, free: 11.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.935e-05/0.4952, allocations: 29.61 kB / 0.5664 GB, free: 11.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.4953, allocations: 11.28 kB / 0.5664 GB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.474e-05/0.4953, allocations: 83.27 kB / 0.5665 GB, free: 11.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.333e-05/0.4954, allocations: 162.6 kB / 0.5667 GB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.46e-05/0.4955, allocations: 75.28 kB / 0.5668 GB, free: 11.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.858e-05/0.4955, allocations: 158.5 kB / 0.5669 GB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001435/0.4957, allocations: 75.28 kB / 0.567 GB, free: 10.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.405e-05/0.4957, allocations: 75.28 kB / 0.567 GB, free: 10.73 MB / 410.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0001466/0.4959, allocations: 185.6 kB / 0.5672 GB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.313e-05/0.496, allocations: 110.8 kB / 0.5673 GB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.315e-05/0.4961, allocations: 111.9 kB / 0.5674 GB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.903e-05/0.4962, allocations: 180.3 kB / 0.5676 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.869e-05/0.4962, allocations: 184.2 kB / 0.5678 GB, free: 9.934 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.422e-05/0.4963, allocations: 176.3 kB / 0.568 GB, free: 9.754 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002552/0.4966, allocations: 385.8 kB / 0.5683 GB, free: 9.332 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-05/0.4967, allocations: 108.9 kB / 0.5684 GB, free: 9.219 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.442e-05/0.4967, allocations: 101 kB / 0.5685 GB, free: 9.113 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-05/0.4968, allocations: 176.3 kB / 0.5687 GB, free: 8.934 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.287e-05/0.4969, allocations: 180.2 kB / 0.5689 GB, free: 8.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.724e-05/0.497, allocations: 180.2 kB / 0.569 GB, free: 8.566 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.476e-05/0.4971, allocations: 188.3 kB / 0.5692 GB, free: 8.375 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000168/0.4972, allocations: 312 kB / 0.5695 GB, free: 8.047 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.683e-05/0.4973, allocations: 186.1 kB / 0.5697 GB, free: 7.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.638e-05/0.4974, allocations: 180.2 kB / 0.5699 GB, free: 7.656 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.4976, allocations: 109 kB / 0.57 GB, free: 7.543 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.168e-05/0.4977, allocations: 180.3 kB / 0.5701 GB, free: 7.359 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.551e-05/0.4977, allocations: 104.9 kB / 0.5702 GB, free: 7.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.236e-05/0.4977, allocations: 75.28 kB / 0.5703 GB, free: 7.176 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009389/0.4987, allocations: 167.7 kB / 0.5705 GB, free: 7.012 MB / 410.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.001272/0.5, allocations: 452.9 kB / 0.5709 GB, free: 6.566 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.394e-05/0.5001, allocations: 4 kB / 0.5709 GB, free: 6.562 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5001, allocations: 0 / 0.5709 GB, free: 6.562 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.973e-06/0.5001, allocations: 0 / 0.5709 GB, free: 6.562 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.5004, allocations: 0.534 MB / 0.5714 GB, free: 6.023 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001608/0.5006, allocations: 137.1 kB / 0.5716 GB, free: 5.859 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003025/0.5009, allocations: 0.688 MB / 0.5722 GB, free: 5.145 MB / 410.7 MB Notification: Performance of SimCode: time 7.91e-07/0.5009, allocations: 0 / 0.5722 GB, free: 5.145 MB / 410.7 MB Notification: Performance of Templates: time 0.008537/0.5095, allocations: 2.916 MB / 0.5751 GB, free: 2.23 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinear.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinear.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinear.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinear.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinear.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinear --alarm=480 > ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinear.pipe 2>&1)