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.0009751/0.0009751, allocations: 103.1 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 184.6 kB / 16.92 MB, free: 6.914 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.707/1.707, allocations: 205.4 MB / 223.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4135/0.4135, allocations: 43.57 MB / 315 MB, free: 9.031 MB / 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.0006218/0.0006221, allocations: 12 kB / 384.6 MB, free: 7.891 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1523, allocations: 58.86 MB / 443.4 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.0008962/0.1532, allocations: 228.4 kB / 443.7 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002762/0.156, allocations: 1.348 MB / 445 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.278e-05/0.156, allocations: 0 / 445 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.841e-05/0.1561, allocations: 0 / 445 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.871e-06/0.1561, allocations: 3.938 kB / 445 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001218/0.1573, allocations: 447 kB / 445.4 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.264e-05/0.1574, allocations: 0 / 445.4 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.483e-05/0.1574, allocations: 4 kB / 445.4 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.261e-05/0.1574, allocations: 4 kB / 445.4 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.826e-05/0.1575, allocations: 3.984 kB / 445.5 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.973e-06/0.1575, allocations: 0 / 445.5 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02781/0.1853, allocations: 2.345 MB / 447.8 MB, free: 8.586 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.92e-05/0.1853, allocations: 0 / 447.8 MB, free: 8.586 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.525e-05/0.1854, allocations: 25.7 kB / 447.8 MB, free: 8.555 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005429/0.186, allocations: 167.7 kB / 448 MB, free: 8.391 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.186, allocations: 0 / 448 MB, free: 8.391 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.557e-06/0.186, allocations: 0 / 448 MB, free: 8.391 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.186, allocations: 0 / 448 MB, free: 8.391 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.0005298/0.1865, allocations: 377.2 kB / 448.4 MB, free: 7.969 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.053e-05/0.1866, allocations: 8.031 kB / 448.4 MB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.799e-05/0.1867, allocations: 0.9375 kB / 448.4 MB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.1868, allocations: 160.4 kB / 448.5 MB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.1868, allocations: 4.375 kB / 448.5 MB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.1869, allocations: 8.312 kB / 448.5 MB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.187, allocations: 37.81 kB / 448.6 MB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.187, allocations: 0 / 448.6 MB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.187, allocations: 4 kB / 448.6 MB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.187, allocations: 0 / 448.6 MB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.97e-05/0.187, allocations: 4 kB / 448.6 MB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001711/0.1872, allocations: 141.7 kB / 448.7 MB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.962e-05/0.1873, allocations: 18.61 kB / 448.7 MB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.56e-05/0.1873, allocations: 8.797 kB / 448.7 MB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.367e-06/0.1873, allocations: 3.984 kB / 448.7 MB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.204e-05/0.1874, allocations: 64.27 kB / 448.8 MB, free: 7.395 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 3.908e-06/0.1874, allocations: 8 kB / 448.8 MB, free: 7.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002387/0.1876, allocations: 59.31 kB / 448.9 MB, free: 7.316 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.43e-05/0.1877, allocations: 81.11 kB / 449 MB, free: 7.219 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.011e-05/0.1878, allocations: 89.86 kB / 449 MB, free: 7.121 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.1878, allocations: 29.69 kB / 449.1 MB, free: 7.086 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.121e-05/0.1878, allocations: 84.14 kB / 449.2 MB, free: 7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/0.1879, allocations: 4 kB / 449.2 MB, free: 6.996 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.336e-05/0.1879, allocations: 9.719 kB / 449.2 MB, free: 6.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.188, allocations: 311 kB / 449.5 MB, free: 6.668 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.084e-05/0.188, allocations: 15.88 kB / 449.5 MB, free: 6.652 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.972e-06/0.1881, allocations: 0 / 449.5 MB, free: 6.652 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.093e-05/0.1881, allocations: 60.27 kB / 449.5 MB, free: 6.578 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1881, allocations: 0 / 449.5 MB, free: 6.578 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.657e-05/0.1882, allocations: 67.39 kB / 449.6 MB, free: 6.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.733e-05/0.1883, allocations: 33.64 kB / 449.6 MB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1883, allocations: 0 / 449.6 MB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.1883, allocations: 0 / 449.6 MB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.444e-06/0.1883, allocations: 12.02 kB / 449.7 MB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.1883, allocations: 0 / 449.7 MB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.071e-05/0.1883, allocations: 4 kB / 449.7 MB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.1883, allocations: 3.984 kB / 449.7 MB, free: 6.441 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 0.0001156/0.1885, allocations: 135.5 kB / 449.8 MB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.207e-05/0.1885, allocations: 11.92 kB / 449.8 MB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.072e-05/0.1885, allocations: 3.125 kB / 449.8 MB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1885, allocations: 0 / 449.8 MB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1885, allocations: 0 / 449.8 MB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.1885, allocations: 4 kB / 449.8 MB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.1886, allocations: 141.7 kB / 450 MB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1886, allocations: 0 / 450 MB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.01e-07/0.1887, allocations: 4 kB / 450 MB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.1887, allocations: 3.938 kB / 450 MB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.1887, allocations: 3.984 kB / 450 MB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1887, allocations: 0 / 450 MB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1887, allocations: 0 / 450 MB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001076/0.1888, allocations: 94.84 kB / 450.1 MB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.59e-05/0.1889, allocations: 85.03 kB / 450.1 MB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.1889, allocations: 0 / 450.1 MB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.061e-05/0.1889, allocations: 0 / 450.1 MB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.491e-05/0.1889, allocations: 4 kB / 450.1 MB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.1889, allocations: 0 / 450.1 MB, free: 5.852 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.056e-05/0.189, allocations: 79.22 kB / 450.2 MB, free: 5.773 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.189, allocations: 0 / 450.2 MB, free: 5.773 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002981/0.1893, allocations: 67.98 kB / 450.3 MB, free: 5.707 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.0008298/0.1901, allocations: 401.7 kB / 450.7 MB, free: 5.305 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.277e-05/0.1902, allocations: 63.41 kB / 450.7 MB, free: 5.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1902, allocations: 0 / 450.7 MB, free: 5.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.547e-05/0.1903, allocations: 55.41 kB / 450.8 MB, free: 5.164 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001272/0.1904, allocations: 0 / 450.8 MB, free: 5.164 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002133/0.1906, allocations: 86.69 kB / 450.9 MB, free: 5.051 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.1909, allocations: 0.6692 MB / 451.6 MB, free: 4.355 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.652e-06/0.1909, allocations: 0 / 451.6 MB, free: 4.355 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.822e-05/0.191, allocations: 11.44 kB / 451.6 MB, free: 4.344 MB / 382.1 MB Notification: Performance of SimCode: time 1.293e-06/0.191, allocations: 4.125 kB / 451.6 MB, free: 4.34 MB / 382.1 MB Notification: Performance of Templates: time 0.00586/0.1968, allocations: 2.084 MB / 453.6 MB, free: 2.254 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)