Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,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.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,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.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 106.3 kB / 17.08 MB, free: 5.816 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.001248/0.001248, allocations: 196.3 kB / 18.02 MB, free: 4.934 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.459/1.459, allocations: 205.1 MB / 223.9 MB, free: 12.28 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.241/0.241, 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.001467/0.001467, allocations: 74.7 kB / 442.6 MB, free: 5.574 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1376, allocations: 57.79 MB / 0.4886 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003824/0.1414, allocations: 1.69 MB / 0.4903 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001518/0.143, allocations: 0.8014 MB / 0.4911 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.1431, allocations: 0 / 0.4911 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003915/0.1435, allocations: 87.7 kB / 0.4911 GB, free: 9.113 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002707/0.1438, allocations: 71.72 kB / 0.4912 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002973/0.1442, allocations: 91.7 kB / 0.4913 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001948/0.1444, allocations: 111.7 kB / 0.4914 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.1445, allocations: 16.22 kB / 0.4914 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.1446, allocations: 47.78 kB / 0.4915 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.1447, allocations: 59.81 kB / 0.4915 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.244e-05/0.1447, allocations: 4 kB / 0.4915 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.1449, allocations: 47.97 kB / 0.4916 GB, free: 8.672 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.068e-05/0.1449, allocations: 23.92 kB / 0.4916 GB, free: 8.648 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.606e-05/0.145, allocations: 39.67 kB / 0.4916 GB, free: 8.609 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002074/0.1452, allocations: 115.6 kB / 0.4917 GB, free: 8.496 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.1452, allocations: 8 kB / 0.4917 GB, free: 8.488 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1452, allocations: 0 / 0.4917 GB, free: 8.488 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1452, allocations: 0 / 0.4917 GB, free: 8.488 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.000564/0.1458, allocations: 410.9 kB / 0.4921 GB, free: 8.039 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.1459, allocations: 15.89 kB / 0.4922 GB, free: 8.023 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.045e-05/0.1459, allocations: 12.75 kB / 0.4922 GB, free: 8.012 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003169/0.1462, allocations: 212.6 kB / 0.4924 GB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.1463, allocations: 384 / 0.4924 GB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.1463, allocations: 16.06 kB / 0.4924 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.1465, allocations: 61.59 kB / 0.4924 GB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.1465, allocations: 0 / 0.4924 GB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.1465, allocations: 0 / 0.4924 GB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.1465, allocations: 0 / 0.4924 GB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.523e-05/0.1466, allocations: 23.98 kB / 0.4925 GB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003908/0.147, allocations: 296.7 kB / 0.4927 GB, free: 7.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001685/0.1472, allocations: 62.61 kB / 0.4928 GB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.198e-05/0.1472, allocations: 20.86 kB / 0.4928 GB, free: 7.227 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.1472, allocations: 0 / 0.4928 GB, free: 7.227 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001481/0.1474, allocations: 67.38 kB / 0.4929 GB, free: 7.148 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.1474, allocations: 4 kB / 0.4929 GB, free: 7.145 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005516/0.148, allocations: 169.2 kB / 0.4931 GB, free: 6.973 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.148, allocations: 51.41 kB / 0.4931 GB, free: 6.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002125/0.1482, allocations: 215.1 kB / 0.4933 GB, free: 6.691 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.1483, allocations: 37.64 kB / 0.4933 GB, free: 6.648 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.122e-05/0.1483, allocations: 100.1 kB / 0.4934 GB, free: 6.547 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.038e-05/0.1484, allocations: 27.64 kB / 0.4935 GB, free: 6.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.085e-05/0.1484, allocations: 29.7 kB / 0.4935 GB, free: 6.484 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.1486, allocations: 330.8 kB / 0.4938 GB, free: 6.152 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.285e-05/0.1486, allocations: 19.94 kB / 0.4938 GB, free: 6.133 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.489e-05/0.1487, allocations: 37.7 kB / 0.4939 GB, free: 6.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001108/0.1488, allocations: 57.77 kB / 0.4939 GB, free: 6.027 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1488, allocations: 0 / 0.4939 GB, free: 6.027 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001843/0.149, allocations: 109.4 kB / 0.494 GB, free: 5.914 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.149, allocations: 8.031 kB / 0.494 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.149, allocations: 0 / 0.494 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.1491, allocations: 4 kB / 0.494 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.092e-05/0.1492, allocations: 12 kB / 0.4941 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.1492, allocations: 0 / 0.4941 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.775e-05/0.1492, allocations: 7.984 kB / 0.4941 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.1492, allocations: 3.938 kB / 0.4941 GB, free: 5.879 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.0001056/0.1494, allocations: 133.7 kB / 0.4942 GB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.511e-05/0.1494, allocations: 11.91 kB / 0.4942 GB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.643e-05/0.1494, allocations: 21.39 kB / 0.4942 GB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.1494, allocations: 0 / 0.4942 GB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.1495, allocations: 0 / 0.4942 GB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.559e-05/0.1495, allocations: 92.86 kB / 0.4943 GB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.738e-05/0.1495, allocations: 11.92 kB / 0.4943 GB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.064e-05/0.1496, allocations: 4 kB / 0.4943 GB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.346e-05/0.1496, allocations: 4 kB / 0.4943 GB, free: 5.57 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002189/0.1499, allocations: 177.3 kB / 0.4945 GB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002497/0.1501, allocations: 274.6 kB / 0.4948 GB, free: 5.105 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.375e-05/0.1502, allocations: 27.98 kB / 0.4948 GB, free: 5.078 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001344/0.1503, allocations: 155.2 kB / 0.4949 GB, free: 4.926 MB / 382.1 MB Notification: Performance of Backend: time 1.9e-07/0.1503, allocations: 0 / 0.4949 GB, free: 4.926 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001417/0.1518, allocations: 499.3 kB / 0.4954 GB, free: 4.48 MB / 382.1 MB Notification: Performance of SimCode: time 0.0006858/0.1525, allocations: 0.6867 MB / 0.4961 GB, free: 3.746 MB / 382.1 MB Notification: Performance of Templates: time 0.004881/0.1574, allocations: 1.765 MB / 0.4978 GB, free: 1.988 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches