Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001445/0.001445, allocations: 180.2 kB / 8.366 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.097/2.097, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001067/0.001067, allocations: 87.02 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3117/0.3117, allocations: 43.48 MB / 353.6 MB, free: 2.281 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.127e-05/2.14e-05, allocations: 224 / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4057/0.4057, allocations: 58.85 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.181/0.5868, allocations: 87.58 MB / 0.5514 GB, free: 11.71 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/0.5871, allocations: 63.97 kB / 0.5515 GB, free: 11.65 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.06577/0.6529, allocations: 12.91 MB / 0.5641 GB, free: 14.73 MB / 411.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.653, allocations: 0 / 0.5641 GB, free: 14.73 MB / 411.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.653, allocations: 0 / 0.5641 GB, free: 14.73 MB / 411.1 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.0007441/0.6537, allocations: 451.9 kB / 0.5645 GB, free: 14.24 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.6538, allocations: 8.031 kB / 0.5645 GB, free: 14.23 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.555e-05/0.6539, allocations: 75.28 kB / 0.5646 GB, free: 14.16 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.654, allocations: 246.3 kB / 0.5648 GB, free: 13.88 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.897e-05/0.6541, allocations: 150.6 kB / 0.565 GB, free: 13.73 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.609e-05/0.6542, allocations: 154.6 kB / 0.5651 GB, free: 13.58 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.273e-05/0.6543, allocations: 158.5 kB / 0.5653 GB, free: 13.42 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.088e-05/0.6544, allocations: 101 kB / 0.5654 GB, free: 13.32 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.571e-05/0.6544, allocations: 75.28 kB / 0.5654 GB, free: 13.24 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-05/0.6545, allocations: 158.5 kB / 0.5656 GB, free: 13.09 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.055e-05/0.6546, allocations: 150.6 kB / 0.5657 GB, free: 12.94 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000317/0.6549, allocations: 426.5 kB / 0.5661 GB, free: 12.48 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.6551, allocations: 173.1 kB / 0.5663 GB, free: 12.3 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.935e-05/0.6551, allocations: 92.06 kB / 0.5664 GB, free: 12.21 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.783e-05/0.6552, allocations: 75.28 kB / 0.5665 GB, free: 12.14 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.124e-05/0.6553, allocations: 131.5 kB / 0.5666 GB, free: 11.99 MB / 411.1 MB Notification: Performance of pre-optimization done (n=0): time 2.014e-06/0.6553, allocations: 0 / 0.5666 GB, free: 11.99 MB / 411.1 MB Notification: Performance of matching and sorting (n=0): time 9.038e-05/0.6554, allocations: 29.7 kB / 0.5666 GB, free: 11.96 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.511e-05/0.6554, allocations: 77.11 kB / 0.5667 GB, free: 11.86 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.393e-05/0.6555, allocations: 85 kB / 0.5668 GB, free: 11.77 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.6555, allocations: 29.7 kB / 0.5668 GB, free: 11.74 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.947e-05/0.6556, allocations: 150.6 kB / 0.5669 GB, free: 11.59 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.894e-06/0.6556, allocations: 0 / 0.5669 GB, free: 11.59 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-07/0.6556, allocations: 4 kB / 0.5669 GB, free: 11.59 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.6558, allocations: 310.8 kB / 0.5672 GB, free: 11.27 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.773e-06/0.6558, allocations: 4 kB / 0.5672 GB, free: 11.27 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.459e-05/0.6558, allocations: 3.938 kB / 0.5672 GB, free: 11.27 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.479e-05/0.6559, allocations: 75.28 kB / 0.5673 GB, free: 11.19 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-05/0.6559, allocations: 79.31 kB / 0.5674 GB, free: 11.11 MB / 411.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.904e-05/0.656, allocations: 37.64 kB / 0.5674 GB, free: 11.07 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.657e-05/0.6561, allocations: 79.28 kB / 0.5675 GB, free: 10.99 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.096e-05/0.6561, allocations: 79.33 kB / 0.5676 GB, free: 10.91 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.936e-05/0.6562, allocations: 161.2 kB / 0.5677 GB, free: 10.76 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.733e-05/0.6563, allocations: 79.28 kB / 0.5678 GB, free: 10.68 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.369e-05/0.6563, allocations: 150.6 kB / 0.568 GB, free: 10.53 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.162e-05/0.6564, allocations: 83.22 kB / 0.568 GB, free: 10.45 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.202e-05/0.6565, allocations: 79.28 kB / 0.5681 GB, free: 10.37 MB / 411.1 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.0001515/0.6566, allocations: 255.5 kB / 0.5684 GB, free: 10.11 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.194e-05/0.6567, allocations: 112.9 kB / 0.5685 GB, free: 9.996 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.421e-05/0.6568, allocations: 108.7 kB / 0.5686 GB, free: 9.887 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.204e-05/0.6569, allocations: 180.3 kB / 0.5687 GB, free: 9.703 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.136e-05/0.657, allocations: 176.3 kB / 0.5689 GB, free: 9.523 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.132e-05/0.6571, allocations: 188.2 kB / 0.5691 GB, free: 9.332 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002511/0.6573, allocations: 373.8 kB / 0.5694 GB, free: 8.922 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.402e-05/0.6574, allocations: 101 kB / 0.5695 GB, free: 8.816 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.064e-05/0.6574, allocations: 104.9 kB / 0.5696 GB, free: 8.707 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.603e-05/0.6575, allocations: 188.2 kB / 0.5698 GB, free: 8.516 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-05/0.6576, allocations: 180.3 kB / 0.57 GB, free: 8.332 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.113e-05/0.6577, allocations: 184.2 kB / 0.5702 GB, free: 8.145 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.28e-05/0.6578, allocations: 184.2 kB / 0.5703 GB, free: 7.957 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001783/0.658, allocations: 307.8 kB / 0.5706 GB, free: 7.633 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.11e-05/0.6581, allocations: 190 kB / 0.5708 GB, free: 7.422 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.05e-05/0.6582, allocations: 176.3 kB / 0.571 GB, free: 7.242 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.6583, allocations: 105.3 kB / 0.5711 GB, free: 7.133 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.6584, allocations: 184.2 kB / 0.5713 GB, free: 6.945 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.883e-05/0.6585, allocations: 105 kB / 0.5714 GB, free: 6.836 MB / 411.1 MB Notification: Performance of sorting global known variables: time 3.897e-05/0.6586, allocations: 79.28 kB / 0.5714 GB, free: 6.758 MB / 411.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6586, allocations: 0 / 0.5714 GB, free: 6.758 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0009993/0.6596, allocations: 163.7 kB / 0.5716 GB, free: 6.598 MB / 411.1 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.001283/0.6609, allocations: 465.9 kB / 0.572 GB, free: 6.133 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 6.105e-05/0.661, allocations: 4 kB / 0.572 GB, free: 6.129 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.661, allocations: 0 / 0.572 GB, free: 6.129 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 2.295e-06/0.661, allocations: 0 / 0.572 GB, free: 6.129 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.6614, allocations: 0.5263 MB / 0.5726 GB, free: 5.598 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000162/0.6615, allocations: 145 kB / 0.5727 GB, free: 5.426 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.6618, allocations: 0.6729 MB / 0.5733 GB, free: 4.727 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.748e-05/0.6619, allocations: 11.44 kB / 0.5734 GB, free: 4.715 MB / 411.1 MB Notification: Performance of SimCode: time 9.52e-07/0.6619, allocations: 0 / 0.5734 GB, free: 4.715 MB / 411.1 MB Notification: Performance of Templates: time 0.008711/0.6706, allocations: 2.938 MB / 0.5762 GB, free: 1.777 MB / 411.1 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)