Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009888/0.0009888, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001225/0.001225, allocations: 172.7 kB / 15.95 MB, free: 208 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.938/1.938, allocations: 205.4 MB / 222.1 MB, free: 5.469 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.4286/0.4286, allocations: 40 MB / 310.4 MB, free: 9.715 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.0006058/0.0006062, allocations: 16 kB / 378.8 MB, free: 12.32 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1417, allocations: 57.96 MB / 436.8 MB, free: 2.258 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.002831/0.1446, allocations: 1.386 MB / 438.2 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.1459, allocations: 0.7422 MB / 438.9 MB, free: 116 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.802e-05/0.146, allocations: 0 / 438.9 MB, free: 116 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002768/0.1463, allocations: 39.83 kB / 439 MB, free: 76 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001877/0.1465, allocations: 47.78 kB / 439 MB, free: 28 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002562/0.1468, allocations: 63.84 kB / 439.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001524/0.1469, allocations: 83.7 kB / 439.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.934e-05/0.147, allocations: 12.2 kB / 439.2 MB, free: 15.87 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.1472, allocations: 35.84 kB / 439.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.658e-05/0.1473, allocations: 31.8 kB / 439.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.1473, allocations: 4 kB / 439.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.751e-05/0.1474, allocations: 39.97 kB / 439.3 MB, free: 15.76 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.087e-05/0.1474, allocations: 15.92 kB / 439.3 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.633e-05/0.1475, allocations: 33.7 kB / 439.3 MB, free: 15.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.1476, allocations: 76.11 kB / 439.4 MB, free: 15.63 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.1477, allocations: 0 / 439.4 MB, free: 15.63 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1477, allocations: 4 kB / 439.4 MB, free: 15.63 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.1477, allocations: 0 / 439.4 MB, free: 15.63 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005887/0.1483, allocations: 402.8 kB / 439.8 MB, free: 15.19 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.1483, allocations: 16.03 kB / 439.8 MB, free: 15.17 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.036e-05/0.1484, allocations: 7.906 kB / 439.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.1486, allocations: 195.5 kB / 440 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.1486, allocations: 0 / 440 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.1487, allocations: 4 kB / 440 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.1488, allocations: 57.67 kB / 440.1 MB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.1488, allocations: 0 / 440.1 MB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.1489, allocations: 0 / 440.1 MB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.1489, allocations: 3.953 kB / 440.1 MB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.906e-05/0.149, allocations: 23.92 kB / 440.1 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003678/0.1494, allocations: 288.8 kB / 440.4 MB, free: 14.51 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.1495, allocations: 54.69 kB / 440.4 MB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.1497, allocations: 20.84 kB / 440.5 MB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.1497, allocations: 0 / 440.5 MB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001982/0.1499, allocations: 79.28 kB / 440.5 MB, free: 14.33 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.1499, allocations: 3.938 kB / 440.5 MB, free: 14.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.00057/0.1505, allocations: 165.3 kB / 440.7 MB, free: 14.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.1506, allocations: 51.41 kB / 440.7 MB, free: 14.1 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.1507, allocations: 159 kB / 440.9 MB, free: 13.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.1507, allocations: 29.7 kB / 440.9 MB, free: 13.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.666e-05/0.1508, allocations: 104.1 kB / 441 MB, free: 13.79 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.1508, allocations: 23.66 kB / 441.1 MB, free: 13.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.127e-06/0.1508, allocations: 0 / 441.1 MB, free: 13.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.151, allocations: 322.8 kB / 441.4 MB, free: 13.44 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.19e-05/0.1511, allocations: 23.98 kB / 441.4 MB, free: 13.42 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.048e-05/0.1512, allocations: 33.7 kB / 441.4 MB, free: 13.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.421e-05/0.1512, allocations: 20 kB / 441.5 MB, free: 13.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1512, allocations: 4 kB / 441.5 MB, free: 13.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001977/0.1514, allocations: 101.4 kB / 441.6 MB, free: 13.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.1515, allocations: 8 kB / 441.6 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1515, allocations: 0 / 441.6 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1515, allocations: 3.984 kB / 441.6 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.193e-05/0.1516, allocations: 16 kB / 441.6 MB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.1516, allocations: 11.88 kB / 441.6 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.157e-05/0.1517, allocations: 0 / 441.6 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/0.1517, allocations: 4 kB / 441.6 MB, free: 13.21 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 ($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.0001069/0.1518, allocations: 133.7 kB / 441.7 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.806e-05/0.1518, allocations: 11.86 kB / 441.7 MB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.53e-05/0.1519, allocations: 12.72 kB / 441.8 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1519, allocations: 3.984 kB / 441.8 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1519, allocations: 0 / 441.8 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.1519, allocations: 3.984 kB / 441.8 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005294/0.1524, allocations: 391.4 kB / 442.1 MB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1524, allocations: 4.031 kB / 442.1 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.013e-05/0.1525, allocations: 8.375 kB / 442.2 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.1525, allocations: 4 kB / 442.2 MB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.1525, allocations: 4 kB / 442.2 MB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1525, allocations: 0 / 442.2 MB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.1525, allocations: 0 / 442.2 MB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002182/0.1527, allocations: 204.2 kB / 442.4 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.539e-05/0.1528, allocations: 104.9 kB / 442.5 MB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.1528, allocations: 192 / 442.5 MB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.846e-05/0.1529, allocations: 4 kB / 442.5 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.673e-05/0.153, allocations: 11.92 kB / 442.5 MB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.153, allocations: 4 kB / 442.5 MB, free: 12.22 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.404e-05/0.1531, allocations: 128.5 kB / 442.6 MB, free: 12.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1531, allocations: 0 / 442.6 MB, free: 12.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002649/0.1534, allocations: 23.98 kB / 442.6 MB, free: 12.07 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.0009776/0.1544, allocations: 465 kB / 443.1 MB, free: 11.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001791/0.1545, allocations: 55.92 kB / 443.1 MB, free: 11.58 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1546, allocations: 0 / 443.1 MB, free: 11.58 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.006e-05/0.1546, allocations: 35.98 kB / 443.2 MB, free: 11.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.155, allocations: 31.97 kB / 443.2 MB, free: 11.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004131/0.1554, allocations: 214 kB / 443.4 MB, free: 11.28 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004285/0.1558, allocations: 0.7004 MB / 444.1 MB, free: 10.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.249e-05/0.1559, allocations: 17.17 kB / 444.1 MB, free: 10.53 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.27e-05/0.1559, allocations: 19.44 kB / 444.2 MB, free: 10.51 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1559, allocations: 0 / 444.2 MB, free: 10.51 MB / 382.1 MB Notification: Performance of Templates: time 0.004332/0.1603, allocations: 1.576 MB / 445.7 MB, free: 8.938 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) Environment - environmentSimulation: