Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test55.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test55") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01031/0.01031, allocations: 101.3 kB / 15.73 MB, free: 5.59 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.002184/0.002184, allocations: 189.6 kB / 16.67 MB, free: 5.523 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.632/1.632, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2295/0.2295, allocations: 38.01 MB / 307.9 MB, free: 5.988 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: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001648, allocations: 77.94 kB / 433.1 MB, free: 14.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1277, allocations: 56.46 MB / 489.5 MB, free: 5.809 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003152/0.1309, allocations: 1.668 MB / 491.2 MB, free: 4.129 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002013/0.133, allocations: 1.419 MB / 492.6 MB, free: 2.699 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.617e-05/0.1331, allocations: 0 / 492.6 MB, free: 2.699 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000305/0.1334, allocations: 35.77 kB / 492.6 MB, free: 2.664 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002455/0.1337, allocations: 59.7 kB / 492.7 MB, free: 2.605 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002369/0.1339, allocations: 87.75 kB / 492.8 MB, free: 2.52 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.1341, allocations: 91.7 kB / 492.9 MB, free: 2.43 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.1342, allocations: 20.2 kB / 492.9 MB, free: 2.41 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.223e-05/0.1343, allocations: 43.78 kB / 492.9 MB, free: 2.367 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.1344, allocations: 35.84 kB / 493 MB, free: 2.332 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.1345, allocations: 8 kB / 493 MB, free: 2.324 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.1346, allocations: 63.95 kB / 493 MB, free: 2.262 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.896e-05/0.1346, allocations: 15.88 kB / 493.1 MB, free: 2.246 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.392e-05/0.1347, allocations: 31.8 kB / 493.1 MB, free: 2.215 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.1349, allocations: 115.7 kB / 493.2 MB, free: 2.102 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1349, allocations: 7.938 kB / 493.2 MB, free: 2.094 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1349, allocations: 0 / 493.2 MB, free: 2.094 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.135, allocations: 0 / 493.2 MB, free: 2.094 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005543/0.1355, allocations: 411.1 kB / 493.6 MB, free: 1.645 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.1356, allocations: 11.89 kB / 493.6 MB, free: 1.633 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.259e-05/0.1356, allocations: 8.844 kB / 493.6 MB, free: 1.625 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003065/0.1359, allocations: 211.7 kB / 493.8 MB, free: 1.383 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-06/0.1359, allocations: 384 / 493.8 MB, free: 1.383 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.594e-05/0.136, allocations: 4.125 kB / 493.8 MB, free: 1.379 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.1362, allocations: 75.39 kB / 493.9 MB, free: 1.293 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.1362, allocations: 0 / 493.9 MB, free: 1.293 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.1362, allocations: 3.984 kB / 493.9 MB, free: 1.289 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.1362, allocations: 7.984 kB / 493.9 MB, free: 1.281 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.25e-05/0.1363, allocations: 16 kB / 493.9 MB, free: 1.266 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003623/0.1367, allocations: 284.8 kB / 494.2 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000164/0.1368, allocations: 62.67 kB / 494.3 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.26e-05/0.1369, allocations: 20.84 kB / 494.3 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.1369, allocations: 0 / 494.3 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001443/0.1371, allocations: 71.33 kB / 494.4 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 3.005e-06/0.1371, allocations: 4 kB / 494.4 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005607/0.1376, allocations: 169.3 kB / 494.5 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.863e-05/0.1377, allocations: 81.05 kB / 494.6 MB, free: 500 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.1379, allocations: 153.6 kB / 494.8 MB, free: 336 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.1379, allocations: 25.7 kB / 494.8 MB, free: 304 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.684e-05/0.138, allocations: 100.1 kB / 494.9 MB, free: 200 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.036e-05/0.138, allocations: 27.58 kB / 494.9 MB, free: 172 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.436e-05/0.1381, allocations: 25.72 kB / 494.9 MB, free: 140 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.1382, allocations: 326.8 kB / 495.3 MB, free: 15.81 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.539e-05/0.1383, allocations: 20 kB / 495.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.005e-05/0.1383, allocations: 42.56 kB / 495.3 MB, free: 15.74 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000115/0.1385, allocations: 61.7 kB / 495.4 MB, free: 15.67 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1385, allocations: 0 / 495.4 MB, free: 15.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002032/0.1387, allocations: 109.6 kB / 495.5 MB, free: 15.56 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.1387, allocations: 4 kB / 495.5 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1387, allocations: 0 / 495.5 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.1387, allocations: 0 / 495.5 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.269e-05/0.1388, allocations: 20.12 kB / 495.5 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.1388, allocations: 0 / 495.5 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.879e-05/0.1389, allocations: 11.86 kB / 495.5 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.1389, allocations: 4 kB / 495.5 MB, free: 15.52 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.828e-05/0.139, allocations: 129.7 kB / 495.7 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.048e-05/0.1391, allocations: 11.94 kB / 495.7 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.919e-05/0.1391, allocations: 16.7 kB / 495.7 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1391, allocations: 0 / 495.7 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.1391, allocations: 0 / 495.7 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.1391, allocations: 3.938 kB / 495.7 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004302/0.1396, allocations: 383.7 kB / 496.1 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1396, allocations: 0 / 496.1 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.724e-05/0.1396, allocations: 15.98 kB / 496.1 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1396, allocations: 0 / 496.1 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.1396, allocations: 11.97 kB / 496.1 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.1396, allocations: 3.938 kB / 496.1 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1397, allocations: 0 / 496.1 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/0.1399, allocations: 200.3 kB / 496.3 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.14, allocations: 85.02 kB / 496.4 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.391e-05/0.1401, allocations: 3.938 kB / 496.4 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.101e-05/0.1401, allocations: 11.98 kB / 496.4 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/0.1402, allocations: 8 kB / 496.4 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.1402, allocations: 3.938 kB / 496.4 MB, free: 14.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.098e-05/0.1403, allocations: 119.2 kB / 496.5 MB, free: 14.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1403, allocations: 0 / 496.5 MB, free: 14.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002733/0.1406, allocations: 35.89 kB / 496.6 MB, free: 14.39 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001196/0.1418, allocations: 498.1 kB / 497 MB, free: 13.94 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001994/0.142, allocations: 59.97 kB / 497.1 MB, free: 13.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.142, allocations: 4.062 kB / 497.1 MB, free: 13.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.671e-05/0.1421, allocations: 35.91 kB / 497.1 MB, free: 13.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.1424, allocations: 31.28 kB / 497.2 MB, free: 13.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004401/0.1429, allocations: 194.9 kB / 497.4 MB, free: 13.6 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000275/0.1432, allocations: 0.6962 MB / 498.1 MB, free: 12.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.165e-05/0.1433, allocations: 20.94 kB / 498.1 MB, free: 12.85 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.347e-05/0.1433, allocations: 23.36 kB / 498.1 MB, free: 12.83 MB / 382.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1433, allocations: 0 / 498.1 MB, free: 12.83 MB / 382.1 MB Notification: Performance of Templates: time 0.005405/0.1487, allocations: 1.959 MB / 0.4883 GB, free: 10.88 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test55.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1)