Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestInternal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal") translateModel(ModelicaTest.Utilities.TestInternal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002002/0.002002, allocations: 182.4 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.693/1.693, allocations: 194.3 MB / 207.5 MB, free: 3.461 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001586/0.001586, allocations: 110.9 kB / 252.6 MB, free: 4.812 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2174/0.2174, allocations: 39.94 MB / 337.5 MB, free: 488 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.424e-05/3.426e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1163, allocations: 54.86 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4534/0.5697, allocations: 79.7 MB / 0.5223 GB, free: 10.4 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/0.5701, allocations: 58.78 kB / 0.5224 GB, free: 10.4 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006204/0.5763, allocations: 1.661 MB / 0.524 GB, free: 9.531 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.5764, allocations: 0 / 0.524 GB, free: 9.531 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.5764, allocations: 0 / 0.524 GB, free: 9.531 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.000299/0.5767, allocations: 352.3 kB / 0.5243 GB, free: 9.137 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/0.5768, allocations: 8.031 kB / 0.5243 GB, free: 9.129 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.007e-05/0.5768, allocations: 7.859 kB / 0.5243 GB, free: 9.121 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.177e-05/0.5769, allocations: 163.1 kB / 0.5245 GB, free: 8.922 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.5769, allocations: 6.672 kB / 0.5245 GB, free: 8.918 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.577, allocations: 2.094 kB / 0.5245 GB, free: 8.918 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.5771, allocations: 33.8 kB / 0.5245 GB, free: 8.883 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.5771, allocations: 0 / 0.5245 GB, free: 8.883 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.5772, allocations: 0 / 0.5245 GB, free: 8.883 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.5772, allocations: 0 / 0.5245 GB, free: 8.883 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.623e-05/0.5772, allocations: 15.02 kB / 0.5245 GB, free: 8.871 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001628/0.5774, allocations: 141.7 kB / 0.5247 GB, free: 8.684 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.722e-05/0.5775, allocations: 26.53 kB / 0.5247 GB, free: 8.648 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.021e-05/0.5775, allocations: 10.48 kB / 0.5247 GB, free: 8.641 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.651e-06/0.5775, allocations: 0 / 0.5247 GB, free: 8.641 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.5775, allocations: 56.27 kB / 0.5248 GB, free: 8.57 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 1.803e-06/0.5776, allocations: 4 kB / 0.5248 GB, free: 8.566 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002144/0.5778, allocations: 59.47 kB / 0.5248 GB, free: 8.496 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.5778, allocations: 77.11 kB / 0.5249 GB, free: 8.402 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.56e-05/0.5779, allocations: 85 kB / 0.525 GB, free: 8.312 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.5779, allocations: 29.69 kB / 0.525 GB, free: 8.277 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.397e-05/0.578, allocations: 80.14 kB / 0.5251 GB, free: 8.195 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.578, allocations: 4 kB / 0.5251 GB, free: 8.191 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/0.578, allocations: 0 / 0.5251 GB, free: 8.191 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.021e-05/0.5781, allocations: 322.7 kB / 0.5254 GB, free: 7.871 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.241e-05/0.5781, allocations: 0 / 0.5254 GB, free: 7.871 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.344e-06/0.5782, allocations: 3.938 kB / 0.5254 GB, free: 7.867 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.554e-05/0.5782, allocations: 29.7 kB / 0.5254 GB, free: 7.832 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.5782, allocations: 0 / 0.5254 GB, free: 7.832 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.498e-05/0.5783, allocations: 67.28 kB / 0.5255 GB, free: 7.754 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.676e-05/0.5784, allocations: 33.69 kB / 0.5255 GB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.5784, allocations: 0 / 0.5255 GB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.5784, allocations: 0 / 0.5255 GB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.663e-06/0.5784, allocations: 4.094 kB / 0.5255 GB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.5784, allocations: 0 / 0.5255 GB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.666e-05/0.5785, allocations: 4 kB / 0.5255 GB, free: 7.707 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.5785, allocations: 0 / 0.5255 GB, free: 7.707 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 () * 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.459e-05/0.5786, allocations: 134.3 kB / 0.5257 GB, free: 7.566 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.375e-05/0.5786, allocations: 4 kB / 0.5257 GB, free: 7.562 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.89e-05/0.5786, allocations: 7.078 kB / 0.5257 GB, free: 7.555 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.5786, allocations: 0 / 0.5257 GB, free: 7.555 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.5786, allocations: 0 / 0.5257 GB, free: 7.555 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-06/0.5787, allocations: 3.984 kB / 0.5257 GB, free: 7.551 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.918e-05/0.5787, allocations: 149.6 kB / 0.5258 GB, free: 7.355 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.303e-06/0.5788, allocations: 4.875 kB / 0.5258 GB, free: 7.352 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.443e-06/0.5788, allocations: 3.938 kB / 0.5258 GB, free: 7.348 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.5788, allocations: 0 / 0.5258 GB, free: 7.348 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.5788, allocations: 0 / 0.5258 GB, free: 7.348 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.5788, allocations: 0 / 0.5258 GB, free: 7.348 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.5788, allocations: 0 / 0.5258 GB, free: 7.348 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.579, allocations: 102.5 kB / 0.5259 GB, free: 7.227 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.574e-05/0.579, allocations: 77.11 kB / 0.526 GB, free: 7.133 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.579, allocations: 0 / 0.526 GB, free: 7.133 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.509e-05/0.579, allocations: 4 kB / 0.526 GB, free: 7.129 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.5791, allocations: 3.984 kB / 0.526 GB, free: 7.125 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.5791, allocations: 0 / 0.526 GB, free: 7.125 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.948e-05/0.5791, allocations: 75.28 kB / 0.5261 GB, free: 7.051 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5791, allocations: 0 / 0.5261 GB, free: 7.051 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003542/0.5795, allocations: 31.61 kB / 0.5261 GB, free: 7.027 MB / 346.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.0007731/0.5803, allocations: 261.2 kB / 0.5264 GB, free: 6.801 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001092/0.5804, allocations: 62.91 kB / 0.5264 GB, free: 6.73 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.5804, allocations: 0 / 0.5264 GB, free: 6.73 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.26e-05/0.5805, allocations: 55.41 kB / 0.5265 GB, free: 6.664 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001403/0.5806, allocations: 7.938 kB / 0.5265 GB, free: 6.656 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001755/0.5808, allocations: 55.17 kB / 0.5265 GB, free: 6.582 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001114/0.581, allocations: 0.6731 MB / 0.5272 GB, free: 5.883 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.917e-06/0.581, allocations: 7.766 kB / 0.5272 GB, free: 5.879 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.197e-05/0.581, allocations: 7.438 kB / 0.5272 GB, free: 5.871 MB / 346.7 MB Notification: Performance of SimCode: time 7.31e-07/0.581, allocations: 0 / 0.5272 GB, free: 5.871 MB / 346.7 MB Notification: Performance of Templates: time 0.004568/0.5856, allocations: 0.7652 MB / 0.528 GB, free: 5.125 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal.sim & ./ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal.pipe 2>&1)