Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal.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.TestInternal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004091/0.004096, 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.008/4.008, allocations: 388.9 MB / 405.6 MB, free: 10.23 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.003487/0.003487, allocations: 230.7 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.5967/0.5967, allocations: 80.02 MB / 0.5627 GB, free: 19.83 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006581/0.0006584, allocations: 12 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1056, allocations: 54.86 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.000593/0.1063, allocations: 228.4 kB / 0.6803 GB, free: 41.44 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006467/0.107, allocations: 231.3 kB / 0.6805 GB, free: 41.22 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.026e-05/0.107, allocations: 0 / 0.6805 GB, free: 41.22 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 9.909e-06/0.107, allocations: 0 / 0.6805 GB, free: 41.22 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 7.214e-06/0.107, allocations: 0 / 0.6805 GB, free: 41.22 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000279/0.1073, allocations: 39.89 kB / 0.6806 GB, free: 41.18 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 3.427e-05/0.1074, allocations: 0 / 0.6806 GB, free: 41.18 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.49e-05/0.1074, allocations: 4 kB / 0.6806 GB, free: 41.18 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.666e-05/0.1075, allocations: 3.984 kB / 0.6806 GB, free: 41.17 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.524e-05/0.1075, allocations: 0 / 0.6806 GB, free: 41.17 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.175e-06/0.1075, allocations: 4 kB / 0.6806 GB, free: 41.17 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.1077, allocations: 51.97 kB / 0.6806 GB, free: 41.12 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.003e-06/0.1077, allocations: 3.984 kB / 0.6806 GB, free: 41.11 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.784e-05/0.1077, allocations: 29.64 kB / 0.6807 GB, free: 41.08 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 9.917e-05/0.1078, allocations: 39.94 kB / 0.6807 GB, free: 41.04 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1078, allocations: 0 / 0.6807 GB, free: 41.04 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1079, allocations: 0 / 0.6807 GB, free: 41.04 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.1079, allocations: 0 / 0.6807 GB, free: 41.04 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.0002585/0.1081, allocations: 364.9 kB / 0.681 GB, free: 40.63 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.1082, allocations: 8.031 kB / 0.6811 GB, free: 40.62 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.379e-05/0.1082, allocations: 7.953 kB / 0.6811 GB, free: 40.61 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.964e-05/0.1083, allocations: 163.1 kB / 0.6812 GB, free: 40.41 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.1083, allocations: 0 / 0.6812 GB, free: 40.41 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.1084, allocations: 3.938 kB / 0.6812 GB, free: 40.41 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.275e-05/0.1084, allocations: 29.69 kB / 0.6812 GB, free: 40.38 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.1085, allocations: 4 kB / 0.6813 GB, free: 40.37 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.1085, allocations: 0 / 0.6813 GB, free: 40.37 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1085, allocations: 0 / 0.6813 GB, free: 40.37 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.052e-05/0.1085, allocations: 3.953 kB / 0.6813 GB, free: 40.37 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001049/0.1086, allocations: 149.7 kB / 0.6814 GB, free: 40.17 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.829e-05/0.1087, allocations: 18.61 kB / 0.6814 GB, free: 40.14 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.666e-05/0.1087, allocations: 8.797 kB / 0.6814 GB, free: 40.13 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.56e-06/0.1087, allocations: 0 / 0.6814 GB, free: 40.13 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.018e-05/0.1088, allocations: 64.31 kB / 0.6815 GB, free: 40.05 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 1.613e-06/0.1088, allocations: 0 / 0.6815 GB, free: 40.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001831/0.109, allocations: 63.53 kB / 0.6815 GB, free: 39.98 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.1091, allocations: 81.11 kB / 0.6816 GB, free: 39.88 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.416e-05/0.1091, allocations: 89.86 kB / 0.6817 GB, free: 39.79 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.1091, allocations: 25.7 kB / 0.6817 GB, free: 39.75 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.554e-05/0.1091, allocations: 80.14 kB / 0.6818 GB, free: 39.67 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/0.1092, allocations: 0 / 0.6818 GB, free: 39.67 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-06/0.1092, allocations: 0 / 0.6818 GB, free: 39.67 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.058e-05/0.1092, allocations: 318.8 kB / 0.6821 GB, free: 39.35 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.122e-05/0.1093, allocations: 4 kB / 0.6821 GB, free: 39.35 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.484e-06/0.1093, allocations: 7.938 kB / 0.6821 GB, free: 39.34 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.061e-05/0.1093, allocations: 25.7 kB / 0.6822 GB, free: 39.31 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1093, allocations: 0 / 0.6822 GB, free: 39.31 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.83e-05/0.1094, allocations: 63.41 kB / 0.6822 GB, free: 39.23 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.514e-05/0.1095, allocations: 37.69 kB / 0.6822 GB, free: 39.19 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1095, allocations: 3.938 kB / 0.6823 GB, free: 39.19 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.1095, allocations: 0 / 0.6823 GB, free: 39.19 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.402e-06/0.1095, allocations: 0 / 0.6823 GB, free: 39.19 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1095, allocations: 0 / 0.6823 GB, free: 39.19 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.14e-05/0.1095, allocations: 4.094 kB / 0.6823 GB, free: 39.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.1096, allocations: 0 / 0.6823 GB, free: 39.18 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 6.978e-05/0.1096, allocations: 144.2 kB / 0.6824 GB, free: 39.03 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.817e-06/0.1097, allocations: 0 / 0.6824 GB, free: 39.03 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.263e-05/0.1097, allocations: 7.078 kB / 0.6824 GB, free: 39.02 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1097, allocations: 0 / 0.6824 GB, free: 39.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1097, allocations: 4 kB / 0.6824 GB, free: 39.02 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.414e-05/0.1097, allocations: 85.08 kB / 0.6825 GB, free: 38.92 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.1098, allocations: 0 / 0.6825 GB, free: 38.92 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.291e-05/0.1098, allocations: 4 kB / 0.6825 GB, free: 38.91 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.496e-05/0.1098, allocations: 7.891 kB / 0.6825 GB, free: 38.91 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001061/0.1099, allocations: 198.1 kB / 0.6827 GB, free: 38.69 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001162/0.1101, allocations: 228.5 kB / 0.6829 GB, free: 38.44 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.504e-05/0.1101, allocations: 11.94 kB / 0.6829 GB, free: 38.43 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.944e-05/0.1101, allocations: 83.33 kB / 0.683 GB, free: 38.35 MB / 346.7 MB Notification: Performance of Backend: time 7.41e-07/0.1101, allocations: 0 / 0.683 GB, free: 38.35 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009316/0.1111, allocations: 301.3 kB / 0.6833 GB, free: 38.1 MB / 346.7 MB Notification: Performance of SimCode: time 0.0002655/0.1114, allocations: 0.5813 MB / 0.6838 GB, free: 37.46 MB / 346.7 MB Notification: Performance of Templates: time 0.004009/0.1154, allocations: 0.7848 MB / 0.6846 GB, free: 36.67 MB / 346.7 MB