Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStreams.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.TestStreams,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStreams") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004157/0.004162, allocations: 364.7 kB / 15.96 MB, free: 6.18 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 3.861/3.861, allocations: 388.9 MB / 405.6 MB, free: 10.3 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.00354/0.00354, allocations: 237 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.4955/0.4955, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004655/0.0004656, allocations: 16 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1073, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStreams): time 0.0005874/0.108, allocations: 208.5 kB / 0.6803 GB, free: 41.45 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007551/0.1088, allocations: 271.2 kB / 0.6805 GB, free: 41.19 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.634e-05/0.1088, allocations: 0 / 0.6805 GB, free: 41.19 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.02e-05/0.1088, allocations: 0 / 0.6805 GB, free: 41.19 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.271e-06/0.1088, allocations: 0 / 0.6805 GB, free: 41.19 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004952/0.1093, allocations: 79.73 kB / 0.6806 GB, free: 41.11 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 2.923e-05/0.1094, allocations: 8 kB / 0.6806 GB, free: 41.11 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.712e-05/0.1094, allocations: 3.984 kB / 0.6806 GB, free: 41.1 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.538e-05/0.1095, allocations: 0 / 0.6806 GB, free: 41.1 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.397e-05/0.1095, allocations: 7.984 kB / 0.6806 GB, free: 41.09 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.372e-06/0.1095, allocations: 0 / 0.6806 GB, free: 41.09 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001906/0.1097, allocations: 95.91 kB / 0.6807 GB, free: 41 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.992e-06/0.1097, allocations: 0 / 0.6807 GB, free: 41 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.263e-05/0.1098, allocations: 25.7 kB / 0.6808 GB, free: 40.97 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.1099, allocations: 55.91 kB / 0.6808 GB, free: 40.91 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1099, allocations: 0 / 0.6808 GB, free: 40.91 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1099, allocations: 0 / 0.6808 GB, free: 40.91 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1099, allocations: 4 kB / 0.6808 GB, free: 40.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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002523/0.1102, allocations: 360.9 kB / 0.6812 GB, free: 40.5 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.1102, allocations: 8.031 kB / 0.6812 GB, free: 40.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.747e-05/0.1103, allocations: 11.89 kB / 0.6812 GB, free: 40.48 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.433e-05/0.1104, allocations: 163.1 kB / 0.6813 GB, free: 40.29 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.1104, allocations: 0 / 0.6813 GB, free: 40.29 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.707e-06/0.1104, allocations: 0 / 0.6813 GB, free: 40.29 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.619e-05/0.1105, allocations: 29.7 kB / 0.6814 GB, free: 40.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.1105, allocations: 11.98 kB / 0.6814 GB, free: 40.24 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.707e-06/0.1105, allocations: 0 / 0.6814 GB, free: 40.24 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.1106, allocations: 0 / 0.6814 GB, free: 40.24 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.11e-05/0.1106, allocations: 7.938 kB / 0.6814 GB, free: 40.23 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.694e-05/0.1107, allocations: 141.7 kB / 0.6815 GB, free: 40.04 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.748e-05/0.1107, allocations: 22.55 kB / 0.6815 GB, free: 40.01 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.58e-05/0.1108, allocations: 4.859 kB / 0.6815 GB, free: 40 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-06/0.1108, allocations: 0 / 0.6815 GB, free: 40 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.1108, allocations: 68.33 kB / 0.6816 GB, free: 39.92 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 1.423e-06/0.1108, allocations: 0 / 0.6816 GB, free: 39.92 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.000211/0.1111, allocations: 63.39 kB / 0.6817 GB, free: 39.85 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.1111, allocations: 77.11 kB / 0.6817 GB, free: 39.75 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.445e-05/0.1111, allocations: 93.8 kB / 0.6818 GB, free: 39.65 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.807e-06/0.1112, allocations: 25.7 kB / 0.6819 GB, free: 39.62 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.609e-05/0.1112, allocations: 84.12 kB / 0.6819 GB, free: 39.54 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.249e-05/0.1112, allocations: 4 kB / 0.6819 GB, free: 39.53 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-06/0.1112, allocations: 4.125 kB / 0.6819 GB, free: 39.53 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.642e-05/0.1113, allocations: 314.8 kB / 0.6822 GB, free: 39.21 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.408e-06/0.1113, allocations: 7.938 kB / 0.6823 GB, free: 39.2 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.907e-06/0.1113, allocations: 3.984 kB / 0.6823 GB, free: 39.2 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.418e-05/0.1114, allocations: 25.7 kB / 0.6823 GB, free: 39.17 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1114, allocations: 0 / 0.6823 GB, free: 39.17 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.747e-05/0.1114, allocations: 63.34 kB / 0.6823 GB, free: 39.09 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.238e-05/0.1115, allocations: 33.7 kB / 0.6824 GB, free: 39.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1115, allocations: 4.094 kB / 0.6824 GB, free: 39.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.1115, allocations: 0 / 0.6824 GB, free: 39.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.665e-06/0.1115, allocations: 3.984 kB / 0.6824 GB, free: 39.05 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1115, allocations: 0 / 0.6824 GB, free: 39.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.825e-05/0.1116, allocations: 0 / 0.6824 GB, free: 39.05 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.1116, allocations: 0 / 0.6824 GB, free: 39.05 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.959e-05/0.1117, allocations: 148.2 kB / 0.6825 GB, free: 38.89 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.506e-06/0.1117, allocations: 0 / 0.6825 GB, free: 38.89 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.005e-05/0.1117, allocations: 7.078 kB / 0.6825 GB, free: 38.88 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1117, allocations: 4 kB / 0.6825 GB, free: 38.88 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1117, allocations: 0 / 0.6825 GB, free: 38.88 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.067e-05/0.1118, allocations: 81.11 kB / 0.6826 GB, free: 38.78 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.1118, allocations: 3.984 kB / 0.6826 GB, free: 38.78 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.078e-05/0.1118, allocations: 0 / 0.6826 GB, free: 38.78 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.779e-05/0.1118, allocations: 3.953 kB / 0.6826 GB, free: 38.77 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.431e-05/0.1119, allocations: 194.1 kB / 0.6828 GB, free: 38.56 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001074/0.112, allocations: 240.5 kB / 0.683 GB, free: 38.3 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.98e-05/0.1121, allocations: 4 kB / 0.683 GB, free: 38.3 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.394e-05/0.1121, allocations: 75.28 kB / 0.6831 GB, free: 38.22 MB / 346.7 MB Notification: Performance of Backend: time 7.41e-07/0.1121, allocations: 0 / 0.6831 GB, free: 38.22 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009385/0.1131, allocations: 320.6 kB / 0.6834 GB, free: 37.95 MB / 346.7 MB Notification: Performance of SimCode: time 0.0002508/0.1133, allocations: 0.5775 MB / 0.684 GB, free: 37.31 MB / 346.7 MB Notification: Performance of Templates: time 0.004258/0.1176, allocations: 0.936 MB / 0.6849 GB, free: 36.38 MB / 346.7 MB