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.001364/0.001364, allocations: 110.6 kB / 16.41 MB, free: 6.508 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.001429/0.001429, allocations: 188.2 kB / 17.34 MB, free: 5.742 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.681/1.681, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2259/0.2259, allocations: 43.52 MB / 314.1 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.001427/0.001427, allocations: 69.55 kB / 441.8 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1209, allocations: 57.79 MB / 499.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001755/0.1227, allocations: 494.8 kB / 0.4883 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002501/0.1252, allocations: 1.295 MB / 0.4896 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.829e-05/0.1253, allocations: 3.938 kB / 0.4896 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.658e-05/0.1253, allocations: 0 / 0.4896 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.011e-06/0.1253, allocations: 0 / 0.4896 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001713/0.1271, allocations: 0.5726 MB / 0.4902 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.159e-05/0.1271, allocations: 4 kB / 0.4902 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.038e-05/0.1272, allocations: 4 kB / 0.4902 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.58e-05/0.1272, allocations: 7.922 kB / 0.4902 GB, free: 9.434 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.159e-05/0.1272, allocations: 0 / 0.4902 GB, free: 9.434 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.641e-06/0.1272, allocations: 0 / 0.4902 GB, free: 9.434 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01569/0.1429, allocations: 2.523 MB / 0.4926 GB, free: 6.957 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.846e-05/0.143, allocations: 3.984 kB / 0.4926 GB, free: 6.953 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.231e-05/0.143, allocations: 3.938 kB / 0.4926 GB, free: 6.949 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005198/0.1435, allocations: 159.8 kB / 0.4928 GB, free: 6.793 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.1435, allocations: 0 / 0.4928 GB, free: 6.793 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1436, allocations: 0 / 0.4928 GB, free: 6.793 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.1436, allocations: 0 / 0.4928 GB, free: 6.793 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.0004675/0.144, allocations: 385.2 kB / 0.4932 GB, free: 6.363 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.1441, allocations: 15.89 kB / 0.4932 GB, free: 6.348 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.221e-05/0.1442, allocations: 0.9375 kB / 0.4932 GB, free: 6.348 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.1443, allocations: 160.4 kB / 0.4933 GB, free: 6.152 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.1443, allocations: 384 / 0.4933 GB, free: 6.152 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.1443, allocations: 384 / 0.4933 GB, free: 6.152 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.1445, allocations: 41.81 kB / 0.4934 GB, free: 6.105 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.1445, allocations: 0 / 0.4934 GB, free: 6.105 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.1445, allocations: 4 kB / 0.4934 GB, free: 6.102 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.1446, allocations: 0 / 0.4934 GB, free: 6.102 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.134e-05/0.1446, allocations: 3.938 kB / 0.4934 GB, free: 6.098 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001998/0.1448, allocations: 149.6 kB / 0.4935 GB, free: 5.902 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.514e-05/0.1449, allocations: 14.58 kB / 0.4935 GB, free: 5.879 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.953e-05/0.1449, allocations: 16.95 kB / 0.4936 GB, free: 5.859 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.302e-06/0.1449, allocations: 0 / 0.4936 GB, free: 5.859 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.046e-05/0.145, allocations: 68.19 kB / 0.4936 GB, free: 5.777 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.145, allocations: 0 / 0.4936 GB, free: 5.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002114/0.1452, allocations: 67.33 kB / 0.4937 GB, free: 5.699 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/0.1452, allocations: 81.05 kB / 0.4938 GB, free: 5.602 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.392e-05/0.1453, allocations: 89.86 kB / 0.4938 GB, free: 5.504 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.1453, allocations: 25.83 kB / 0.4939 GB, free: 5.473 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.907e-05/0.1454, allocations: 84.14 kB / 0.494 GB, free: 5.387 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.1454, allocations: 4 kB / 0.494 GB, free: 5.383 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/0.1454, allocations: 17.7 kB / 0.494 GB, free: 5.359 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.1456, allocations: 314.8 kB / 0.4943 GB, free: 5.043 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.327e-05/0.1456, allocations: 4 kB / 0.4943 GB, free: 5.039 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.574e-06/0.1456, allocations: 0 / 0.4943 GB, free: 5.039 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.658e-05/0.1457, allocations: 60.27 kB / 0.4943 GB, free: 4.965 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1457, allocations: 4.062 kB / 0.4943 GB, free: 4.961 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.924e-05/0.1458, allocations: 67.33 kB / 0.4944 GB, free: 4.883 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.849e-05/0.1458, allocations: 37.64 kB / 0.4944 GB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.1458, allocations: 7.922 kB / 0.4944 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.1458, allocations: 0 / 0.4944 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.943e-06/0.1458, allocations: 0 / 0.4944 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.1459, allocations: 0 / 0.4944 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.023e-05/0.1459, allocations: 0 / 0.4944 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.974e-06/0.1459, allocations: 4 kB / 0.4944 GB, free: 4.828 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 9.59e-05/0.146, allocations: 139.5 kB / 0.4946 GB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.265e-05/0.146, allocations: 7.922 kB / 0.4946 GB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.602e-05/0.146, allocations: 11.11 kB / 0.4946 GB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.146, allocations: 0 / 0.4946 GB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1461, allocations: 0 / 0.4946 GB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1461, allocations: 0 / 0.4946 GB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.914e-05/0.1462, allocations: 141.7 kB / 0.4947 GB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1462, allocations: 0 / 0.4947 GB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.72e-07/0.1462, allocations: 0 / 0.4947 GB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.1462, allocations: 7.938 kB / 0.4947 GB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.1462, allocations: 7.984 kB / 0.4948 GB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1462, allocations: 0 / 0.4948 GB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1462, allocations: 0 / 0.4948 GB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001045/0.1463, allocations: 94.78 kB / 0.4948 GB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.077e-05/0.1464, allocations: 85.03 kB / 0.4949 GB, free: 4.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.1464, allocations: 0 / 0.4949 GB, free: 4.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.047e-06/0.1464, allocations: 0 / 0.4949 GB, free: 4.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.436e-05/0.1464, allocations: 4 kB / 0.4949 GB, free: 4.227 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.1464, allocations: 4.031 kB / 0.4949 GB, free: 4.223 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.143e-05/0.1465, allocations: 75.28 kB / 0.495 GB, free: 4.148 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1465, allocations: 0 / 0.495 GB, free: 4.148 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003166/0.1468, allocations: 67.98 kB / 0.4951 GB, free: 4.082 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.0009558/0.1478, allocations: 397.6 kB / 0.4954 GB, free: 3.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00013/0.1479, allocations: 59.41 kB / 0.4955 GB, free: 3.609 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1479, allocations: 0 / 0.4955 GB, free: 3.609 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.176e-05/0.148, allocations: 59.34 kB / 0.4956 GB, free: 3.539 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001296/0.1481, allocations: 0 / 0.4956 GB, free: 3.539 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002446/0.1484, allocations: 93.03 kB / 0.4956 GB, free: 3.422 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.1486, allocations: 0.6729 MB / 0.4963 GB, free: 2.723 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.075e-06/0.1487, allocations: 0 / 0.4963 GB, free: 2.723 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.7e-05/0.1487, allocations: 7.438 kB / 0.4963 GB, free: 2.715 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1487, allocations: 0 / 0.4963 GB, free: 2.715 MB / 382.1 MB Notification: Performance of Templates: time 0.00618/0.1549, allocations: 2.088 MB / 0.4984 GB, free: 0.625 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)