Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008416/0.008416, allocations: 103 kB / 15.73 MB, free: 6.059 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.001469/0.001469, allocations: 189.8 kB / 16.67 MB, free: 5.973 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.592/1.592, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1976/0.1976, allocations: 39.96 MB / 309.9 MB, free: 4.016 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.001417/0.001417, allocations: 77.45 kB / 435.8 MB, free: 11.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1235, allocations: 56.88 MB / 492.7 MB, free: 2.695 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003084/0.1266, allocations: 1.839 MB / 494.6 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001369/0.128, allocations: 0.9065 MB / 495.5 MB, free: 15.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.59e-05/0.1281, allocations: 0 / 495.5 MB, free: 15.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000362/0.1285, allocations: 155.5 kB / 495.6 MB, free: 15.77 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002912/0.1288, allocations: 131.5 kB / 495.8 MB, free: 15.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003297/0.1291, allocations: 151.5 kB / 495.9 MB, free: 15.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002526/0.1294, allocations: 211.5 kB / 496.1 MB, free: 15.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.705e-05/0.1295, allocations: 21.55 kB / 496.1 MB, free: 15.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001382/0.1296, allocations: 103.5 kB / 496.2 MB, free: 15.17 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/0.1298, allocations: 127.6 kB / 496.4 MB, free: 15.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.1298, allocations: 8 kB / 496.4 MB, free: 15.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.196e-05/0.1299, allocations: 51.92 kB / 496.4 MB, free: 14.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.514e-05/0.13, allocations: 43.83 kB / 496.5 MB, free: 14.94 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.03e-05/0.1301, allocations: 71.48 kB / 496.5 MB, free: 14.87 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002322/0.1303, allocations: 195.3 kB / 496.7 MB, free: 14.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1303, allocations: 0 / 496.7 MB, free: 14.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1303, allocations: 3.938 kB / 496.7 MB, free: 14.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.1303, allocations: 0 / 496.7 MB, free: 14.68 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006503/0.131, allocations: 0.5098 MB / 497.2 MB, free: 14.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.131, allocations: 15.89 kB / 497.2 MB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.764e-05/0.1311, allocations: 28.66 kB / 497.3 MB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003452/0.1314, allocations: 263.6 kB / 497.5 MB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.1315, allocations: 4.375 kB / 497.5 MB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.1315, allocations: 16.05 kB / 497.6 MB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.1317, allocations: 95.36 kB / 497.6 MB, free: 13.65 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.1317, allocations: 0 / 497.6 MB, free: 13.65 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.1317, allocations: 4 kB / 497.6 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.1318, allocations: 7.984 kB / 497.7 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.1319, allocations: 39.97 kB / 497.7 MB, free: 13.6 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004583/0.1324, allocations: 436.9 kB / 498.1 MB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002715/0.1326, allocations: 117.3 kB / 498.2 MB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.961e-05/0.1327, allocations: 45.69 kB / 498.3 MB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.1328, allocations: 0 / 498.3 MB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002106/0.133, allocations: 117 kB / 498.4 MB, free: 12.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.783e-06/0.133, allocations: 0 / 498.4 MB, free: 12.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008264/0.1338, allocations: 360.2 kB / 498.7 MB, free: 12.44 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.781e-05/0.1339, allocations: 85.05 kB / 498.8 MB, free: 12.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003278/0.1342, allocations: 350.9 kB / 499.2 MB, free: 11.99 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.216e-05/0.1343, allocations: 33.7 kB / 499.2 MB, free: 11.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.391e-05/0.1344, allocations: 144.4 kB / 499.3 MB, free: 11.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.891e-05/0.1344, allocations: 55.28 kB / 499.4 MB, free: 11.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.906e-05/0.1345, allocations: 37.7 kB / 499.4 MB, free: 11.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.1346, allocations: 334.8 kB / 499.8 MB, free: 11.37 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.658e-05/0.1347, allocations: 39.98 kB / 499.8 MB, free: 11.33 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.1348, allocations: 75.02 kB / 499.9 MB, free: 11.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002063/0.135, allocations: 115.4 kB / 500 MB, free: 11.12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.135, allocations: 0 / 500 MB, free: 11.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002932/0.1353, allocations: 181.2 kB / 0.4884 GB, free: 10.94 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.1354, allocations: 8 kB / 0.4885 GB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.1354, allocations: 0 / 0.4885 GB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.1354, allocations: 4.062 kB / 0.4885 GB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.1355, allocations: 39.91 kB / 0.4885 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.1356, allocations: 4.25 kB / 0.4885 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.287e-05/0.1356, allocations: 8 kB / 0.4885 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.1357, allocations: 8 kB / 0.4885 GB, free: 10.87 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.000144/0.1358, allocations: 161.6 kB / 0.4887 GB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.847e-05/0.1358, allocations: 27.62 kB / 0.4887 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.094e-05/0.1359, allocations: 33.72 kB / 0.4887 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.1359, allocations: 4 kB / 0.4887 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.1359, allocations: 7.938 kB / 0.4887 GB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.1359, allocations: 0 / 0.4887 GB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006647/0.1366, allocations: 0.6047 MB / 0.4893 GB, free: 9.965 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1366, allocations: 3.938 kB / 0.4893 GB, free: 9.961 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.427e-05/0.1367, allocations: 19.98 kB / 0.4893 GB, free: 9.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1367, allocations: 0 / 0.4893 GB, free: 9.941 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.1367, allocations: 8.062 kB / 0.4894 GB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1367, allocations: 0 / 0.4894 GB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1367, allocations: 4 kB / 0.4894 GB, free: 9.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003718/0.1371, allocations: 364.6 kB / 0.4897 GB, free: 9.551 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.073e-05/0.1372, allocations: 96.83 kB / 0.4898 GB, free: 9.438 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.367e-05/0.1372, allocations: 11.98 kB / 0.4898 GB, free: 9.426 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.1373, allocations: 8 kB / 0.4898 GB, free: 9.418 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.459e-05/0.1374, allocations: 7.984 kB / 0.4898 GB, free: 9.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.168e-05/0.1374, allocations: 19.98 kB / 0.4898 GB, free: 9.391 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002389/0.1377, allocations: 257.9 kB / 0.4901 GB, free: 9.141 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1377, allocations: 0 / 0.4901 GB, free: 9.141 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003171/0.138, allocations: 39.98 kB / 0.4901 GB, free: 9.102 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001016/0.139, allocations: 474.3 kB / 0.4906 GB, free: 8.668 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002733/0.1393, allocations: 115.9 kB / 0.4907 GB, free: 8.555 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.1393, allocations: 8.125 kB / 0.4907 GB, free: 8.547 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.1394, allocations: 59.91 kB / 0.4908 GB, free: 8.488 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005195/0.14, allocations: 69.14 kB / 0.4908 GB, free: 8.414 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006343/0.1406, allocations: 434 kB / 0.4912 GB, free: 7.957 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/0.1409, allocations: 0.7554 MB / 0.492 GB, free: 7.176 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.749e-05/0.141, allocations: 29.92 kB / 0.492 GB, free: 7.145 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.321e-05/0.1411, allocations: 35.42 kB / 0.492 GB, free: 7.109 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1411, allocations: 0 / 0.492 GB, free: 7.109 MB / 382.1 MB Notification: Performance of Templates: time 0.005691/0.1468, allocations: 2.691 MB / 0.4947 GB, free: 4.426 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1)