Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001386/0.001386, allocations: 193.9 kB / 16.25 MB, free: 6.637 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.593/1.593, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.3145/0.3145, allocations: 37.97 MB / 307.4 MB, free: 10.06 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.001369/0.001369, allocations: 72.47 kB / 374.8 MB, free: 15.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1241, allocations: 56.46 MB / 431.2 MB, free: 6.977 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003479/0.1276, allocations: 1.732 MB / 432.9 MB, free: 5.23 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.129, allocations: 0.7999 MB / 433.7 MB, free: 4.422 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.962e-05/0.1291, allocations: 0 / 433.7 MB, free: 4.422 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003444/0.1295, allocations: 51.88 kB / 433.8 MB, free: 4.371 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002097/0.1297, allocations: 51.77 kB / 433.8 MB, free: 4.32 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002775/0.13, allocations: 71.84 kB / 433.9 MB, free: 4.25 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.1302, allocations: 99.69 kB / 434 MB, free: 4.152 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.1303, allocations: 12.22 kB / 434 MB, free: 4.141 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.541e-05/0.1304, allocations: 39.8 kB / 434.1 MB, free: 4.102 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.234e-05/0.1305, allocations: 39.83 kB / 434.1 MB, free: 4.062 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.1305, allocations: 4 kB / 434.1 MB, free: 4.059 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.1306, allocations: 40 kB / 434.1 MB, free: 4.02 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.624e-05/0.1307, allocations: 31.83 kB / 434.2 MB, free: 3.988 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.224e-05/0.1308, allocations: 31.75 kB / 434.2 MB, free: 3.957 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002099/0.131, allocations: 127.8 kB / 434.3 MB, free: 3.832 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.131, allocations: 0 / 434.3 MB, free: 3.832 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.131, allocations: 0 / 434.3 MB, free: 3.832 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.131, allocations: 0 / 434.3 MB, free: 3.832 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.0005757/0.1316, allocations: 422.9 kB / 434.7 MB, free: 3.371 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.1317, allocations: 11.89 kB / 434.8 MB, free: 3.359 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.131e-05/0.1317, allocations: 16.73 kB / 434.8 MB, free: 3.344 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002438/0.132, allocations: 208.1 kB / 435 MB, free: 3.102 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.132, allocations: 8.375 kB / 435 MB, free: 3.094 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.132, allocations: 8.062 kB / 435 MB, free: 3.086 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.1322, allocations: 53.67 kB / 435 MB, free: 3.027 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.1322, allocations: 3.984 kB / 435 MB, free: 3.023 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.1322, allocations: 4 kB / 435 MB, free: 3.02 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.1323, allocations: 3.938 kB / 435.1 MB, free: 3.016 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.393e-05/0.1323, allocations: 19.98 kB / 435.1 MB, free: 2.996 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003894/0.1327, allocations: 292.7 kB / 435.4 MB, free: 2.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.1329, allocations: 62.61 kB / 435.4 MB, free: 2.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.562e-05/0.133, allocations: 16.86 kB / 435.4 MB, free: 2.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.133, allocations: 11.98 kB / 435.4 MB, free: 2.559 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001635/0.1332, allocations: 67.39 kB / 435.5 MB, free: 2.48 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.1332, allocations: 0 / 435.5 MB, free: 2.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005369/0.1337, allocations: 169.2 kB / 435.7 MB, free: 2.309 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.1338, allocations: 59.41 kB / 435.7 MB, free: 2.238 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002132/0.134, allocations: 218.7 kB / 436 MB, free: 2.016 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.134, allocations: 29.64 kB / 436 MB, free: 1.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.1342, allocations: 116 kB / 436.1 MB, free: 1.863 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.263e-05/0.1342, allocations: 23.66 kB / 436.1 MB, free: 1.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-05/0.1343, allocations: 21.7 kB / 436.1 MB, free: 1.812 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.1344, allocations: 330.8 kB / 436.5 MB, free: 1.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.57e-05/0.1345, allocations: 27.92 kB / 436.5 MB, free: 1.453 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.306e-05/0.1345, allocations: 37.7 kB / 436.5 MB, free: 1.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001639/0.1347, allocations: 57.7 kB / 436.6 MB, free: 1.348 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-06/0.1347, allocations: 0 / 436.6 MB, free: 1.348 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001735/0.1349, allocations: 105.5 kB / 436.7 MB, free: 1.238 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.1349, allocations: 4 kB / 436.7 MB, free: 1.234 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1349, allocations: 0 / 436.7 MB, free: 1.234 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.1349, allocations: 0 / 436.7 MB, free: 1.234 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.751e-05/0.135, allocations: 19.98 kB / 436.7 MB, free: 1.215 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.135, allocations: 0 / 436.7 MB, free: 1.215 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.213e-05/0.1351, allocations: 11.97 kB / 436.7 MB, free: 1.203 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.1351, allocations: 0 / 436.7 MB, free: 1.203 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.0001108/0.1352, allocations: 133.8 kB / 436.8 MB, free: 1.062 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-05/0.1353, allocations: 15.81 kB / 436.9 MB, free: 1.047 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.19e-05/0.1353, allocations: 13.41 kB / 436.9 MB, free: 1.031 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.1353, allocations: 4 kB / 436.9 MB, free: 1.027 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1353, allocations: 0 / 436.9 MB, free: 1.027 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.1353, allocations: 7.922 kB / 436.9 MB, free: 1.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004614/0.1358, allocations: 395.3 kB / 437.3 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1358, allocations: 0 / 437.3 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.363e-05/0.1359, allocations: 15.94 kB / 437.3 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.1359, allocations: 0 / 437.3 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.1359, allocations: 11.92 kB / 437.3 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.1359, allocations: 0 / 437.3 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1359, allocations: 0 / 437.3 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002466/0.1362, allocations: 204.4 kB / 437.5 MB, free: 336 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.28e-05/0.1362, allocations: 89.39 kB / 437.6 MB, free: 228 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.989e-05/0.1363, allocations: 7.938 kB / 437.6 MB, free: 220 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.858e-05/0.1363, allocations: 4 kB / 437.6 MB, free: 216 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/0.1364, allocations: 7.984 kB / 437.6 MB, free: 208 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.1364, allocations: 8 kB / 437.6 MB, free: 200 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001268/0.1365, allocations: 172.5 kB / 437.8 MB, free: 28 kB / 366.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1365, allocations: 0 / 437.8 MB, free: 28 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002811/0.1368, allocations: 31.98 kB / 437.8 MB, free: 15.99 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.0009539/0.1378, allocations: 462.9 kB / 438.3 MB, free: 15.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002246/0.138, allocations: 75.83 kB / 438.3 MB, free: 15.49 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.138, allocations: 0 / 438.3 MB, free: 15.49 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.954e-05/0.1381, allocations: 31.92 kB / 438.4 MB, free: 15.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.1385, allocations: 35.78 kB / 438.4 MB, free: 15.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005468/0.139, allocations: 286.9 kB / 438.7 MB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000353/0.1394, allocations: 0.708 MB / 439.4 MB, free: 14.38 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.683e-05/0.1395, allocations: 13.19 kB / 439.4 MB, free: 14.37 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.253e-05/0.1395, allocations: 19.44 kB / 439.4 MB, free: 14.35 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1395, allocations: 0 / 439.4 MB, free: 14.35 MB / 382.1 MB Notification: Performance of Templates: time 0.004692/0.1442, allocations: 1.686 MB / 441.1 MB, free: 12.66 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1)