Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.Test11,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009504/0.0009506, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008549/0.008549, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.704/1.704, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3545/0.3545, allocations: 40 MB / 310.7 MB, free: 9.598 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.2. 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.0006174/0.0006175, allocations: 16 kB / 379.5 MB, free: 11.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1415, allocations: 57.96 MB / 437.4 MB, free: 1.902 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003067/0.1446, allocations: 1.609 MB / 439 MB, free: 288 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001725/0.1464, allocations: 0.8195 MB / 439.9 MB, free: 15.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.1465, allocations: 4 kB / 439.9 MB, free: 15.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003588/0.1469, allocations: 35.83 kB / 439.9 MB, free: 15.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002067/0.1471, allocations: 55.77 kB / 439.9 MB, free: 15.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004371/0.1476, allocations: 87.83 kB / 440 MB, free: 15.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002091/0.1478, allocations: 123.6 kB / 440.2 MB, free: 15.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001666/0.148, allocations: 29.75 kB / 440.2 MB, free: 15.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.1481, allocations: 59.64 kB / 440.2 MB, free: 15.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.1482, allocations: 39.73 kB / 440.3 MB, free: 15.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.1482, allocations: 4 kB / 440.3 MB, free: 15.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.902e-05/0.1483, allocations: 39.98 kB / 440.3 MB, free: 14.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.275e-05/0.1484, allocations: 23.91 kB / 440.3 MB, free: 14.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.178e-05/0.1485, allocations: 69.38 kB / 440.4 MB, free: 14.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002364/0.1487, allocations: 143.4 kB / 440.6 MB, free: 14.74 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1488, allocations: 0 / 440.6 MB, free: 14.74 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1488, allocations: 0 / 440.6 MB, free: 14.74 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1488, allocations: 0 / 440.6 MB, free: 14.74 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007405/0.1495, allocations: 464.6 kB / 441 MB, free: 14.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.1496, allocations: 12.03 kB / 441 MB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.183e-05/0.1496, allocations: 16.75 kB / 441 MB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002673/0.1499, allocations: 220.8 kB / 441.2 MB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.1499, allocations: 4.312 kB / 441.3 MB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.459e-05/0.15, allocations: 12.12 kB / 441.3 MB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002435/0.1502, allocations: 108.2 kB / 441.4 MB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.1502, allocations: 4 kB / 441.4 MB, free: 13.81 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.1503, allocations: 4 kB / 441.4 MB, free: 13.81 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1503, allocations: 0 / 441.4 MB, free: 13.81 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001585/0.1504, allocations: 63.83 kB / 441.4 MB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006653/0.1511, allocations: 0.5048 MB / 441.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003466/0.1515, allocations: 90.66 kB / 442 MB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.1516, allocations: 44.83 kB / 442.1 MB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.1516, allocations: 0 / 442.1 MB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004513/0.1521, allocations: 87.31 kB / 442.2 MB, free: 12.94 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 3.406e-06/0.1521, allocations: 4 kB / 442.2 MB, free: 12.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004693/0.1526, allocations: 157.3 kB / 442.3 MB, free: 12.78 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/0.1527, allocations: 55.34 kB / 442.4 MB, free: 12.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002013/0.1529, allocations: 187.5 kB / 442.6 MB, free: 12.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.811e-05/0.153, allocations: 33.69 kB / 442.6 MB, free: 12.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.1531, allocations: 119.9 kB / 442.7 MB, free: 12.36 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.848e-05/0.1532, allocations: 23.72 kB / 442.7 MB, free: 12.33 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.1532, allocations: 21.7 kB / 442.8 MB, free: 12.3 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002003/0.1534, allocations: 322.8 kB / 443.1 MB, free: 11.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.723e-05/0.1535, allocations: 27.98 kB / 443.1 MB, free: 11.95 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.1536, allocations: 76.27 kB / 443.2 MB, free: 11.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002034/0.1538, allocations: 92.22 kB / 443.3 MB, free: 11.76 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1539, allocations: 4.312 kB / 443.3 MB, free: 11.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000274/0.1541, allocations: 149.3 kB / 443.4 MB, free: 11.6 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.1542, allocations: 8 kB / 443.4 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.1542, allocations: 0 / 443.4 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.1542, allocations: 4 kB / 443.4 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.1543, allocations: 23.92 kB / 443.4 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.1544, allocations: 4 kB / 443.4 MB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.344e-05/0.1544, allocations: 23.95 kB / 443.5 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.1545, allocations: 8 kB / 443.5 MB, free: 11.53 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001266/0.1546, allocations: 125.8 kB / 443.6 MB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.25e-05/0.1546, allocations: 7.906 kB / 443.6 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.463e-05/0.1547, allocations: 21.39 kB / 443.6 MB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.87e-06/0.1547, allocations: 3.938 kB / 443.6 MB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.1547, allocations: 0 / 443.6 MB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.1547, allocations: 0 / 443.6 MB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002173/0.1549, allocations: 217.5 kB / 443.8 MB, free: 11.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.155, allocations: 0 / 443.8 MB, free: 11.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.96e-05/0.155, allocations: 15.98 kB / 443.9 MB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1551, allocations: 0 / 443.9 MB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.1551, allocations: 0 / 443.9 MB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.1551, allocations: 3.938 kB / 443.9 MB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1551, allocations: 4 kB / 443.9 MB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003861/0.1555, allocations: 188.9 kB / 444.1 MB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.94e-05/0.1556, allocations: 96.89 kB / 444.1 MB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.1556, allocations: 0 / 444.1 MB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.561e-05/0.1557, allocations: 23.8 kB / 444.2 MB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.631e-05/0.1557, allocations: 8 kB / 444.2 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.1557, allocations: 3.984 kB / 444.2 MB, free: 10.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001177/0.1559, allocations: 141.3 kB / 444.3 MB, free: 10.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1559, allocations: 0 / 444.3 MB, free: 10.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002319/0.1561, allocations: 28.17 kB / 444.3 MB, free: 10.56 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.000932/0.157, allocations: 402.3 kB / 444.7 MB, free: 10.19 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003173/0.1574, allocations: 80.09 kB / 444.8 MB, free: 10.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1574, allocations: 4.062 kB / 444.8 MB, free: 10.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.1575, allocations: 44.09 kB / 444.9 MB, free: 10.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.1578, allocations: 40.09 kB / 444.9 MB, free: 10.03 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006718/0.1585, allocations: 313.8 kB / 445.2 MB, free: 9.695 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006508/0.1592, allocations: 0.7123 MB / 445.9 MB, free: 8.957 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.452e-05/0.1592, allocations: 25.39 kB / 445.9 MB, free: 8.934 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.181e-05/0.1593, allocations: 19.38 kB / 446 MB, free: 8.914 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1593, allocations: 0 / 446 MB, free: 8.914 MB / 382.1 MB Notification: Performance of Templates: time 0.005926/0.1652, allocations: 1.754 MB / 447.7 MB, free: 7.164 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) Environment - environmentSimulation: