Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001557/0.001557, allocations: 197 kB / 16.14 MB, free: 6.703 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.636/1.636, allocations: 205.1 MB / 222 MB, free: 4.988 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.3991/0.3991, allocations: 37.98 MB / 307.3 MB, free: 9.781 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.001373/0.001373, allocations: 75.83 kB / 374.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.156, allocations: 56.46 MB / 431 MB, free: 7.078 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003917/0.16, allocations: 1.728 MB / 432.8 MB, free: 5.336 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.1615, allocations: 0.8 MB / 433.6 MB, free: 4.527 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.935e-05/0.1616, allocations: 3.938 kB / 433.6 MB, free: 4.523 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004915/0.1621, allocations: 35.88 kB / 433.6 MB, free: 4.488 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002324/0.1624, allocations: 51.83 kB / 433.6 MB, free: 4.438 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003457/0.1627, allocations: 75.84 kB / 433.7 MB, free: 4.363 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000221/0.163, allocations: 95.69 kB / 433.8 MB, free: 4.27 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.1631, allocations: 12.22 kB / 433.8 MB, free: 4.258 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.1632, allocations: 39.78 kB / 433.9 MB, free: 4.219 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.97e-05/0.1633, allocations: 35.78 kB / 433.9 MB, free: 4.184 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.1633, allocations: 4 kB / 433.9 MB, free: 4.18 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.1635, allocations: 39.98 kB / 433.9 MB, free: 4.141 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.779e-05/0.1635, allocations: 19.91 kB / 434 MB, free: 4.121 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.396e-05/0.1636, allocations: 31.75 kB / 434 MB, free: 4.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005004/0.1641, allocations: 115.9 kB / 434.1 MB, free: 3.977 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.1641, allocations: 0 / 434.1 MB, free: 3.977 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1642, allocations: 0 / 434.1 MB, free: 3.977 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.1642, allocations: 0 / 434.1 MB, free: 3.977 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.001129/0.1653, allocations: 422.8 kB / 434.5 MB, free: 3.516 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.451e-05/0.1654, allocations: 8.031 kB / 434.5 MB, free: 3.508 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.621e-05/0.1655, allocations: 8.844 kB / 434.5 MB, free: 3.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002878/0.1658, allocations: 212.8 kB / 434.7 MB, free: 3.254 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.1658, allocations: 384 / 434.7 MB, free: 3.254 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.571e-05/0.1658, allocations: 8.125 kB / 434.8 MB, free: 3.246 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.166, allocations: 57.66 kB / 434.8 MB, free: 3.184 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.166, allocations: 0 / 434.8 MB, free: 3.184 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.166, allocations: 0 / 434.8 MB, free: 3.184 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1661, allocations: 0 / 434.8 MB, free: 3.184 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.877e-05/0.1661, allocations: 23.92 kB / 434.8 MB, free: 3.16 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004139/0.1666, allocations: 296.8 kB / 435.1 MB, free: 2.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.1668, allocations: 58.67 kB / 435.2 MB, free: 2.754 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.669e-05/0.1668, allocations: 24.84 kB / 435.2 MB, free: 2.727 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.1669, allocations: 3.938 kB / 435.2 MB, free: 2.723 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000228/0.1671, allocations: 67.39 kB / 435.3 MB, free: 2.645 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.1671, allocations: 0 / 435.3 MB, free: 2.645 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006673/0.1678, allocations: 177.1 kB / 435.4 MB, free: 2.465 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.898e-05/0.1679, allocations: 55.41 kB / 435.5 MB, free: 2.398 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/0.1681, allocations: 191.3 kB / 435.7 MB, free: 2.203 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.1681, allocations: 25.7 kB / 435.7 MB, free: 2.172 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.425e-05/0.1682, allocations: 108.1 kB / 435.8 MB, free: 2.062 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.1682, allocations: 19.72 kB / 435.8 MB, free: 2.043 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.918e-05/0.1683, allocations: 29.64 kB / 435.9 MB, free: 2.008 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.1685, allocations: 330.8 kB / 436.2 MB, free: 1.676 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.921e-05/0.1685, allocations: 16 kB / 436.2 MB, free: 1.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.191e-05/0.1686, allocations: 33.7 kB / 436.2 MB, free: 1.621 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.1687, allocations: 69.62 kB / 436.3 MB, free: 1.547 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.1687, allocations: 0 / 436.3 MB, free: 1.547 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002649/0.169, allocations: 97.53 kB / 436.4 MB, free: 1.445 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.169, allocations: 8 kB / 436.4 MB, free: 1.438 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1691, allocations: 3.938 kB / 436.4 MB, free: 1.434 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.1691, allocations: 3.984 kB / 436.4 MB, free: 1.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.803e-05/0.1692, allocations: 12 kB / 436.4 MB, free: 1.418 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.1692, allocations: 4 kB / 436.4 MB, free: 1.414 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.145e-05/0.1692, allocations: 11.84 kB / 436.4 MB, free: 1.402 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.1693, allocations: 4 kB / 436.4 MB, free: 1.398 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 ($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 0.0001173/0.1694, allocations: 133.8 kB / 436.6 MB, free: 1.258 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.1694, allocations: 11.91 kB / 436.6 MB, free: 1.246 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.002e-05/0.1695, allocations: 17.39 kB / 436.6 MB, free: 1.227 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1695, allocations: 0 / 436.6 MB, free: 1.227 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.1695, allocations: 4 kB / 436.6 MB, free: 1.223 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.1695, allocations: 3.938 kB / 436.6 MB, free: 1.219 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004252/0.1699, allocations: 391.5 kB / 437 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.1699, allocations: 8.031 kB / 437 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.659e-05/0.17, allocations: 11.94 kB / 437 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.17, allocations: 3.984 kB / 437 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.17, allocations: 4.312 kB / 437 MB, free: 0.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.17, allocations: 0 / 437 MB, free: 0.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.17, allocations: 8 kB / 437 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002382/0.1703, allocations: 200.2 kB / 437.2 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.905e-05/0.1703, allocations: 85.02 kB / 437.3 MB, free: 436 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.871e-05/0.1704, allocations: 7.938 kB / 437.3 MB, free: 428 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.993e-05/0.1704, allocations: 7.984 kB / 437.3 MB, free: 420 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.759e-05/0.1705, allocations: 11.94 kB / 437.3 MB, free: 408 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.1705, allocations: 4 kB / 437.3 MB, free: 404 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001265/0.1707, allocations: 152.9 kB / 437.5 MB, free: 252 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1707, allocations: 0 / 437.5 MB, free: 252 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002658/0.1709, allocations: 23.98 kB / 437.5 MB, free: 228 kB / 366.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.001089/0.172, allocations: 473.4 kB / 438 MB, free: 15.78 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001866/0.1722, allocations: 51.92 kB / 438 MB, free: 15.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1722, allocations: 0 / 438 MB, free: 15.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.845e-05/0.1723, allocations: 40.03 kB / 438.1 MB, free: 15.69 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.1727, allocations: 35.89 kB / 438.1 MB, free: 15.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000518/0.1732, allocations: 252.9 kB / 438.3 MB, free: 15.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.1736, allocations: 0.7043 MB / 439.1 MB, free: 14.65 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.072e-05/0.1737, allocations: 21.12 kB / 439.1 MB, free: 14.63 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.745e-05/0.1737, allocations: 23.42 kB / 439.1 MB, free: 14.61 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1737, allocations: 0 / 439.1 MB, free: 14.61 MB / 382.1 MB Notification: Performance of Templates: time 0.005323/0.1791, allocations: 1.64 MB / 440.7 MB, free: 12.97 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1)