Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/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_ModelicaTest.Math.TestNonlinear") translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009248/0.0009248, allocations: 194.5 kB / 7.804 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.029/1.029, allocations: 205.2 MB / 213.4 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008599/0.0008599, allocations: 86.34 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1519/0.1519, allocations: 43.48 MB / 352.8 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.634e-06/7.674e-06, allocations: 0 / 417.7 MB, free: 40.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2354, allocations: 58.84 MB / 476.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1045/0.3399, allocations: 87.49 MB / 0.5508 GB, free: 11.44 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002205/0.3401, allocations: 63.95 kB / 0.5509 GB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03661/0.3768, allocations: 12.51 MB / 0.5631 GB, free: 14.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.3768, allocations: 7.938 kB / 0.5631 GB, free: 14.84 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.0005162/0.3773, allocations: 443.9 kB / 0.5635 GB, free: 14.35 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.3774, allocations: 12.03 kB / 0.5635 GB, free: 14.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.312e-05/0.3774, allocations: 79.19 kB / 0.5636 GB, free: 14.26 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.3775, allocations: 242.3 kB / 0.5639 GB, free: 13.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.967e-05/0.3776, allocations: 150.6 kB / 0.564 GB, free: 13.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.055e-05/0.3776, allocations: 158.5 kB / 0.5641 GB, free: 13.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.78e-05/0.3777, allocations: 150.6 kB / 0.5643 GB, free: 13.53 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.512e-05/0.3778, allocations: 105 kB / 0.5644 GB, free: 13.42 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.933e-05/0.3778, allocations: 75.28 kB / 0.5645 GB, free: 13.35 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.218e-05/0.3779, allocations: 150.6 kB / 0.5646 GB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.63e-05/0.3779, allocations: 150.6 kB / 0.5648 GB, free: 13.05 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002264/0.3781, allocations: 430.4 kB / 0.5652 GB, free: 12.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.371e-05/0.3782, allocations: 177 kB / 0.5653 GB, free: 12.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.163e-05/0.3783, allocations: 80.14 kB / 0.5654 GB, free: 12.33 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.3783, allocations: 79.27 kB / 0.5655 GB, free: 12.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.259e-05/0.3784, allocations: 135.5 kB / 0.5656 GB, free: 12.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.3784, allocations: 0 / 0.5656 GB, free: 12.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 6.717e-05/0.3784, allocations: 29.7 kB / 0.5656 GB, free: 12.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.3785, allocations: 81.11 kB / 0.5657 GB, free: 11.97 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.976e-05/0.3785, allocations: 85 kB / 0.5658 GB, free: 11.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.3785, allocations: 25.7 kB / 0.5658 GB, free: 11.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.723e-05/0.3786, allocations: 84.14 kB / 0.5659 GB, free: 11.76 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.846e-06/0.3786, allocations: 4 kB / 0.5659 GB, free: 11.76 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.71e-07/0.3786, allocations: 3.938 kB / 0.5659 GB, free: 11.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.702e-05/0.3787, allocations: 310.8 kB / 0.5662 GB, free: 11.44 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.425e-06/0.3787, allocations: 0 / 0.5662 GB, free: 11.44 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.462e-05/0.3787, allocations: 4 kB / 0.5662 GB, free: 11.44 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.902e-05/0.3787, allocations: 75.28 kB / 0.5663 GB, free: 11.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.846e-05/0.3788, allocations: 75.28 kB / 0.5664 GB, free: 11.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.274e-05/0.3788, allocations: 37.59 kB / 0.5664 GB, free: 11.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.3788, allocations: 4 kB / 0.5664 GB, free: 11.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.22e-05/0.3789, allocations: 79.28 kB / 0.5665 GB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.791e-05/0.3789, allocations: 158.5 kB / 0.5666 GB, free: 11.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.199e-05/0.379, allocations: 75.28 kB / 0.5667 GB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.146e-05/0.379, allocations: 154.6 kB / 0.5668 GB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.047e-05/0.3791, allocations: 83.22 kB / 0.5669 GB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.636e-05/0.3791, allocations: 77.22 kB / 0.567 GB, free: 10.62 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.0001155/0.3793, allocations: 257 kB / 0.5672 GB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.767e-05/0.3794, allocations: 112.9 kB / 0.5673 GB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.485e-05/0.3794, allocations: 111.9 kB / 0.5675 GB, free: 10.13 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.57e-05/0.3795, allocations: 176.3 kB / 0.5676 GB, free: 9.953 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-05/0.3796, allocations: 180.2 kB / 0.5678 GB, free: 9.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.381e-05/0.3796, allocations: 184.2 kB / 0.568 GB, free: 9.582 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001818/0.3798, allocations: 377.8 kB / 0.5683 GB, free: 9.168 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.994e-05/0.3799, allocations: 105 kB / 0.5684 GB, free: 9.059 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.384e-05/0.3799, allocations: 104.9 kB / 0.5685 GB, free: 8.949 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.943e-05/0.38, allocations: 184.3 kB / 0.5687 GB, free: 8.762 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.398e-05/0.3801, allocations: 180.2 kB / 0.5689 GB, free: 8.578 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.068e-05/0.3801, allocations: 184.1 kB / 0.5691 GB, free: 8.391 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.936e-05/0.3802, allocations: 180.2 kB / 0.5692 GB, free: 8.207 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001265/0.3803, allocations: 316.1 kB / 0.5695 GB, free: 7.875 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.211e-05/0.3804, allocations: 190.1 kB / 0.5697 GB, free: 7.664 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.734e-05/0.3805, allocations: 176.3 kB / 0.5699 GB, free: 7.484 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.812e-05/0.3806, allocations: 104.9 kB / 0.57 GB, free: 7.375 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.487e-05/0.3806, allocations: 184.3 kB / 0.5701 GB, free: 7.188 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.8e-05/0.3807, allocations: 101 kB / 0.5702 GB, free: 7.082 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.47e-05/0.3807, allocations: 79.22 kB / 0.5703 GB, free: 7.004 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006101/0.3813, allocations: 175.6 kB / 0.5705 GB, free: 6.832 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.0007761/0.3821, allocations: 453.6 kB / 0.5709 GB, free: 6.383 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 3.786e-05/0.3821, allocations: 0 / 0.5709 GB, free: 6.383 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3822, allocations: 0 / 0.5709 GB, free: 6.383 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.485e-06/0.3822, allocations: 4 kB / 0.5709 GB, free: 6.379 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.3824, allocations: 0.5224 MB / 0.5714 GB, free: 5.852 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001255/0.3826, allocations: 111.4 kB / 0.5715 GB, free: 5.719 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002875/0.3829, allocations: 0.688 MB / 0.5722 GB, free: 5.004 MB / 410.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3829, allocations: 0 / 0.5722 GB, free: 5.004 MB / 410.7 MB Notification: Performance of Templates: time 0.006196/0.3891, allocations: 2.96 MB / 0.5751 GB, free: 2.055 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.pipe 2>&1)