Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006983/0.0006984, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.007477/0.007477, allocations: 173.3 kB / 16.26 MB, free: 6.613 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.395/1.395, 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.1+maint.om/package.mo): time 0.3456/0.3456, allocations: 38.04 MB / 308.8 MB, free: 10.34 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.0005486/0.0005486, allocations: 16 kB / 377.1 MB, free: 14.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1272, allocations: 57.52 MB / 434.6 MB, free: 5.211 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002247/0.1295, allocations: 1.385 MB / 436 MB, free: 3.816 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001422/0.1309, allocations: 0.7923 MB / 436.8 MB, free: 3.016 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.283e-05/0.131, allocations: 3.938 kB / 436.8 MB, free: 3.012 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003273/0.1314, allocations: 39.88 kB / 436.8 MB, free: 2.973 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002216/0.1316, allocations: 59.81 kB / 436.9 MB, free: 2.914 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003124/0.1319, allocations: 75.78 kB / 436.9 MB, free: 2.84 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001854/0.1321, allocations: 95.69 kB / 437 MB, free: 2.746 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.1323, allocations: 12.22 kB / 437 MB, free: 2.734 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.1324, allocations: 47.7 kB / 437.1 MB, free: 2.688 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.223e-05/0.1325, allocations: 31.8 kB / 437.1 MB, free: 2.656 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.1325, allocations: 4 kB / 437.1 MB, free: 2.652 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.1326, allocations: 39.98 kB / 437.2 MB, free: 2.613 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.694e-05/0.1327, allocations: 27.91 kB / 437.2 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.605e-05/0.1328, allocations: 65.38 kB / 437.2 MB, free: 2.516 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002131/0.133, allocations: 127.8 kB / 437.4 MB, free: 2.391 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.133, allocations: 4 kB / 437.4 MB, free: 2.387 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.133, allocations: 0 / 437.4 MB, free: 2.387 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.133, allocations: 0 / 437.4 MB, free: 2.387 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.1336, allocations: 422.8 kB / 437.8 MB, free: 1.926 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.1337, allocations: 8.031 kB / 437.8 MB, free: 1.918 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.61e-05/0.1337, allocations: 16.84 kB / 437.8 MB, free: 1.902 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002463/0.134, allocations: 215.7 kB / 438 MB, free: 1.652 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.134, allocations: 4.375 kB / 438 MB, free: 1.648 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.881e-05/0.134, allocations: 12.03 kB / 438 MB, free: 1.637 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.1342, allocations: 53.67 kB / 438.1 MB, free: 1.578 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.1342, allocations: 7.938 kB / 438.1 MB, free: 1.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.1343, allocations: 4 kB / 438.1 MB, free: 1.566 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.1343, allocations: 3.984 kB / 438.1 MB, free: 1.562 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.903e-05/0.1344, allocations: 19.98 kB / 438.1 MB, free: 1.543 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004329/0.1348, allocations: 292.9 kB / 438.4 MB, free: 1.207 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.135, allocations: 62.61 kB / 438.5 MB, free: 1.137 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.046e-05/0.135, allocations: 16.86 kB / 438.5 MB, free: 1.117 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.1351, allocations: 0 / 438.5 MB, free: 1.117 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001817/0.1352, allocations: 71.39 kB / 438.6 MB, free: 1.035 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.1353, allocations: 0 / 438.6 MB, free: 1.035 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005418/0.1358, allocations: 189 kB / 438.7 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.1359, allocations: 51.41 kB / 438.8 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002243/0.1361, allocations: 254.8 kB / 439 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.1361, allocations: 25.7 kB / 439.1 MB, free: 496 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.454e-05/0.1362, allocations: 116 kB / 439.2 MB, free: 376 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.036e-05/0.1362, allocations: 27.73 kB / 439.2 MB, free: 348 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.27e-05/0.1363, allocations: 17.72 kB / 439.2 MB, free: 324 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.1364, allocations: 330.8 kB / 439.5 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.174e-05/0.1364, allocations: 15.98 kB / 439.6 MB, free: 15.97 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.162e-05/0.1365, allocations: 37.7 kB / 439.6 MB, free: 15.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.1366, allocations: 61.83 kB / 439.7 MB, free: 15.86 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1366, allocations: 4 kB / 439.7 MB, free: 15.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001745/0.1368, allocations: 105.4 kB / 439.8 MB, free: 15.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.1368, allocations: 4 kB / 439.8 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1369, allocations: 4 kB / 439.8 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.1369, allocations: 0 / 439.8 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.093e-05/0.137, allocations: 15.98 kB / 439.8 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.137, allocations: 3.938 kB / 439.8 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.782e-05/0.137, allocations: 11.94 kB / 439.8 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.1371, allocations: 4 kB / 439.8 MB, free: 15.7 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 0.0001123/0.1372, allocations: 137.9 kB / 439.9 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.22e-05/0.1372, allocations: 11.81 kB / 440 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.638e-05/0.1373, allocations: 25.33 kB / 440 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1373, allocations: 0 / 440 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1373, allocations: 4 kB / 440 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.269e-06/0.1373, allocations: 3.938 kB / 440 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00043/0.1377, allocations: 407.2 kB / 440.4 MB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.1377, allocations: 4.406 kB / 440.4 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.121e-05/0.1378, allocations: 8 kB / 440.4 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1378, allocations: 0 / 440.4 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.1378, allocations: 7.938 kB / 440.4 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1378, allocations: 4 kB / 440.4 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.1378, allocations: 3.984 kB / 440.4 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002113/0.138, allocations: 204.3 kB / 440.6 MB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.903e-05/0.1381, allocations: 88.92 kB / 440.7 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.1381, allocations: 7.938 kB / 440.7 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.013e-05/0.1382, allocations: 7.984 kB / 440.7 MB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/0.1383, allocations: 7.938 kB / 440.7 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.1383, allocations: 4 kB / 440.7 MB, free: 14.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001531/0.1384, allocations: 208 kB / 440.9 MB, free: 14.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1384, allocations: 0 / 440.9 MB, free: 14.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002571/0.1387, allocations: 24 kB / 441 MB, free: 14.45 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.0009743/0.1397, allocations: 468 kB / 441.4 MB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001728/0.1399, allocations: 59.91 kB / 441.5 MB, free: 13.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.1399, allocations: 4.062 kB / 441.5 MB, free: 13.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.675e-05/0.14, allocations: 27.98 kB / 441.5 MB, free: 13.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.1403, allocations: 27.92 kB / 441.5 MB, free: 13.9 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004982/0.1408, allocations: 322.8 kB / 441.8 MB, free: 13.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/0.1411, allocations: 0.7121 MB / 442.6 MB, free: 12.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.907e-05/0.1412, allocations: 20.86 kB / 442.6 MB, free: 12.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.185e-05/0.1412, allocations: 19.44 kB / 442.6 MB, free: 12.77 MB / 382.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1412, allocations: 0 / 442.6 MB, free: 12.77 MB / 382.1 MB Notification: Performance of Templates: time 0.004364/0.1456, allocations: 1.64 MB / 444.2 MB, free: 11.14 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) Environment - environmentSimulation: