Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.002557/0.002557, allocations: 198.9 kB / 16.26 MB, free: 6.621 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.567/1.567, allocations: 205.1 MB / 222.1 MB, free: 4.73 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.317/0.317, allocations: 37.97 MB / 307.4 MB, free: 10.05 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.001505/0.001505, allocations: 66.62 kB / 374.7 MB, free: 15.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1259, allocations: 56.46 MB / 431.2 MB, free: 6.941 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003477/0.1295, allocations: 1.732 MB / 432.9 MB, free: 5.195 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.1308, allocations: 0.796 MB / 433.7 MB, free: 4.391 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.075e-05/0.1309, allocations: 0 / 433.7 MB, free: 4.391 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003493/0.1313, allocations: 47.89 kB / 433.8 MB, free: 4.344 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002482/0.1316, allocations: 55.81 kB / 433.8 MB, free: 4.289 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002813/0.1319, allocations: 71.84 kB / 433.9 MB, free: 4.219 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001908/0.1321, allocations: 95.7 kB / 434 MB, free: 4.125 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.1322, allocations: 12.2 kB / 434 MB, free: 4.113 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.1323, allocations: 55.7 kB / 434.1 MB, free: 4.059 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.147e-05/0.1324, allocations: 27.86 kB / 434.1 MB, free: 4.031 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.284e-05/0.1324, allocations: 4 kB / 434.1 MB, free: 4.027 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.1326, allocations: 43.98 kB / 434.1 MB, free: 3.984 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.498e-05/0.1326, allocations: 27.91 kB / 434.2 MB, free: 3.957 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.387e-05/0.1327, allocations: 47.61 kB / 434.2 MB, free: 3.91 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002261/0.1329, allocations: 119.8 kB / 434.3 MB, free: 3.793 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.133, allocations: 0 / 434.3 MB, free: 3.793 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.886e-06/0.133, allocations: 4 kB / 434.3 MB, free: 3.789 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.133, allocations: 0 / 434.3 MB, free: 3.789 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.0006262/0.1336, allocations: 418.9 kB / 434.7 MB, free: 3.332 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.1337, allocations: 11.89 kB / 434.8 MB, free: 3.32 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.673e-05/0.1337, allocations: 12.75 kB / 434.8 MB, free: 3.309 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.134, allocations: 216.1 kB / 435 MB, free: 3.059 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.134, allocations: 4.375 kB / 435 MB, free: 3.055 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.429e-05/0.134, allocations: 4.125 kB / 435 MB, free: 3.051 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.1342, allocations: 57.61 kB / 435 MB, free: 2.988 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.1342, allocations: 4 kB / 435 MB, free: 2.984 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.1343, allocations: 4 kB / 435 MB, free: 2.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.1343, allocations: 3.938 kB / 435.1 MB, free: 2.977 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.392e-05/0.1344, allocations: 23.98 kB / 435.1 MB, free: 2.953 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004231/0.1348, allocations: 288.7 kB / 435.4 MB, free: 2.621 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/0.135, allocations: 62.61 kB / 435.4 MB, free: 2.551 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.594e-05/0.1351, allocations: 24.84 kB / 435.4 MB, free: 2.523 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.1351, allocations: 4 kB / 435.4 MB, free: 2.52 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00017/0.1353, allocations: 63.39 kB / 435.5 MB, free: 2.445 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.452e-06/0.1353, allocations: 0 / 435.5 MB, free: 2.445 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005434/0.1358, allocations: 177.2 kB / 435.7 MB, free: 2.266 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.1359, allocations: 51.41 kB / 435.7 MB, free: 2.203 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.1361, allocations: 222.7 kB / 436 MB, free: 1.977 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.1361, allocations: 25.7 kB / 436 MB, free: 1.945 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.858e-05/0.1362, allocations: 112 kB / 436.1 MB, free: 1.832 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.918e-05/0.1362, allocations: 31.62 kB / 436.1 MB, free: 1.801 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.761e-05/0.1362, allocations: 21.72 kB / 436.1 MB, free: 1.773 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.1364, allocations: 334.8 kB / 436.5 MB, free: 1.438 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.178e-05/0.1364, allocations: 12 kB / 436.5 MB, free: 1.426 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.41e-05/0.1365, allocations: 45.64 kB / 436.5 MB, free: 1.375 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/0.1366, allocations: 61.77 kB / 436.6 MB, free: 1.309 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1366, allocations: 0 / 436.6 MB, free: 1.309 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001674/0.1368, allocations: 97.53 kB / 436.7 MB, free: 1.207 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.1368, allocations: 4 kB / 436.7 MB, free: 1.203 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1369, allocations: 192 / 436.7 MB, free: 1.203 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.1369, allocations: 7.984 kB / 436.7 MB, free: 1.195 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.36e-05/0.137, allocations: 15.94 kB / 436.7 MB, free: 1.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.137, allocations: 4.031 kB / 436.7 MB, free: 1.176 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.782e-05/0.137, allocations: 11.94 kB / 436.7 MB, free: 1.164 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.137, allocations: 0 / 436.7 MB, free: 1.164 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.0001032/0.1372, allocations: 133.8 kB / 436.8 MB, free: 1.023 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.204e-05/0.1372, allocations: 15.81 kB / 436.9 MB, free: 1.008 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.459e-05/0.1372, allocations: 17.39 kB / 436.9 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.1372, allocations: 4 kB / 436.9 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1372, allocations: 0 / 436.9 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.1373, allocations: 3.938 kB / 436.9 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004059/0.1377, allocations: 399.3 kB / 437.3 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1377, allocations: 0 / 437.3 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.979e-05/0.1377, allocations: 11.94 kB / 437.3 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.1377, allocations: 4 kB / 437.3 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.1377, allocations: 3.938 kB / 437.3 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1377, allocations: 0 / 437.3 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1378, allocations: 0 / 437.3 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002404/0.138, allocations: 220.1 kB / 437.5 MB, free: 284 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.668e-05/0.1381, allocations: 85 kB / 437.6 MB, free: 180 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.1381, allocations: 7.938 kB / 437.6 MB, free: 172 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.722e-05/0.1382, allocations: 4.375 kB / 437.6 MB, free: 168 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.912e-05/0.1382, allocations: 7.984 kB / 437.6 MB, free: 160 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.1382, allocations: 4 kB / 437.6 MB, free: 156 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002363/0.1385, allocations: 176.3 kB / 437.8 MB, free: 15.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1385, allocations: 0 / 437.8 MB, free: 15.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002599/0.1387, allocations: 27.98 kB / 437.8 MB, free: 15.95 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.001006/0.1398, allocations: 465.7 kB / 438.3 MB, free: 15.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001777/0.1399, allocations: 67.83 kB / 438.3 MB, free: 15.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.14, allocations: 0 / 438.3 MB, free: 15.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.608e-05/0.14, allocations: 35.92 kB / 438.4 MB, free: 15.42 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.1404, allocations: 35.77 kB / 438.4 MB, free: 15.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004908/0.1409, allocations: 282.9 kB / 438.7 MB, free: 15.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.1412, allocations: 0.708 MB / 439.4 MB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.105e-05/0.1413, allocations: 16.88 kB / 439.4 MB, free: 14.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.699e-05/0.1413, allocations: 19.42 kB / 439.4 MB, free: 14.3 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1413, allocations: 0 / 439.4 MB, free: 14.3 MB / 382.1 MB Notification: Performance of Templates: time 0.004287/0.1456, allocations: 1.679 MB / 441.1 MB, free: 12.63 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1)