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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.0009404/0.0009405, allocations: 177.8 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.386/1.386, allocations: 205.3 MB / 213.7 MB, free: 1.719 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008975/0.0008975, allocations: 86.64 kB / 261.7 MB, free: 1.672 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1952/0.1952, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.687e-05/1.682e-05, allocations: 4 kB / 418.2 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1218, allocations: 58.86 MB / 477.1 MB, free: 1.633 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4019/0.5237, allocations: 87.05 MB / 0.5509 GB, free: 7.855 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001514/0.5239, allocations: 67.12 kB / 0.551 GB, free: 7.824 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03476/0.5587, allocations: 16.86 MB / 0.5675 GB, free: 10.78 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.5587, allocations: 0 / 0.5675 GB, free: 10.78 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.5587, allocations: 0 / 0.5675 GB, free: 10.78 MB / 378.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.0006512/0.5594, allocations: 490.3 kB / 0.5679 GB, free: 10.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.5594, allocations: 8.031 kB / 0.5679 GB, free: 10.26 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.069e-05/0.5595, allocations: 3.953 kB / 0.5679 GB, free: 10.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.335e-05/0.5596, allocations: 163.1 kB / 0.5681 GB, free: 10.05 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.5596, allocations: 0 / 0.5681 GB, free: 10.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.5596, allocations: 3.984 kB / 0.5681 GB, free: 10.05 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.182e-05/0.5596, allocations: 3.938 kB / 0.5681 GB, free: 10.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.334e-05/0.5597, allocations: 33.69 kB / 0.5681 GB, free: 10.01 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.5597, allocations: 0 / 0.5681 GB, free: 10.01 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.5597, allocations: 0 / 0.5681 GB, free: 10.01 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.5597, allocations: 11.89 kB / 0.5682 GB, free: 9.996 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001024/0.5599, allocations: 123.1 kB / 0.5683 GB, free: 9.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.86e-05/0.5599, allocations: 22.11 kB / 0.5683 GB, free: 9.812 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.384e-05/0.5599, allocations: 4.859 kB / 0.5683 GB, free: 9.805 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.143e-06/0.5599, allocations: 0 / 0.5683 GB, free: 9.805 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.56, allocations: 60.2 kB / 0.5684 GB, free: 9.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/0.56, allocations: 0 / 0.5684 GB, free: 9.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001927/0.5602, allocations: 41.75 kB / 0.5684 GB, free: 9.684 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.5602, allocations: 77.11 kB / 0.5685 GB, free: 9.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.897e-05/0.5603, allocations: 85 kB / 0.5685 GB, free: 9.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.5603, allocations: 29.64 kB / 0.5686 GB, free: 9.465 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.333e-05/0.5603, allocations: 83.95 kB / 0.5687 GB, free: 9.383 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.5604, allocations: 0 / 0.5687 GB, free: 9.383 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-06/0.5604, allocations: 0 / 0.5687 GB, free: 9.383 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.5605, allocations: 318.8 kB / 0.569 GB, free: 9.062 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.773e-06/0.5605, allocations: 4.031 kB / 0.569 GB, free: 9.059 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.977e-06/0.5605, allocations: 0 / 0.569 GB, free: 9.059 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.042e-05/0.5605, allocations: 0 / 0.569 GB, free: 9.059 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.5606, allocations: 0 / 0.569 GB, free: 9.059 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.041e-05/0.5606, allocations: 45.53 kB / 0.569 GB, free: 9.008 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.042e-05/0.5607, allocations: 29.7 kB / 0.569 GB, free: 8.973 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.5607, allocations: 0 / 0.569 GB, free: 8.973 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.5607, allocations: 4 kB / 0.569 GB, free: 8.969 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.5607, allocations: 0 / 0.569 GB, free: 8.969 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.5607, allocations: 4.094 kB / 0.569 GB, free: 8.965 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.562e-05/0.5607, allocations: 4 kB / 0.569 GB, free: 8.961 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.5608, allocations: 0 / 0.569 GB, free: 8.961 MB / 378.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 () * 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 8.836e-05/0.5609, allocations: 138 kB / 0.5692 GB, free: 8.816 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.356e-06/0.5609, allocations: 3.984 kB / 0.5692 GB, free: 8.812 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.367e-05/0.5609, allocations: 3.75 kB / 0.5692 GB, free: 8.809 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.5609, allocations: 0 / 0.5692 GB, free: 8.809 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.5609, allocations: 0 / 0.5692 GB, free: 8.809 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-06/0.5609, allocations: 0 / 0.5692 GB, free: 8.809 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.724e-05/0.561, allocations: 126.2 kB / 0.5693 GB, free: 8.648 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.561, allocations: 7.953 kB / 0.5693 GB, free: 8.641 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.777e-06/0.561, allocations: 0 / 0.5693 GB, free: 8.641 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.561, allocations: 3.938 kB / 0.5693 GB, free: 8.637 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.561, allocations: 3.984 kB / 0.5693 GB, free: 8.633 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.561, allocations: 0 / 0.5693 GB, free: 8.633 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.5611, allocations: 0 / 0.5693 GB, free: 8.633 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.086e-05/0.5611, allocations: 65.02 kB / 0.5694 GB, free: 8.555 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.948e-05/0.5612, allocations: 85.09 kB / 0.5695 GB, free: 8.453 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.5612, allocations: 3.984 kB / 0.5695 GB, free: 8.449 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.345e-06/0.5612, allocations: 0 / 0.5695 GB, free: 8.449 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.871e-05/0.5613, allocations: 4 kB / 0.5695 GB, free: 8.445 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.5613, allocations: 0 / 0.5695 GB, free: 8.445 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.64e-05/0.5613, allocations: 75.28 kB / 0.5695 GB, free: 8.371 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5613, allocations: 0 / 0.5695 GB, free: 8.371 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000463/0.5618, allocations: 142.8 kB / 0.5697 GB, free: 8.242 MB / 378.7 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009264/0.5627, allocations: 478.3 kB / 0.5701 GB, free: 7.816 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.855e-05/0.5628, allocations: 66.66 kB / 0.5702 GB, free: 7.742 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5628, allocations: 0 / 0.5702 GB, free: 7.742 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.829e-05/0.5629, allocations: 51.41 kB / 0.5702 GB, free: 7.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.889e-05/0.5629, allocations: 5.688 kB / 0.5703 GB, free: 7.676 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00015/0.5631, allocations: 52.17 kB / 0.5703 GB, free: 7.602 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002027/0.5633, allocations: 0.669 MB / 0.571 GB, free: 6.906 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.039e-06/0.5633, allocations: 3.938 kB / 0.571 GB, free: 6.902 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.435e-05/0.5633, allocations: 11.44 kB / 0.571 GB, free: 6.891 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.5634, allocations: 0 / 0.571 GB, free: 6.891 MB / 378.7 MB Notification: Performance of Templates: time 0.005195/0.5686, allocations: 2.734 MB / 0.5736 GB, free: 4.176 MB / 378.7 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)