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.001732/0.001732, allocations: 104.6 kB / 16.27 MB, free: 6 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.001759/0.001759, allocations: 186 kB / 17.19 MB, free: 5.621 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.674/1.674, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2292/0.2292, allocations: 43.52 MB / 313.9 MB, free: 0.5391 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.00169/0.001691, allocations: 66.58 kB / 382.7 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1299, allocations: 57.78 MB / 440.5 MB, free: 6.93 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.002214/0.1321, allocations: 485.4 kB / 441 MB, free: 6.449 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002108/0.1342, allocations: 1.305 MB / 442.3 MB, free: 5.141 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.84e-05/0.1343, allocations: 0 / 442.3 MB, free: 5.141 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.282e-05/0.1343, allocations: 0 / 442.3 MB, free: 5.141 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.479e-06/0.1343, allocations: 0 / 442.3 MB, free: 5.141 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00184/0.1362, allocations: 0.5765 MB / 442.9 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.806e-05/0.1363, allocations: 4 kB / 442.9 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.08e-05/0.1363, allocations: 3.938 kB / 442.9 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.631e-05/0.1363, allocations: 0 / 442.9 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.159e-05/0.1364, allocations: 3.984 kB / 442.9 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.222e-06/0.1364, allocations: 0 / 442.9 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01196/0.1483, allocations: 2.489 MB / 445.4 MB, free: 2.168 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.417e-05/0.1484, allocations: 0 / 445.4 MB, free: 2.168 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.976e-05/0.1484, allocations: 7.984 kB / 445.4 MB, free: 2.16 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004272/0.1488, allocations: 163.7 kB / 445.5 MB, free: 2 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1488, allocations: 0 / 445.5 MB, free: 2 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1489, allocations: 0 / 445.5 MB, free: 2 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.1489, allocations: 3.938 kB / 445.5 MB, free: 1.996 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.0003353/0.1492, allocations: 373.3 kB / 445.9 MB, free: 1.578 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.1493, allocations: 15.89 kB / 445.9 MB, free: 1.562 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.13e-05/0.1493, allocations: 8.781 kB / 445.9 MB, free: 1.555 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.169e-05/0.1494, allocations: 164.4 kB / 446.1 MB, free: 1.355 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.1494, allocations: 384 / 446.1 MB, free: 1.355 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.1494, allocations: 4.375 kB / 446.1 MB, free: 1.352 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.595e-05/0.1495, allocations: 33.83 kB / 446.1 MB, free: 1.312 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.1495, allocations: 0 / 446.1 MB, free: 1.312 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.1495, allocations: 0 / 446.1 MB, free: 1.312 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.1495, allocations: 0 / 446.1 MB, free: 1.312 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.329e-05/0.1496, allocations: 3.938 kB / 446.1 MB, free: 1.309 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001209/0.1497, allocations: 149.7 kB / 446.3 MB, free: 1.113 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.693e-05/0.1497, allocations: 18.56 kB / 446.3 MB, free: 1.086 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.206e-05/0.1498, allocations: 12.95 kB / 446.3 MB, free: 1.07 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.26e-06/0.1498, allocations: 0 / 446.3 MB, free: 1.07 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.1498, allocations: 60.2 kB / 446.4 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.1498, allocations: 0 / 446.4 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001706/0.15, allocations: 71.33 kB / 446.4 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.15, allocations: 77.11 kB / 446.5 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.371e-05/0.1501, allocations: 89.86 kB / 446.6 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.444e-06/0.1501, allocations: 29.83 kB / 446.6 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.187e-05/0.1501, allocations: 80.14 kB / 446.7 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.571e-05/0.1501, allocations: 4 kB / 446.7 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.627e-05/0.1502, allocations: 9.719 kB / 446.7 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.921e-05/0.1502, allocations: 310.8 kB / 447 MB, free: 280 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.143e-05/0.1503, allocations: 4 kB / 447 MB, free: 276 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.514e-06/0.1503, allocations: 4 kB / 447 MB, free: 272 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.521e-05/0.1503, allocations: 68.31 kB / 447.1 MB, free: 188 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1503, allocations: 0 / 447.1 MB, free: 188 kB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.089e-05/0.1504, allocations: 59.34 kB / 447.1 MB, free: 116 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/0.1504, allocations: 37.64 kB / 447.2 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.1504, allocations: 3.984 kB / 447.2 MB, free: 68 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.1505, allocations: 0 / 447.2 MB, free: 68 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/0.1505, allocations: 0 / 447.2 MB, free: 68 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1505, allocations: 0 / 447.2 MB, free: 68 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.642e-05/0.1505, allocations: 0 / 447.2 MB, free: 68 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.1505, allocations: 7.984 kB / 447.2 MB, free: 60 kB / 318.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.000107/0.1506, allocations: 143.5 kB / 447.3 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.15e-05/0.1506, allocations: 7.875 kB / 447.3 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.168e-05/0.1507, allocations: 7.125 kB / 447.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.1507, allocations: 0 / 447.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1507, allocations: 3.938 kB / 447.4 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1507, allocations: 0 / 447.4 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.712e-05/0.1508, allocations: 149.7 kB / 447.5 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1508, allocations: 0 / 447.5 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.174e-06/0.1508, allocations: 4 kB / 447.5 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.1508, allocations: 7.938 kB / 447.5 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.1508, allocations: 4 kB / 447.5 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1508, allocations: 0 / 447.5 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1508, allocations: 0 / 447.5 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001032/0.151, allocations: 94.77 kB / 447.6 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.867e-05/0.151, allocations: 81.05 kB / 447.7 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.151, allocations: 0 / 447.7 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.006e-05/0.151, allocations: 0 / 447.7 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.79e-05/0.1511, allocations: 12.02 kB / 447.7 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.1511, allocations: 0 / 447.7 MB, free: 15.45 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.724e-05/0.1511, allocations: 75.28 kB / 447.8 MB, free: 15.37 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1511, allocations: 0 / 447.8 MB, free: 15.37 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003406/0.1515, allocations: 67.98 kB / 447.8 MB, free: 15.3 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.0008919/0.1524, allocations: 385.5 kB / 448.2 MB, free: 14.92 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001165/0.1525, allocations: 59.41 kB / 448.3 MB, free: 14.85 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1525, allocations: 0 / 448.3 MB, free: 14.85 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.784e-05/0.1525, allocations: 63.33 kB / 448.3 MB, free: 14.78 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001257/0.1527, allocations: 4.125 kB / 448.3 MB, free: 14.77 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002111/0.1529, allocations: 73.08 kB / 448.4 MB, free: 14.68 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.1532, allocations: 0.6767 MB / 449.1 MB, free: 13.97 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.838e-06/0.1532, allocations: 3.984 kB / 449.1 MB, free: 13.97 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.078e-05/0.1532, allocations: 7.438 kB / 449.1 MB, free: 13.96 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1532, allocations: 0 / 449.1 MB, free: 13.96 MB / 334.1 MB Notification: Performance of Templates: time 0.005553/0.1588, allocations: 2.092 MB / 451.2 MB, free: 11.87 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 -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.pipe 2>&1)