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.003922/0.003928, allocations: 366.2 kB / 15.96 MB, free: 6.199 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.169/4.169, allocations: 388.9 MB / 405.6 MB, free: 10.24 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.005281/0.005281, allocations: 220.1 kB / 451 MB, free: 145.1 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.5331/0.5331, allocations: 80.03 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004848/0.000485, allocations: 15.98 kB / 0.6265 GB, free: 96.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1068, allocations: 54.88 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.0006456/0.1075, allocations: 216.5 kB / 0.6803 GB, free: 41.46 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003499/0.111, allocations: 2.104 MB / 0.6824 GB, free: 39.34 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.831e-06/0.1111, allocations: 0 / 0.6824 GB, free: 39.34 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 5.029e-06/0.1111, allocations: 3.938 kB / 0.6824 GB, free: 39.33 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 1.663e-06/0.1111, allocations: 0 / 0.6824 GB, free: 39.33 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003077/0.1142, allocations: 0.5131 MB / 0.6829 GB, free: 38.82 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 3.638e-05/0.1143, allocations: 11.98 kB / 0.6829 GB, free: 38.81 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.401e-05/0.1143, allocations: 0 / 0.6829 GB, free: 38.81 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.1144, allocations: 8 kB / 0.6829 GB, free: 38.8 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.11e-05/0.1145, allocations: 11.92 kB / 0.6829 GB, free: 38.79 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.494e-06/0.1145, allocations: 0 / 0.6829 GB, free: 38.79 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001374/0.1159, allocations: 0.554 MB / 0.6834 GB, free: 38.23 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.057e-06/0.1159, allocations: 3.984 kB / 0.6834 GB, free: 38.23 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.56e-05/0.116, allocations: 29.7 kB / 0.6835 GB, free: 38.2 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006215/0.1166, allocations: 295.6 kB / 0.6838 GB, free: 37.91 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1166, allocations: 0 / 0.6838 GB, free: 37.91 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1167, allocations: 0 / 0.6838 GB, free: 37.91 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.1167, allocations: 0 / 0.6838 GB, free: 37.91 MB / 346.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.0003965/0.1171, allocations: 417 kB / 0.6842 GB, free: 37.45 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/0.1171, allocations: 12.03 kB / 0.6842 GB, free: 37.43 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.429e-05/0.1172, allocations: 83.22 kB / 0.6842 GB, free: 37.35 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.383e-05/0.1173, allocations: 238.3 kB / 0.6845 GB, free: 37.08 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.727e-05/0.1174, allocations: 154.6 kB / 0.6846 GB, free: 36.93 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.112e-05/0.1174, allocations: 150.6 kB / 0.6848 GB, free: 36.78 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.517e-05/0.1175, allocations: 105 kB / 0.6849 GB, free: 36.67 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.1175, allocations: 79.23 kB / 0.6849 GB, free: 36.59 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.63e-05/0.1175, allocations: 154.6 kB / 0.6851 GB, free: 36.44 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.879e-05/0.1176, allocations: 154.6 kB / 0.6852 GB, free: 36.29 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.383e-05/0.1176, allocations: 158.5 kB / 0.6854 GB, free: 36.13 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002043/0.1178, allocations: 438 kB / 0.6858 GB, free: 35.65 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.01e-05/0.1179, allocations: 169.1 kB / 0.686 GB, free: 35.48 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.46e-05/0.1179, allocations: 88.12 kB / 0.686 GB, free: 35.39 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.118, allocations: 75.28 kB / 0.6861 GB, free: 35.31 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.237e-05/0.118, allocations: 135.5 kB / 0.6862 GB, free: 35.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 1.282e-06/0.118, allocations: 0 / 0.6862 GB, free: 35.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 8.437e-05/0.1181, allocations: 37.59 kB / 0.6863 GB, free: 35.12 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.1182, allocations: 77.11 kB / 0.6864 GB, free: 35.03 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.331e-05/0.1182, allocations: 93.8 kB / 0.6864 GB, free: 34.93 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.1182, allocations: 25.7 kB / 0.6865 GB, free: 34.89 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.107e-05/0.1183, allocations: 84.14 kB / 0.6865 GB, free: 34.81 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.805e-06/0.1183, allocations: 0 / 0.6865 GB, free: 34.81 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.5e-07/0.1183, allocations: 0 / 0.6865 GB, free: 34.81 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.058e-05/0.1183, allocations: 314.8 kB / 0.6869 GB, free: 34.49 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.198e-06/0.1184, allocations: 0 / 0.6869 GB, free: 34.49 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.835e-05/0.1184, allocations: 0 / 0.6869 GB, free: 34.49 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.773e-05/0.1184, allocations: 75.28 kB / 0.6869 GB, free: 34.42 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.81e-05/0.1185, allocations: 79.27 kB / 0.687 GB, free: 34.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.963e-05/0.1185, allocations: 41.67 kB / 0.687 GB, free: 34.29 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.985e-05/0.1186, allocations: 79.28 kB / 0.6871 GB, free: 34.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.019e-05/0.1186, allocations: 79.28 kB / 0.6872 GB, free: 34.14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.308e-05/0.1186, allocations: 154.5 kB / 0.6873 GB, free: 33.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.584e-05/0.1187, allocations: 79.22 kB / 0.6874 GB, free: 33.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.155e-05/0.1187, allocations: 154.5 kB / 0.6876 GB, free: 33.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.491e-05/0.1188, allocations: 87.22 kB / 0.6876 GB, free: 33.67 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.1188, allocations: 79.27 kB / 0.6877 GB, free: 33.59 MB / 346.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 8.669e-05/0.1189, allocations: 265.2 kB / 0.688 GB, free: 33.32 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.793e-05/0.119, allocations: 105.1 kB / 0.6881 GB, free: 33.21 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.573e-05/0.119, allocations: 116 kB / 0.6882 GB, free: 33.09 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-05/0.1191, allocations: 176.3 kB / 0.6883 GB, free: 32.91 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.498e-05/0.1191, allocations: 116.9 kB / 0.6885 GB, free: 32.79 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.329e-05/0.1192, allocations: 182 kB / 0.6886 GB, free: 32.59 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.065e-05/0.1192, allocations: 184.2 kB / 0.6888 GB, free: 32.4 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.313e-05/0.1193, allocations: 105 kB / 0.6889 GB, free: 32.29 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.27e-05/0.1194, allocations: 176.3 kB / 0.6891 GB, free: 32.11 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 5.659e-05/0.1194, allocations: 263.5 kB / 0.6893 GB, free: 31.85 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001108/0.1195, allocations: 379 kB / 0.6897 GB, free: 31.45 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.257e-05/0.1196, allocations: 108.9 kB / 0.6898 GB, free: 31.34 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.728e-05/0.1196, allocations: 75.28 kB / 0.6899 GB, free: 31.27 MB / 346.7 MB Notification: Performance of Backend: time 7.62e-07/0.1196, allocations: 0 / 0.6899 GB, free: 31.27 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001499/0.1211, allocations: 326.6 kB / 0.6902 GB, free: 30.96 MB / 346.7 MB Notification: Performance of SimCode: time 0.0002699/0.1214, allocations: 0.9722 MB / 0.6911 GB, free: 29.93 MB / 346.7 MB Notification: Performance of Templates: time 0.009447/0.1309, allocations: 2.984 MB / 0.694 GB, free: 26.95 MB / 346.7 MB