Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test75") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007555/0.007555, allocations: 101.7 kB / 15.73 MB, free: 5.992 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.001666/0.001666, allocations: 195.9 kB / 16.67 MB, free: 5.922 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.78/1.78, allocations: 205.1 MB / 222.5 MB, free: 12.21 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.2036/0.2036, allocations: 39.96 MB / 309.9 MB, free: 4.008 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.00155/0.00155, allocations: 73.78 kB / 435.8 MB, free: 11.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1398, allocations: 56.88 MB / 492.7 MB, free: 2.695 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003288/0.1431, allocations: 1.835 MB / 494.6 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001466/0.1446, allocations: 0.9065 MB / 495.5 MB, free: 15.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.617e-05/0.1447, allocations: 4 kB / 495.5 MB, free: 15.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000514/0.1453, allocations: 215.4 kB / 495.7 MB, free: 15.71 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.0004018/0.1457, allocations: 171.4 kB / 495.8 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004002/0.1461, allocations: 147.5 kB / 496 MB, free: 15.4 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002776/0.1464, allocations: 223.4 kB / 496.2 MB, free: 15.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.1465, allocations: 33.52 kB / 496.2 MB, free: 15.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001538/0.1467, allocations: 111.6 kB / 496.4 MB, free: 15.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001933/0.1469, allocations: 151.5 kB / 496.5 MB, free: 14.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.1469, allocations: 4 kB / 496.5 MB, free: 14.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.147, allocations: 43.98 kB / 496.5 MB, free: 14.85 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.126e-05/0.1471, allocations: 51.81 kB / 496.6 MB, free: 14.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.831e-05/0.1472, allocations: 91.3 kB / 496.7 MB, free: 14.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002705/0.1475, allocations: 203.3 kB / 496.9 MB, free: 14.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.1475, allocations: 8 kB / 496.9 MB, free: 14.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1475, allocations: 0 / 496.9 MB, free: 14.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.1475, allocations: 0 / 496.9 MB, free: 14.5 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.0007239/0.1482, allocations: 0.5409 MB / 497.4 MB, free: 13.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.1483, allocations: 11.89 kB / 497.4 MB, free: 13.9 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.136e-05/0.1483, allocations: 28.56 kB / 497.5 MB, free: 13.87 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004872/0.1488, allocations: 280 kB / 497.7 MB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.1489, allocations: 8.375 kB / 497.8 MB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.051e-05/0.1489, allocations: 12.11 kB / 497.8 MB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002282/0.1491, allocations: 91.36 kB / 497.9 MB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.1492, allocations: 0 / 497.9 MB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.1492, allocations: 8 kB / 497.9 MB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.1492, allocations: 0 / 497.9 MB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.1493, allocations: 39.91 kB / 497.9 MB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004955/0.1498, allocations: 449 kB / 498.3 MB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002964/0.1501, allocations: 117.3 kB / 498.5 MB, free: 12.76 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.32e-05/0.1502, allocations: 41.7 kB / 498.5 MB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.1503, allocations: 0 / 498.5 MB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002232/0.1505, allocations: 120.9 kB / 498.6 MB, free: 12.58 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.653e-06/0.1505, allocations: 0 / 498.6 MB, free: 12.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008927/0.1514, allocations: 368.1 kB / 499 MB, free: 12.21 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.1515, allocations: 85.03 kB / 499.1 MB, free: 12.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000392/0.1519, allocations: 432.4 kB / 499.5 MB, free: 11.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.1519, allocations: 29.7 kB / 499.5 MB, free: 11.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.152, allocations: 152.3 kB / 499.7 MB, free: 11.49 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.835e-05/0.1521, allocations: 51.3 kB / 499.7 MB, free: 11.44 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.601e-05/0.1521, allocations: 37.7 kB / 499.7 MB, free: 11.4 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.1522, allocations: 346.8 kB / 0.4884 GB, free: 11.05 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.932e-05/0.1523, allocations: 39.97 kB / 0.4884 GB, free: 11.01 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.1525, allocations: 75.02 kB / 0.4885 GB, free: 10.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.1527, allocations: 111.4 kB / 0.4886 GB, free: 10.81 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1527, allocations: 4 kB / 0.4886 GB, free: 10.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003094/0.153, allocations: 189.2 kB / 0.4888 GB, free: 10.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.153, allocations: 4 kB / 0.4888 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.153, allocations: 0 / 0.4888 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.1531, allocations: 4 kB / 0.4888 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.1532, allocations: 31.98 kB / 0.4888 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.1532, allocations: 8.25 kB / 0.4888 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.416e-05/0.1533, allocations: 7.906 kB / 0.4888 GB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.1534, allocations: 12.06 kB / 0.4888 GB, free: 10.55 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.0001349/0.1535, allocations: 173.6 kB / 0.489 GB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.011e-05/0.1535, allocations: 27.7 kB / 0.489 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.375e-05/0.1536, allocations: 38.61 kB / 0.4891 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.1536, allocations: 4 kB / 0.4891 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.1536, allocations: 3.938 kB / 0.4891 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.1536, allocations: 0 / 0.4891 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000751/0.1544, allocations: 0.628 MB / 0.4897 GB, free: 9.602 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1544, allocations: 0 / 0.4897 GB, free: 9.602 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.341e-05/0.1545, allocations: 16 kB / 0.4897 GB, free: 9.586 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.1545, allocations: 4 kB / 0.4897 GB, free: 9.582 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.1545, allocations: 3.984 kB / 0.4897 GB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.1545, allocations: 7.938 kB / 0.4897 GB, free: 9.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1545, allocations: 0 / 0.4897 GB, free: 9.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004102/0.1549, allocations: 368.6 kB / 0.4901 GB, free: 9.188 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.774e-05/0.155, allocations: 100.8 kB / 0.4902 GB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.48e-05/0.1551, allocations: 7.938 kB / 0.4902 GB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.1552, allocations: 11.98 kB / 0.4902 GB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.41e-05/0.1553, allocations: 11.92 kB / 0.4902 GB, free: 9.039 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.398e-05/0.1553, allocations: 16 kB / 0.4902 GB, free: 9.023 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002975/0.1556, allocations: 319 kB / 0.4905 GB, free: 8.711 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1556, allocations: 4 kB / 0.4905 GB, free: 8.707 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004214/0.156, allocations: 40 kB / 0.4905 GB, free: 8.668 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.001109/0.1572, allocations: 462.7 kB / 0.491 GB, free: 8.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003087/0.1575, allocations: 119.8 kB / 0.4911 GB, free: 8.133 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1575, allocations: 0 / 0.4911 GB, free: 8.133 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.1576, allocations: 59.91 kB / 0.4912 GB, free: 8.074 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005716/0.1582, allocations: 65.66 kB / 0.4912 GB, free: 8.012 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000848/0.1591, allocations: 494.1 kB / 0.4917 GB, free: 7.488 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.1594, allocations: 0.7666 MB / 0.4924 GB, free: 6.699 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.433e-05/0.1595, allocations: 45.84 kB / 0.4925 GB, free: 6.656 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.485e-05/0.1596, allocations: 23.44 kB / 0.4925 GB, free: 6.633 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1596, allocations: 4 kB / 0.4925 GB, free: 6.629 MB / 382.1 MB Notification: Performance of Templates: time 0.00671/0.1663, allocations: 2.78 MB / 0.4952 GB, free: 3.852 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1)