Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.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.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 115.2 kB / 17.09 MB, free: 5.988 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.001197/0.001197, allocations: 198.9 kB / 18.02 MB, free: 5.062 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.589/1.589, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2202/0.2202, allocations: 43.53 MB / 314.8 MB, free: 452 kB / 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: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 65.47 kB / 442.6 MB, free: 5.574 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1412, allocations: 57.79 MB / 0.4886 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.004663/0.146, allocations: 1.687 MB / 0.4903 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002043/0.148, allocations: 0.8053 MB / 0.4911 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.802e-05/0.1481, allocations: 0 / 0.4911 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003981/0.1485, allocations: 47.75 kB / 0.4911 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00029/0.1489, allocations: 55.77 kB / 0.4911 GB, free: 9.094 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003894/0.1493, allocations: 87.7 kB / 0.4912 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00023/0.1495, allocations: 103.7 kB / 0.4913 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.1497, allocations: 12.2 kB / 0.4913 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.1498, allocations: 39.8 kB / 0.4914 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.1499, allocations: 39.78 kB / 0.4914 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.1499, allocations: 0 / 0.4914 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.1501, allocations: 43.98 kB / 0.4915 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.709e-05/0.1502, allocations: 23.92 kB / 0.4915 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.524e-05/0.1503, allocations: 43.7 kB / 0.4915 GB, free: 8.707 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002796/0.1506, allocations: 107.7 kB / 0.4916 GB, free: 8.602 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.1506, allocations: 0 / 0.4916 GB, free: 8.602 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.1506, allocations: 0 / 0.4916 GB, free: 8.602 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.1506, allocations: 0 / 0.4916 GB, free: 8.602 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007291/0.1514, allocations: 414.9 kB / 0.492 GB, free: 8.148 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.516e-05/0.1514, allocations: 15.89 kB / 0.492 GB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.36e-05/0.1515, allocations: 12.83 kB / 0.4921 GB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003863/0.1519, allocations: 208 kB / 0.4923 GB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.1519, allocations: 4.375 kB / 0.4923 GB, free: 7.875 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.461e-05/0.152, allocations: 8.125 kB / 0.4923 GB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.1521, allocations: 57.67 kB / 0.4923 GB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.1522, allocations: 3.984 kB / 0.4923 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.1522, allocations: 0 / 0.4923 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1522, allocations: 0 / 0.4923 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.048e-05/0.1523, allocations: 23.92 kB / 0.4923 GB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004704/0.1527, allocations: 280.9 kB / 0.4926 GB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002257/0.153, allocations: 58.69 kB / 0.4927 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.576e-05/0.1531, allocations: 20.84 kB / 0.4927 GB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.1531, allocations: 0 / 0.4927 GB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001976/0.1533, allocations: 75.23 kB / 0.4928 GB, free: 7.277 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.863e-06/0.1533, allocations: 0 / 0.4928 GB, free: 7.277 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007345/0.1541, allocations: 177.2 kB / 0.4929 GB, free: 7.098 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/0.1541, allocations: 51.41 kB / 0.493 GB, free: 7.035 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000264/0.1544, allocations: 190.1 kB / 0.4932 GB, free: 6.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/0.1545, allocations: 25.7 kB / 0.4932 GB, free: 6.809 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.302e-05/0.1545, allocations: 96.14 kB / 0.4933 GB, free: 6.711 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.645e-05/0.1546, allocations: 31.58 kB / 0.4933 GB, free: 6.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.119e-05/0.1547, allocations: 25.72 kB / 0.4933 GB, free: 6.648 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.1549, allocations: 322.8 kB / 0.4936 GB, free: 6.324 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.169e-05/0.1549, allocations: 27.98 kB / 0.4937 GB, free: 6.297 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.1551, allocations: 38.08 kB / 0.4937 GB, free: 6.254 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001777/0.1552, allocations: 61.7 kB / 0.4938 GB, free: 6.188 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1553, allocations: 0 / 0.4938 GB, free: 6.188 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000298/0.1556, allocations: 105.6 kB / 0.4939 GB, free: 6.078 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.1556, allocations: 7.938 kB / 0.4939 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.1556, allocations: 4.031 kB / 0.4939 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.1556, allocations: 0 / 0.4939 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.1558, allocations: 19.98 kB / 0.4939 GB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.1558, allocations: 0 / 0.4939 GB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.932e-05/0.1559, allocations: 0 / 0.4939 GB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.1559, allocations: 7.938 kB / 0.4939 GB, free: 6.039 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.0001389/0.156, allocations: 133 kB / 0.494 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.731e-05/0.1561, allocations: 19.75 kB / 0.494 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.501e-05/0.1561, allocations: 16.72 kB / 0.4941 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1562, allocations: 0 / 0.4941 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.1562, allocations: 3.984 kB / 0.4941 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.688e-05/0.1562, allocations: 85.02 kB / 0.4941 GB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.8e-05/0.1563, allocations: 3.938 kB / 0.4941 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.668e-05/0.1563, allocations: 8 kB / 0.4942 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.488e-05/0.1564, allocations: 7.922 kB / 0.4942 GB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000298/0.1567, allocations: 169 kB / 0.4943 GB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003708/0.1571, allocations: 278.6 kB / 0.4946 GB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.296e-05/0.1572, allocations: 31.92 kB / 0.4946 GB, free: 5.246 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001792/0.1574, allocations: 144.1 kB / 0.4948 GB, free: 5.105 MB / 382.1 MB Notification: Performance of Backend: time 6.41e-07/0.1574, allocations: 0 / 0.4948 GB, free: 5.105 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002122/0.1595, allocations: 486.6 kB / 0.4952 GB, free: 4.672 MB / 382.1 MB Notification: Performance of SimCode: time 0.0008978/0.1604, allocations: 0.6661 MB / 0.4959 GB, free: 3.961 MB / 382.1 MB Notification: Performance of Templates: time 0.006611/0.1671, allocations: 1.751 MB / 0.4976 GB, free: 2.215 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches