Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings.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.Utilities.TestStrings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003887/0.003893, allocations: 364.4 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.164/4.164, allocations: 388.9 MB / 405.6 MB, free: 10.25 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.005045/0.005044, allocations: 237.2 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.5407/0.5407, allocations: 80.02 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006311/0.0006314, allocations: 8 kB / 0.6265 GB, free: 96.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09669/0.09736, allocations: 54.88 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.0005997/0.09802, allocations: 212.5 kB / 0.6803 GB, free: 41.46 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003259/0.1013, allocations: 1.193 MB / 0.6815 GB, free: 40.27 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.193e-05/0.1014, allocations: 0 / 0.6815 GB, free: 40.27 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.276e-05/0.1014, allocations: 0 / 0.6815 GB, free: 40.27 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 8.436e-06/0.1014, allocations: 4 kB / 0.6815 GB, free: 40.26 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002684/0.1041, allocations: 435 kB / 0.6819 GB, free: 39.84 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.865e-05/0.1043, allocations: 11.92 kB / 0.6819 GB, free: 39.82 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.431e-05/0.1044, allocations: 3.984 kB / 0.6819 GB, free: 39.82 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.252e-05/0.1044, allocations: 0 / 0.6819 GB, free: 39.82 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.329e-05/0.1045, allocations: 0 / 0.6819 GB, free: 39.82 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.1045, allocations: 0 / 0.6819 GB, free: 39.82 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007309/0.1118, allocations: 1.873 MB / 0.6837 GB, free: 37.95 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.108e-05/0.1119, allocations: 0 / 0.6837 GB, free: 37.95 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.343e-05/0.1119, allocations: 29.7 kB / 0.6837 GB, free: 37.91 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003637/0.1123, allocations: 115.8 kB / 0.6839 GB, free: 37.8 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.1123, allocations: 0 / 0.6839 GB, free: 37.8 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.245e-06/0.1124, allocations: 0 / 0.6839 GB, free: 37.8 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.1124, allocations: 0 / 0.6839 GB, free: 37.8 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.0004158/0.1128, allocations: 376.9 kB / 0.6842 GB, free: 37.38 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.95e-05/0.1129, allocations: 12.03 kB / 0.6842 GB, free: 37.36 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.666e-05/0.1129, allocations: 0 / 0.6842 GB, free: 37.36 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.049e-05/0.113, allocations: 167 kB / 0.6844 GB, free: 37.16 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.1131, allocations: 0 / 0.6844 GB, free: 37.16 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.1131, allocations: 0 / 0.6844 GB, free: 37.16 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.1132, allocations: 41.62 kB / 0.6844 GB, free: 37.11 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.1133, allocations: 0 / 0.6844 GB, free: 37.11 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.1133, allocations: 0 / 0.6844 GB, free: 37.11 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.1133, allocations: 4 kB / 0.6844 GB, free: 37.11 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.664e-05/0.1134, allocations: 4 kB / 0.6844 GB, free: 37.11 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001428/0.1135, allocations: 149.6 kB / 0.6846 GB, free: 36.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.752e-05/0.1136, allocations: 14.58 kB / 0.6846 GB, free: 36.89 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.176e-05/0.1136, allocations: 8.953 kB / 0.6846 GB, free: 36.88 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.1137, allocations: 7.969 kB / 0.6846 GB, free: 36.87 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.047e-05/0.1137, allocations: 64.2 kB / 0.6847 GB, free: 36.79 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 1.994e-06/0.1137, allocations: 0 / 0.6847 GB, free: 36.79 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002333/0.114, allocations: 63.41 kB / 0.6847 GB, free: 36.71 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.114, allocations: 77.11 kB / 0.6848 GB, free: 36.62 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.031e-05/0.1141, allocations: 89.86 kB / 0.6849 GB, free: 36.52 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.1141, allocations: 29.69 kB / 0.6849 GB, free: 36.49 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.975e-05/0.1142, allocations: 88.08 kB / 0.685 GB, free: 36.4 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/0.1142, allocations: 0 / 0.685 GB, free: 36.4 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-06/0.1142, allocations: 0 / 0.685 GB, free: 36.4 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.249e-05/0.1143, allocations: 314.8 kB / 0.6853 GB, free: 36.08 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.503e-05/0.1143, allocations: 4.125 kB / 0.6853 GB, free: 36.08 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.092e-05/0.1144, allocations: 0 / 0.6853 GB, free: 36.08 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.94e-05/0.1144, allocations: 29.7 kB / 0.6853 GB, free: 36.04 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.1144, allocations: 0 / 0.6853 GB, free: 36.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001148/0.1146, allocations: 67.3 kB / 0.6854 GB, free: 35.96 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.375e-05/0.1146, allocations: 33.69 kB / 0.6854 GB, free: 35.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.1146, allocations: 0 / 0.6854 GB, free: 35.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.1147, allocations: 0 / 0.6854 GB, free: 35.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.004e-06/0.1147, allocations: 0 / 0.6854 GB, free: 35.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.1147, allocations: 96 / 0.6854 GB, free: 35.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.886e-05/0.1148, allocations: 8 kB / 0.6854 GB, free: 35.92 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.1148, allocations: 0 / 0.6854 GB, free: 35.92 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 9.396e-05/0.1149, allocations: 136.3 kB / 0.6856 GB, free: 35.77 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.738e-05/0.1149, allocations: 7.953 kB / 0.6856 GB, free: 35.76 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.441e-05/0.1149, allocations: 7.078 kB / 0.6856 GB, free: 35.76 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.115, allocations: 3.984 kB / 0.6856 GB, free: 35.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.115, allocations: 0 / 0.6856 GB, free: 35.75 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.409e-05/0.115, allocations: 77.11 kB / 0.6857 GB, free: 35.66 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.1151, allocations: 0 / 0.6857 GB, free: 35.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.035e-05/0.1151, allocations: 8 kB / 0.6857 GB, free: 35.65 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.144e-05/0.1151, allocations: 3.938 kB / 0.6857 GB, free: 35.65 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001466/0.1153, allocations: 198 kB / 0.6859 GB, free: 35.43 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001663/0.1155, allocations: 236.5 kB / 0.6861 GB, free: 35.18 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.958e-05/0.1155, allocations: 3.984 kB / 0.6861 GB, free: 35.17 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.005e-05/0.1156, allocations: 79.34 kB / 0.6862 GB, free: 35.09 MB / 346.7 MB Notification: Performance of Backend: time 9.52e-07/0.1156, allocations: 0 / 0.6862 GB, free: 35.09 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001907/0.1175, allocations: 421.6 kB / 0.6866 GB, free: 34.73 MB / 346.7 MB Notification: Performance of SimCode: time 0.0003483/0.1179, allocations: 0.5697 MB / 0.6871 GB, free: 34.1 MB / 346.7 MB Notification: Performance of Templates: time 0.008974/0.1269, allocations: 1.837 MB / 0.6889 GB, free: 32.27 MB / 346.7 MB