Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008197/0.0008196, allocations: 91.3 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.005302/0.005302, allocations: 172.8 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.559/1.559, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.3383/0.3383, allocations: 38.03 MB / 308.8 MB, free: 10.29 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.0005615/0.0005615, allocations: 16 kB / 377.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1188, allocations: 57.52 MB / 434.6 MB, free: 5.207 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.002766/0.1216, allocations: 1.401 MB / 436 MB, free: 3.797 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001673/0.1233, allocations: 0.7883 MB / 436.8 MB, free: 3 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001571/0.1235, allocations: 0 / 436.8 MB, free: 3 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004227/0.124, allocations: 35.89 kB / 436.8 MB, free: 2.965 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002861/0.1243, allocations: 47.83 kB / 436.8 MB, free: 2.918 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003809/0.1247, allocations: 75.86 kB / 436.9 MB, free: 2.844 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002414/0.1249, allocations: 95.67 kB / 437 MB, free: 2.75 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.1251, allocations: 12.22 kB / 437 MB, free: 2.738 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.1252, allocations: 39.73 kB / 437.1 MB, free: 2.699 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.1254, allocations: 27.84 kB / 437.1 MB, free: 2.672 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.654e-05/0.1254, allocations: 4 kB / 437.1 MB, free: 2.668 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001566/0.1256, allocations: 35.98 kB / 437.1 MB, free: 2.633 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.676e-05/0.1256, allocations: 15.92 kB / 437.1 MB, free: 2.617 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.264e-05/0.1257, allocations: 57.5 kB / 437.2 MB, free: 2.555 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003/0.1261, allocations: 111.8 kB / 437.3 MB, free: 2.445 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1261, allocations: 0 / 437.3 MB, free: 2.445 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.1261, allocations: 3.938 kB / 437.3 MB, free: 2.441 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.1261, allocations: 0 / 437.3 MB, free: 2.441 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.0007375/0.1268, allocations: 399.1 kB / 437.7 MB, free: 2.004 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.658e-05/0.1269, allocations: 12.03 kB / 437.7 MB, free: 1.992 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.511e-05/0.127, allocations: 12.75 kB / 437.7 MB, free: 1.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003132/0.1273, allocations: 212.1 kB / 437.9 MB, free: 1.734 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/0.1273, allocations: 4.375 kB / 437.9 MB, free: 1.73 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.486e-05/0.1274, allocations: 4.125 kB / 437.9 MB, free: 1.727 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.1276, allocations: 61.61 kB / 438 MB, free: 1.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.1276, allocations: 0 / 438 MB, free: 1.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.1276, allocations: 0 / 438 MB, free: 1.66 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.1276, allocations: 0 / 438 MB, free: 1.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.023e-05/0.1277, allocations: 19.98 kB / 438 MB, free: 1.641 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004345/0.1282, allocations: 280.9 kB / 438.3 MB, free: 1.316 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001825/0.1284, allocations: 62.62 kB / 438.4 MB, free: 1.246 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.759e-05/0.1284, allocations: 20.84 kB / 438.4 MB, free: 1.223 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.1285, allocations: 0 / 438.4 MB, free: 1.223 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002181/0.1287, allocations: 67.39 kB / 438.4 MB, free: 1.145 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.1287, allocations: 4 kB / 438.4 MB, free: 1.141 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006179/0.1293, allocations: 177.2 kB / 438.6 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.309e-05/0.1294, allocations: 55.41 kB / 438.7 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002038/0.1296, allocations: 178.2 kB / 438.8 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.1296, allocations: 33.7 kB / 438.9 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.673e-05/0.1297, allocations: 104.1 kB / 439 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.353e-05/0.1297, allocations: 19.72 kB / 439 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/0.1298, allocations: 17.66 kB / 439 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.13, allocations: 330.8 kB / 439.3 MB, free: 196 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.073e-05/0.13, allocations: 19.98 kB / 439.4 MB, free: 176 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.639e-05/0.1301, allocations: 41.64 kB / 439.4 MB, free: 128 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.1302, allocations: 57.7 kB / 439.5 MB, free: 64 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1303, allocations: 0 / 439.5 MB, free: 64 kB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002369/0.1305, allocations: 101.5 kB / 439.6 MB, free: 15.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.1305, allocations: 8 kB / 439.6 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.1305, allocations: 0 / 439.6 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.1306, allocations: 0 / 439.6 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.1307, allocations: 19.98 kB / 439.6 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.1307, allocations: 4.562 kB / 439.6 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.658e-05/0.1308, allocations: 3.938 kB / 439.6 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.1308, allocations: 7.938 kB / 439.6 MB, free: 15.91 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.0001625/0.131, allocations: 129.8 kB / 439.7 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.7e-05/0.131, allocations: 19.91 kB / 439.7 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.328e-05/0.1311, allocations: 12.72 kB / 439.8 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1311, allocations: 0 / 439.8 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/0.1311, allocations: 3.984 kB / 439.8 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.1311, allocations: 7.922 kB / 439.8 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005092/0.1316, allocations: 391.3 kB / 440.2 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.1316, allocations: 0 / 440.2 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.324e-05/0.1317, allocations: 8 kB / 440.2 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.1317, allocations: 4.031 kB / 440.2 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.1317, allocations: 7.938 kB / 440.2 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1317, allocations: 0 / 440.2 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1317, allocations: 0 / 440.2 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002681/0.132, allocations: 212.1 kB / 440.4 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.855e-05/0.1321, allocations: 85.02 kB / 440.5 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/0.1321, allocations: 3.938 kB / 440.5 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.689e-05/0.1322, allocations: 15.98 kB / 440.5 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-05/0.1322, allocations: 4 kB / 440.5 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/0.1323, allocations: 4 kB / 440.5 MB, free: 14.92 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001348/0.1324, allocations: 144 kB / 440.6 MB, free: 14.78 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1324, allocations: 0 / 440.6 MB, free: 14.78 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002828/0.1327, allocations: 20 kB / 440.6 MB, free: 14.76 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.001208/0.1339, allocations: 472.7 kB / 441.1 MB, free: 14.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002222/0.1342, allocations: 55.91 kB / 441.2 MB, free: 14.26 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.1342, allocations: 0 / 441.2 MB, free: 14.26 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.886e-05/0.1343, allocations: 35.92 kB / 441.2 MB, free: 14.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003791/0.1346, allocations: 24.11 kB / 441.2 MB, free: 14.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006425/0.1353, allocations: 246.5 kB / 441.5 MB, free: 13.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004082/0.1357, allocations: 0.7122 MB / 442.2 MB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.334e-05/0.1358, allocations: 13.19 kB / 442.2 MB, free: 13.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.155e-05/0.1359, allocations: 19.42 kB / 442.2 MB, free: 13.16 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1359, allocations: 0 / 442.2 MB, free: 13.16 MB / 382.1 MB Notification: Performance of Templates: time 0.005308/0.1412, allocations: 1.62 MB / 443.8 MB, free: 11.54 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) Environment - environmentSimulation: