Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexFunctions.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.ComplexMath.TestComplexFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexFunctions") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002652/0.002656, allocations: 371.3 kB / 15.97 MB, free: 6.195 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.328/4.328, allocations: 388.9 MB / 405.6 MB, free: 9.566 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.003475/0.003474, allocations: 223.6 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.5352/0.5352, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000473/0.0004733, allocations: 12 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1102, allocations: 54.87 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexFunctions): time 0.0006952/0.1109, allocations: 200.5 kB / 0.6803 GB, free: 41.48 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004694/0.1157, allocations: 2.142 MB / 0.6824 GB, free: 39.32 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.163e-05/0.1157, allocations: 0 / 0.6824 GB, free: 39.32 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.517e-05/0.1158, allocations: 0 / 0.6824 GB, free: 39.32 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 7.584e-06/0.1158, allocations: 0 / 0.6824 GB, free: 39.32 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004015/0.1198, allocations: 0.9109 MB / 0.6833 GB, free: 38.41 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.229e-05/0.1199, allocations: 0 / 0.6833 GB, free: 38.41 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.691e-05/0.12, allocations: 0 / 0.6833 GB, free: 38.41 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.077e-05/0.12, allocations: 7.922 kB / 0.6833 GB, free: 38.4 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.744e-05/0.12, allocations: 0 / 0.6833 GB, free: 38.4 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.384e-06/0.1201, allocations: 7.938 kB / 0.6833 GB, free: 38.39 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00274/0.1228, allocations: 0.8897 MB / 0.6841 GB, free: 37.5 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.077e-06/0.1229, allocations: 4 kB / 0.6842 GB, free: 37.5 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.911e-05/0.1229, allocations: 25.7 kB / 0.6842 GB, free: 37.47 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006858/0.1236, allocations: 251.5 kB / 0.6844 GB, free: 37.22 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.1236, allocations: 4 kB / 0.6844 GB, free: 37.22 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1237, allocations: 4 kB / 0.6844 GB, free: 37.21 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.1237, allocations: 0 / 0.6844 GB, free: 37.21 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004742/0.1242, allocations: 436.8 kB / 0.6848 GB, free: 36.73 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.86e-05/0.1242, allocations: 8.562 kB / 0.6848 GB, free: 36.73 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.094e-05/0.1243, allocations: 4 kB / 0.6849 GB, free: 36.72 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.073e-05/0.1244, allocations: 159.1 kB / 0.685 GB, free: 36.53 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.1244, allocations: 0 / 0.685 GB, free: 36.53 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.1244, allocations: 0 / 0.685 GB, free: 36.53 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.1245, allocations: 33.69 kB / 0.685 GB, free: 36.49 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.1246, allocations: 0 / 0.685 GB, free: 36.49 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.1246, allocations: 3.938 kB / 0.685 GB, free: 36.48 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.1246, allocations: 7.953 kB / 0.685 GB, free: 36.48 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.231e-05/0.1247, allocations: 0 / 0.685 GB, free: 36.48 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001353/0.1248, allocations: 157.9 kB / 0.6852 GB, free: 36.27 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.242e-05/0.1249, allocations: 22.52 kB / 0.6852 GB, free: 36.24 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.998e-05/0.1249, allocations: 4.859 kB / 0.6852 GB, free: 36.23 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.528e-06/0.1249, allocations: 0 / 0.6852 GB, free: 36.23 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.338e-05/0.125, allocations: 60.36 kB / 0.6853 GB, free: 36.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 1.974e-06/0.125, allocations: 4 kB / 0.6853 GB, free: 36.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001945/0.1252, allocations: 67.39 kB / 0.6854 GB, free: 36.08 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.1253, allocations: 81.05 kB / 0.6854 GB, free: 35.98 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.176e-05/0.1253, allocations: 93.81 kB / 0.6855 GB, free: 35.88 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.1253, allocations: 25.7 kB / 0.6855 GB, free: 35.85 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.827e-05/0.1254, allocations: 80.14 kB / 0.6856 GB, free: 35.77 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.1254, allocations: 3.938 kB / 0.6856 GB, free: 35.76 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-06/0.1254, allocations: 0 / 0.6856 GB, free: 35.76 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.655e-05/0.1255, allocations: 319 kB / 0.6859 GB, free: 35.44 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.24e-05/0.1255, allocations: 0 / 0.6859 GB, free: 35.44 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.668e-06/0.1255, allocations: 0 / 0.6859 GB, free: 35.44 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.552e-05/0.1256, allocations: 33.69 kB / 0.686 GB, free: 35.4 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.1256, allocations: 0 / 0.686 GB, free: 35.4 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.248e-05/0.1257, allocations: 59.41 kB / 0.686 GB, free: 35.33 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.957e-05/0.1258, allocations: 33.7 kB / 0.686 GB, free: 35.29 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.1258, allocations: 0 / 0.686 GB, free: 35.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.1258, allocations: 0 / 0.686 GB, free: 35.29 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.063e-06/0.1258, allocations: 4.094 kB / 0.6861 GB, free: 35.29 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.1259, allocations: 7.922 kB / 0.6861 GB, free: 35.28 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.641e-05/0.1259, allocations: 0 / 0.6861 GB, free: 35.28 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.1259, allocations: 11.89 kB / 0.6861 GB, free: 35.27 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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 7.88e-05/0.126, allocations: 131.5 kB / 0.6862 GB, free: 35.12 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.284e-05/0.126, allocations: 0 / 0.6862 GB, free: 35.12 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.281e-05/0.1261, allocations: 7.078 kB / 0.6862 GB, free: 35.12 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.1261, allocations: 4 kB / 0.6862 GB, free: 35.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1261, allocations: 0 / 0.6862 GB, free: 35.12 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.491e-05/0.1261, allocations: 81.11 kB / 0.6863 GB, free: 35.02 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/0.1262, allocations: 7.938 kB / 0.6863 GB, free: 35.01 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.729e-05/0.1262, allocations: 3.938 kB / 0.6863 GB, free: 35.01 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.069e-05/0.1262, allocations: 0 / 0.6863 GB, free: 35.01 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001201/0.1264, allocations: 194.1 kB / 0.6865 GB, free: 34.79 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000145/0.1265, allocations: 236.5 kB / 0.6867 GB, free: 34.54 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.628e-05/0.1266, allocations: 8.062 kB / 0.6867 GB, free: 34.53 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.015e-05/0.1266, allocations: 75.28 kB / 0.6868 GB, free: 34.46 MB / 346.7 MB Notification: Performance of Backend: time 1.282e-06/0.1266, allocations: 0 / 0.6868 GB, free: 34.46 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001722/0.1283, allocations: 402.5 kB / 0.6872 GB, free: 34.05 MB / 346.7 MB Notification: Performance of SimCode: time 0.00036/0.1287, allocations: 0.5814 MB / 0.6877 GB, free: 33.41 MB / 346.7 MB Notification: Performance of Templates: time 0.0136/0.1424, allocations: 4.097 MB / 0.6917 GB, free: 29.32 MB / 346.7 MB