Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings") translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 117.6 kB / 17.09 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001167/0.001166, allocations: 198.9 kB / 18.01 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.357/1.357, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2107/0.2107, allocations: 43.53 MB / 314.8 MB, free: 448 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 65.47 kB / 442.4 MB, free: 5.684 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1093, allocations: 57.79 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001725/0.1111, allocations: 0.4979 MB / 0.489 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002398/0.1135, allocations: 1.274 MB / 0.4902 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.677e-05/0.1136, allocations: 3.938 kB / 0.4902 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.526e-05/0.1136, allocations: 0 / 0.4902 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.37e-06/0.1136, allocations: 0 / 0.4902 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001712/0.1154, allocations: 0.5764 MB / 0.4908 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.258e-05/0.1154, allocations: 8 kB / 0.4908 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.34e-05/0.1155, allocations: 7.984 kB / 0.4908 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.469e-05/0.1155, allocations: 0 / 0.4908 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.094e-05/0.1155, allocations: 4 kB / 0.4908 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.925e-06/0.1156, allocations: 0 / 0.4908 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01318/0.1287, allocations: 2.524 MB / 0.4933 GB, free: 6.969 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.323e-05/0.1288, allocations: 0 / 0.4933 GB, free: 6.969 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.244e-05/0.1288, allocations: 7.984 kB / 0.4933 GB, free: 6.961 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004138/0.1292, allocations: 159.7 kB / 0.4935 GB, free: 6.805 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.1292, allocations: 4 kB / 0.4935 GB, free: 6.801 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1293, allocations: 0 / 0.4935 GB, free: 6.801 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1293, allocations: 0 / 0.4935 GB, free: 6.801 MB / 382.1 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.0003931/0.1297, allocations: 389.2 kB / 0.4938 GB, free: 6.367 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.1297, allocations: 11.89 kB / 0.4938 GB, free: 6.355 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.099e-05/0.1298, allocations: 0.9375 kB / 0.4938 GB, free: 6.355 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.1299, allocations: 160.4 kB / 0.494 GB, free: 6.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.1299, allocations: 4.375 kB / 0.494 GB, free: 6.156 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-06/0.1299, allocations: 384 / 0.494 GB, free: 6.156 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.272e-05/0.13, allocations: 37.77 kB / 0.494 GB, free: 6.113 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.13, allocations: 0 / 0.494 GB, free: 6.113 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.13, allocations: 4 kB / 0.494 GB, free: 6.109 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.13, allocations: 3.984 kB / 0.494 GB, free: 6.105 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.859e-05/0.1301, allocations: 0 / 0.494 GB, free: 6.105 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001345/0.1302, allocations: 157.6 kB / 0.4942 GB, free: 5.902 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.083e-05/0.1303, allocations: 18.61 kB / 0.4942 GB, free: 5.875 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.491e-05/0.1303, allocations: 4.859 kB / 0.4942 GB, free: 5.867 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.967e-06/0.1303, allocations: 7.938 kB / 0.4942 GB, free: 5.859 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.081e-05/0.1304, allocations: 64.27 kB / 0.4943 GB, free: 5.781 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.1304, allocations: 0 / 0.4943 GB, free: 5.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.000166/0.1305, allocations: 63.39 kB / 0.4943 GB, free: 5.707 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.1306, allocations: 81.11 kB / 0.4944 GB, free: 5.609 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.538e-05/0.1306, allocations: 89.86 kB / 0.4945 GB, free: 5.512 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.1307, allocations: 25.7 kB / 0.4945 GB, free: 5.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.671e-05/0.1307, allocations: 84.27 kB / 0.4946 GB, free: 5.395 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.952e-05/0.1307, allocations: 3.938 kB / 0.4946 GB, free: 5.391 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.008e-05/0.1308, allocations: 13.72 kB / 0.4946 GB, free: 5.371 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.1309, allocations: 318.8 kB / 0.4949 GB, free: 5.051 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.088e-05/0.1309, allocations: 0 / 0.4949 GB, free: 5.051 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.286e-06/0.1309, allocations: 3.938 kB / 0.4949 GB, free: 5.047 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.801e-05/0.131, allocations: 64.27 kB / 0.495 GB, free: 4.969 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.131, allocations: 0 / 0.495 GB, free: 4.969 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.211e-05/0.131, allocations: 63.47 kB / 0.4951 GB, free: 4.895 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.294e-05/0.1311, allocations: 37.62 kB / 0.4951 GB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1311, allocations: 7.938 kB / 0.4951 GB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.1311, allocations: 0 / 0.4951 GB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-07/0.1311, allocations: 0 / 0.4951 GB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1311, allocations: 0 / 0.4951 GB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.633e-05/0.1312, allocations: 0 / 0.4951 GB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.1312, allocations: 0 / 0.4951 GB, free: 4.844 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.947e-05/0.1313, allocations: 143.5 kB / 0.4952 GB, free: 4.688 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.014e-05/0.1313, allocations: 7.969 kB / 0.4952 GB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.258e-05/0.1313, allocations: 3.125 kB / 0.4952 GB, free: 4.672 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1313, allocations: 3.938 kB / 0.4953 GB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1313, allocations: 0 / 0.4953 GB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1313, allocations: 3.984 kB / 0.4953 GB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.28e-05/0.1314, allocations: 145.7 kB / 0.4954 GB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1314, allocations: 0 / 0.4954 GB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.1314, allocations: 0 / 0.4954 GB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.1314, allocations: 3.938 kB / 0.4954 GB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-06/0.1314, allocations: 0 / 0.4954 GB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1314, allocations: 4 kB / 0.4954 GB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1315, allocations: 4 kB / 0.4954 GB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.1316, allocations: 86.83 kB / 0.4955 GB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.289e-05/0.1316, allocations: 81.05 kB / 0.4956 GB, free: 4.254 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.1316, allocations: 4 kB / 0.4956 GB, free: 4.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.02e-05/0.1316, allocations: 0 / 0.4956 GB, free: 4.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.337e-05/0.1317, allocations: 3.984 kB / 0.4956 GB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.1317, allocations: 8.031 kB / 0.4956 GB, free: 4.238 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.569e-05/0.1317, allocations: 75.28 kB / 0.4957 GB, free: 4.164 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1317, allocations: 0 / 0.4957 GB, free: 4.164 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003053/0.132, allocations: 68 kB / 0.4957 GB, free: 4.098 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008799/0.1329, allocations: 397.6 kB / 0.4961 GB, free: 3.695 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001028/0.133, allocations: 63.39 kB / 0.4962 GB, free: 3.621 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.133, allocations: 0 / 0.4962 GB, free: 3.621 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.529e-05/0.1331, allocations: 59.41 kB / 0.4962 GB, free: 3.551 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001263/0.1332, allocations: 0 / 0.4962 GB, free: 3.551 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002152/0.1334, allocations: 114.7 kB / 0.4963 GB, free: 3.406 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/0.1337, allocations: 0.669 MB / 0.497 GB, free: 2.711 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.768e-05/0.1337, allocations: 11.44 kB / 0.497 GB, free: 2.699 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1337, allocations: 0 / 0.497 GB, free: 2.699 MB / 382.1 MB Notification: Performance of Templates: time 0.003993/0.1377, allocations: 1.989 MB / 0.4989 GB, free: 0.707 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.sim & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.pipe 2>&1)