Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001803/0.001803, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001404/0.001404, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.732/1.732, allocations: 205.4 MB / 222.1 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3959/0.3959, allocations: 38.03 MB / 308.4 MB, free: 10.48 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.000635/0.000635, allocations: 20 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1479, allocations: 57.52 MB / 433.9 MB, free: 5.586 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.002127/0.1501, allocations: 1.366 MB / 435.3 MB, free: 4.211 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.1514, allocations: 0.7459 MB / 436 MB, free: 3.457 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.345e-05/0.1515, allocations: 0 / 436 MB, free: 3.457 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003093/0.1518, allocations: 27.91 kB / 436.1 MB, free: 3.43 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001835/0.152, allocations: 51.75 kB / 436.1 MB, free: 3.379 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002748/0.1523, allocations: 67.78 kB / 436.2 MB, free: 3.312 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.1525, allocations: 59.86 kB / 436.2 MB, free: 3.254 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.1526, allocations: 24.2 kB / 436.3 MB, free: 3.23 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.268e-05/0.1527, allocations: 39.78 kB / 436.3 MB, free: 3.191 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.085e-05/0.1528, allocations: 15.92 kB / 436.3 MB, free: 3.176 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.1528, allocations: 4 kB / 436.3 MB, free: 3.172 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.106e-05/0.1529, allocations: 27.94 kB / 436.3 MB, free: 3.145 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.017e-05/0.1529, allocations: 15.97 kB / 436.4 MB, free: 3.129 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.453e-05/0.153, allocations: 49.55 kB / 436.4 MB, free: 3.074 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.1532, allocations: 88.09 kB / 436.5 MB, free: 2.988 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1532, allocations: 4 kB / 436.5 MB, free: 2.984 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.1532, allocations: 0 / 436.5 MB, free: 2.984 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.1532, allocations: 0 / 436.5 MB, free: 2.984 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.0006374/0.1538, allocations: 390.9 kB / 436.9 MB, free: 2.555 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.1539, allocations: 11.97 kB / 436.9 MB, free: 2.543 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.178e-05/0.1539, allocations: 19.77 kB / 436.9 MB, free: 2.523 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002819/0.1542, allocations: 198.9 kB / 437.1 MB, free: 2.289 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/0.1543, allocations: 4 kB / 437.1 MB, free: 2.285 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.1543, allocations: 4 kB / 437.1 MB, free: 2.281 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.1545, allocations: 53.67 kB / 437.2 MB, free: 2.223 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.1545, allocations: 3.938 kB / 437.2 MB, free: 2.219 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.1545, allocations: 4 kB / 437.2 MB, free: 2.215 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.1545, allocations: 0 / 437.2 MB, free: 2.215 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.422e-05/0.1546, allocations: 27.88 kB / 437.2 MB, free: 2.188 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004233/0.155, allocations: 281 kB / 437.5 MB, free: 1.863 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.1552, allocations: 54.67 kB / 437.5 MB, free: 1.801 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.1552, allocations: 4 kB / 437.5 MB, free: 1.797 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001804/0.1554, allocations: 67.45 kB / 437.6 MB, free: 1.719 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.472e-06/0.1554, allocations: 0 / 437.6 MB, free: 1.719 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005537/0.156, allocations: 177.1 kB / 437.8 MB, free: 1.539 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.156, allocations: 59.41 kB / 437.8 MB, free: 1.469 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.1562, allocations: 178.2 kB / 438 MB, free: 1.285 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.1563, allocations: 33.7 kB / 438 MB, free: 1.246 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.563e-05/0.1563, allocations: 100.1 kB / 438.1 MB, free: 1.145 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.117e-05/0.1564, allocations: 23.7 kB / 438.2 MB, free: 1.121 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-06/0.1564, allocations: 0 / 438.2 MB, free: 1.121 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.1565, allocations: 322.8 kB / 438.5 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.723e-05/0.1566, allocations: 23.98 kB / 438.5 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.752e-05/0.1566, allocations: 37.7 kB / 438.5 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.498e-05/0.1567, allocations: 20 kB / 438.6 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1567, allocations: 0 / 438.6 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001659/0.1569, allocations: 105.4 kB / 438.7 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.1569, allocations: 4 kB / 438.7 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.1569, allocations: 7.953 kB / 438.7 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.1569, allocations: 3.984 kB / 438.7 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.895e-05/0.157, allocations: 12.38 kB / 438.7 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.157, allocations: 4.031 kB / 438.7 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.497e-05/0.1571, allocations: 7.938 kB / 438.7 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.1571, allocations: 12 kB / 438.7 MB, free: 0.5508 MB / 366.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.1572, allocations: 122.9 kB / 438.8 MB, free: 432 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.645e-05/0.1573, allocations: 8.094 kB / 438.8 MB, free: 424 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.364e-05/0.1573, allocations: 20.7 kB / 438.9 MB, free: 400 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1573, allocations: 7.891 kB / 438.9 MB, free: 392 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.1573, allocations: 0 / 438.9 MB, free: 392 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1573, allocations: 0 / 438.9 MB, free: 392 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004397/0.1578, allocations: 391.5 kB / 439.2 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.1578, allocations: 3.828 kB / 439.3 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.242e-05/0.1578, allocations: 11.95 kB / 439.3 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1578, allocations: 0 / 439.3 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.1579, allocations: 3.984 kB / 439.3 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.1579, allocations: 4 kB / 439.3 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1579, allocations: 0 / 439.3 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.1581, allocations: 225.8 kB / 439.5 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.958e-05/0.1582, allocations: 85.02 kB / 439.6 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.099e-05/0.1582, allocations: 7.984 kB / 439.6 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.116e-05/0.1583, allocations: 4 kB / 439.6 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.404e-05/0.1583, allocations: 3.984 kB / 439.6 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/0.1584, allocations: 15.98 kB / 439.6 MB, free: 15.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001018/0.1585, allocations: 140.1 kB / 439.7 MB, free: 15.4 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1585, allocations: 0 / 439.7 MB, free: 15.4 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002505/0.1587, allocations: 31.98 kB / 439.8 MB, free: 15.37 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 (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.0009999/0.1597, allocations: 465.1 kB / 440.2 MB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001807/0.1599, allocations: 55.92 kB / 440.3 MB, free: 14.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1599, allocations: 4 kB / 440.3 MB, free: 14.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.109e-05/0.16, allocations: 27.92 kB / 440.3 MB, free: 14.85 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.1603, allocations: 27.94 kB / 440.3 MB, free: 14.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000449/0.1607, allocations: 238.5 kB / 440.6 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.161, allocations: 0.7004 MB / 441.3 MB, free: 13.83 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.255e-05/0.1611, allocations: 20.88 kB / 441.3 MB, free: 13.81 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.244e-05/0.1611, allocations: 19.42 kB / 441.3 MB, free: 13.79 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1611, allocations: 0 / 441.3 MB, free: 13.79 MB / 382.1 MB Notification: Performance of Templates: time 0.004075/0.1652, allocations: 1.588 MB / 442.9 MB, free: 12.21 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) Environment - environmentSimulation: