Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestNonlinear.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestNonlinear") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004036/0.004036, allocations: 363.3 kB / 15.95 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.245/4.245, allocations: 388.9 MB / 405.6 MB, free: 9.672 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003521/0.00352, allocations: 220.4 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5927/0.5927, allocations: 80.03 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004678/0.0004679, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1038, allocations: 54.87 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.54/0.6439, allocations: 83.45 MB / 0.7616 GB, free: 1.887 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/0.6442, allocations: 67.09 kB / 0.7616 GB, free: 1.852 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0661/0.7103, allocations: 12.88 MB / 0.7742 GB, free: 6.875 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.7104, allocations: 0 / 0.7742 GB, free: 6.875 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.7104, allocations: 0 / 0.7742 GB, free: 6.875 MB / 362.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.0007824/0.7112, allocations: 456.5 kB / 0.7747 GB, free: 6.379 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.7113, allocations: 12.03 kB / 0.7747 GB, free: 6.367 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.836e-05/0.7113, allocations: 82.73 kB / 0.7747 GB, free: 6.289 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.7115, allocations: 238.3 kB / 0.775 GB, free: 6.016 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.95e-05/0.7116, allocations: 150.6 kB / 0.7751 GB, free: 5.867 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.194e-05/0.7116, allocations: 154.5 kB / 0.7753 GB, free: 5.715 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.526e-05/0.7117, allocations: 112.9 kB / 0.7754 GB, free: 5.598 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.2e-05/0.7118, allocations: 87.16 kB / 0.7755 GB, free: 5.512 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.378e-05/0.7119, allocations: 150.6 kB / 0.7756 GB, free: 5.363 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.148e-05/0.7119, allocations: 150.6 kB / 0.7757 GB, free: 5.215 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.183e-05/0.712, allocations: 154.5 kB / 0.7759 GB, free: 5.062 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003221/0.7123, allocations: 445.7 kB / 0.7763 GB, free: 4.582 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.719e-05/0.7124, allocations: 173.1 kB / 0.7765 GB, free: 4.402 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.892e-05/0.7125, allocations: 80.14 kB / 0.7766 GB, free: 4.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.862e-05/0.7125, allocations: 79.27 kB / 0.7766 GB, free: 4.242 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.187e-05/0.7126, allocations: 135.4 kB / 0.7768 GB, free: 4.098 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 2.865e-06/0.7127, allocations: 4 kB / 0.7768 GB, free: 4.094 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 9.522e-05/0.7128, allocations: 29.7 kB / 0.7768 GB, free: 4.059 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.961e-05/0.7128, allocations: 152.4 kB / 0.7769 GB, free: 3.891 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.262e-05/0.7129, allocations: 89.86 kB / 0.777 GB, free: 3.793 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.7129, allocations: 29.64 kB / 0.777 GB, free: 3.758 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.011e-05/0.713, allocations: 80.14 kB / 0.7771 GB, free: 3.676 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.244e-06/0.713, allocations: 0 / 0.7771 GB, free: 3.676 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.01e-07/0.713, allocations: 4 kB / 0.7771 GB, free: 3.672 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.7131, allocations: 318.8 kB / 0.7774 GB, free: 3.352 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.388e-06/0.7131, allocations: 0 / 0.7774 GB, free: 3.352 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.978e-05/0.7132, allocations: 0 / 0.7774 GB, free: 3.352 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.471e-05/0.7132, allocations: 79.33 kB / 0.7775 GB, free: 3.273 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.69e-05/0.7133, allocations: 78.47 kB / 0.7776 GB, free: 3.199 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.794e-05/0.7134, allocations: 36.56 kB / 0.7776 GB, free: 3.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.484e-05/0.7134, allocations: 79.28 kB / 0.7777 GB, free: 3.082 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.318e-05/0.7135, allocations: 83.22 kB / 0.7778 GB, free: 3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.682e-05/0.7136, allocations: 154.6 kB / 0.7779 GB, free: 2.848 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.008e-05/0.7136, allocations: 79.22 kB / 0.778 GB, free: 2.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.026e-05/0.7137, allocations: 150.6 kB / 0.7781 GB, free: 2.621 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.065e-05/0.7138, allocations: 83.22 kB / 0.7782 GB, free: 2.543 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/0.7138, allocations: 83.2 kB / 0.7783 GB, free: 2.461 MB / 362.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 () * Number of clocked 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.0001455/0.714, allocations: 269.2 kB / 0.7786 GB, free: 2.188 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.88e-05/0.714, allocations: 101 kB / 0.7787 GB, free: 2.082 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.211e-05/0.7141, allocations: 111.8 kB / 0.7788 GB, free: 1.961 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-05/0.7142, allocations: 180.3 kB / 0.7789 GB, free: 1.777 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.218e-05/0.7143, allocations: 183.8 kB / 0.7791 GB, free: 1.594 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.511e-05/0.7144, allocations: 180.2 kB / 0.7793 GB, free: 1.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002523/0.7146, allocations: 405.1 kB / 0.7797 GB, free: 0.957 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.433e-05/0.7147, allocations: 108.9 kB / 0.7798 GB, free: 0.8438 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.123e-05/0.7147, allocations: 105 kB / 0.7799 GB, free: 0.7344 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.89e-05/0.7148, allocations: 180.1 kB / 0.78 GB, free: 0.5547 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.432e-05/0.7149, allocations: 184.2 kB / 0.7802 GB, free: 376 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.942e-05/0.715, allocations: 184.3 kB / 0.7804 GB, free: 184 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.257e-05/0.7151, allocations: 184.1 kB / 0.7806 GB, free: 15.99 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001602/0.7153, allocations: 306.8 kB / 0.7809 GB, free: 15.67 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.195e-05/0.7154, allocations: 182 kB / 0.781 GB, free: 15.47 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.895e-05/0.7155, allocations: 180.7 kB / 0.7812 GB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.7156, allocations: 112.9 kB / 0.7813 GB, free: 15.17 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.444e-05/0.7157, allocations: 180.2 kB / 0.7815 GB, free: 14.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.807e-05/0.7157, allocations: 105 kB / 0.7816 GB, free: 14.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.849e-05/0.7158, allocations: 83.23 kB / 0.7817 GB, free: 14.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.7158, allocations: 0 / 0.7817 GB, free: 14.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001008/0.7168, allocations: 167 kB / 0.7818 GB, free: 14.64 MB / 378.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 () * Number of clocked 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.001402/0.7182, allocations: 457 kB / 0.7823 GB, free: 14.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 6.499e-05/0.7183, allocations: 0 / 0.7823 GB, free: 14.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/0.7183, allocations: 4 kB / 0.7823 GB, free: 14.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.755e-06/0.7183, allocations: 0 / 0.7823 GB, free: 14.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004518/0.7188, allocations: 0.5262 MB / 0.7828 GB, free: 13.67 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001819/0.719, allocations: 146 kB / 0.7829 GB, free: 13.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.7193, allocations: 0.6731 MB / 0.7836 GB, free: 12.8 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.885e-06/0.7193, allocations: 3.938 kB / 0.7836 GB, free: 12.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.762e-05/0.7194, allocations: 7.438 kB / 0.7836 GB, free: 12.79 MB / 378.7 MB Notification: Performance of SimCode: time 7.81e-07/0.7194, allocations: 0 / 0.7836 GB, free: 12.79 MB / 378.7 MB Notification: Performance of Templates: time 0.01462/0.734, allocations: 2.927 MB / 0.7864 GB, free: 9.887 MB / 378.7 MB