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.001822/0.001822, allocations: 107.3 kB / 17.03 MB, free: 5.66 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.001737/0.001738, allocations: 192.1 kB / 17.96 MB, free: 5.066 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.612/1.612, allocations: 205.1 MB / 223.8 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.2454/0.2454, allocations: 43.52 MB / 314.7 MB, free: 476 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.001441/0.001441, allocations: 64.3 kB / 384.2 MB, free: 56.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1334, allocations: 57.79 MB / 442 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.00197/0.1354, allocations: 493.1 kB / 442.4 MB, free: 5.668 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002118/0.1376, allocations: 1.289 MB / 443.7 MB, free: 4.375 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.678e-05/0.1376, allocations: 4 kB / 443.7 MB, free: 4.371 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.349e-05/0.1376, allocations: 4 kB / 443.7 MB, free: 4.367 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.532e-06/0.1376, allocations: 0 / 443.7 MB, free: 4.367 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001273/0.1389, allocations: 0.5764 MB / 444.3 MB, free: 3.789 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.2e-05/0.139, allocations: 0 / 444.3 MB, free: 3.789 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.677e-05/0.1391, allocations: 3.984 kB / 444.3 MB, free: 3.785 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.182e-05/0.1391, allocations: 7.938 kB / 444.3 MB, free: 3.777 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.556e-05/0.1391, allocations: 0 / 444.3 MB, free: 3.777 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.001e-05/0.1391, allocations: 4 kB / 444.3 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01265/0.1518, allocations: 2.519 MB / 446.8 MB, free: 1.355 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.209e-05/0.1518, allocations: 7.984 kB / 446.9 MB, free: 1.348 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.527e-05/0.1519, allocations: 0 / 446.9 MB, free: 1.348 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004433/0.1523, allocations: 159.7 kB / 447 MB, free: 1.191 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/0.1524, allocations: 4 kB / 447 MB, free: 1.188 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.448e-06/0.1524, allocations: 0 / 447 MB, free: 1.188 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.1524, allocations: 0 / 447 MB, free: 1.188 MB / 318.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.00035/0.1527, allocations: 381.3 kB / 447.4 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.1528, allocations: 11.89 kB / 447.4 MB, free: 0.75 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.063e-05/0.1528, allocations: 8.844 kB / 447.4 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.08e-05/0.1529, allocations: 160.4 kB / 447.6 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.1529, allocations: 8.312 kB / 447.6 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.153, allocations: 4.312 kB / 447.6 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.837e-05/0.1531, allocations: 37.77 kB / 447.6 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.1531, allocations: 0 / 447.6 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.1531, allocations: 0 / 447.6 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.1531, allocations: 4 kB / 447.6 MB, free: 500 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.058e-05/0.1531, allocations: 0 / 447.6 MB, free: 500 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001069/0.1532, allocations: 149.7 kB / 447.8 MB, free: 300 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.059e-05/0.1533, allocations: 14.58 kB / 447.8 MB, free: 276 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.529e-05/0.1533, allocations: 12.8 kB / 447.8 MB, free: 260 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.755e-06/0.1533, allocations: 0 / 447.8 MB, free: 260 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.1534, allocations: 64.3 kB / 447.8 MB, free: 180 kB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 7.11e-07/0.1534, allocations: 4 kB / 447.9 MB, free: 176 kB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001765/0.1536, allocations: 63.39 kB / 447.9 MB, free: 100 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.1536, allocations: 77.11 kB / 448 MB, free: 4 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.085e-05/0.1537, allocations: 89.86 kB / 448.1 MB, free: 15.91 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.1537, allocations: 25.7 kB / 448.1 MB, free: 15.88 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.173e-05/0.1538, allocations: 84.14 kB / 448.2 MB, free: 15.79 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.1538, allocations: 0 / 448.2 MB, free: 15.79 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/0.1538, allocations: 13.72 kB / 448.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.154, allocations: 319 kB / 448.5 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.279e-05/0.154, allocations: 3.938 kB / 448.5 MB, free: 15.45 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.155e-06/0.154, allocations: 4 kB / 448.5 MB, free: 15.44 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.025e-05/0.154, allocations: 56.27 kB / 448.6 MB, free: 15.37 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1541, allocations: 4 kB / 448.6 MB, free: 15.37 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.086e-05/0.1541, allocations: 59.41 kB / 448.6 MB, free: 15.3 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.839e-05/0.1542, allocations: 41.62 kB / 448.7 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1542, allocations: 0 / 448.7 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.1542, allocations: 4.094 kB / 448.7 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-07/0.1542, allocations: 0 / 448.7 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.1542, allocations: 3.984 kB / 448.7 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.989e-05/0.1543, allocations: 4 kB / 448.7 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.1543, allocations: 0 / 448.7 MB, free: 15.24 MB / 334.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.375e-05/0.1544, allocations: 144.5 kB / 448.8 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.718e-06/0.1544, allocations: 3.938 kB / 448.8 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.524e-05/0.1544, allocations: 3.125 kB / 448.8 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1544, allocations: 7.938 kB / 448.8 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1544, allocations: 4 kB / 448.8 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.1545, allocations: 7.969 kB / 448.9 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001251/0.1546, allocations: 145.7 kB / 449 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.1546, allocations: 0 / 449 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.91e-07/0.1546, allocations: 0 / 449 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1546, allocations: 3.938 kB / 449 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.1546, allocations: 4 kB / 449 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.1546, allocations: 3.938 kB / 449 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1546, allocations: 0 / 449 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.1548, allocations: 94.83 kB / 449.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.643e-05/0.1548, allocations: 81.05 kB / 449.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.1549, allocations: 0 / 449.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.865e-06/0.1549, allocations: 0 / 449.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.32e-05/0.1549, allocations: 3.984 kB / 449.2 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.553e-06/0.1549, allocations: 4 kB / 449.2 MB, free: 14.63 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.319e-05/0.155, allocations: 79.22 kB / 449.3 MB, free: 14.55 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.155, allocations: 0 / 449.3 MB, free: 14.55 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003093/0.1553, allocations: 68.03 kB / 449.3 MB, free: 14.48 MB / 334.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.001005/0.1563, allocations: 397.4 kB / 449.7 MB, free: 14.09 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001654/0.1565, allocations: 55.41 kB / 449.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1565, allocations: 0 / 449.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.056e-05/0.1565, allocations: 55.41 kB / 449.8 MB, free: 13.96 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001467/0.1567, allocations: 0 / 449.8 MB, free: 13.96 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002625/0.157, allocations: 77.06 kB / 449.9 MB, free: 13.86 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.1573, allocations: 0.669 MB / 450.6 MB, free: 13.16 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.533e-06/0.1573, allocations: 4.125 kB / 450.6 MB, free: 13.16 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.485e-05/0.1573, allocations: 11.44 kB / 450.6 MB, free: 13.14 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1573, allocations: 0 / 450.6 MB, free: 13.14 MB / 334.1 MB Notification: Performance of Templates: time 0.005364/0.1627, allocations: 2.096 MB / 452.7 MB, free: 11.05 MB / 334.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 -s cvode -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.pipe 2>&1)