Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,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.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,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.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 100.8 kB / 17.08 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.001068/0.001068, allocations: 199.3 kB / 18.02 MB, free: 5.07 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.357/1.357, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.205/0.205, allocations: 43.51 MB / 314.8 MB, free: 460 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.001418/0.001418, allocations: 63.91 kB / 442.6 MB, free: 5.594 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1144, allocations: 57.78 MB / 0.4886 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003238/0.1177, allocations: 1.698 MB / 0.4903 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001485/0.1192, allocations: 0.8015 MB / 0.4911 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.512e-05/0.1193, allocations: 3.938 kB / 0.4911 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003376/0.1197, allocations: 51.8 kB / 0.4911 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002709/0.12, allocations: 63.7 kB / 0.4912 GB, free: 9.094 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003241/0.1203, allocations: 95.69 kB / 0.4913 GB, free: 9 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001988/0.1206, allocations: 95.69 kB / 0.4913 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.464e-05/0.1207, allocations: 12.22 kB / 0.4914 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.1208, allocations: 43.78 kB / 0.4914 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.941e-05/0.1209, allocations: 31.84 kB / 0.4914 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/0.1209, allocations: 4 kB / 0.4914 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001397/0.121, allocations: 40 kB / 0.4915 GB, free: 8.777 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.822e-05/0.1211, allocations: 43.77 kB / 0.4915 GB, free: 8.734 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.882e-05/0.1212, allocations: 39.69 kB / 0.4916 GB, free: 8.695 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002399/0.1215, allocations: 123.6 kB / 0.4917 GB, free: 8.574 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1215, allocations: 0 / 0.4917 GB, free: 8.574 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1215, allocations: 0 / 0.4917 GB, free: 8.574 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.367e-06/0.1215, allocations: 0 / 0.4917 GB, free: 8.574 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.0005732/0.1221, allocations: 438.7 kB / 0.4921 GB, free: 8.098 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.1221, allocations: 15.89 kB / 0.4921 GB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.278e-05/0.1222, allocations: 16.83 kB / 0.4921 GB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003473/0.1225, allocations: 219.7 kB / 0.4923 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.1225, allocations: 4.375 kB / 0.4923 GB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.543e-05/0.1226, allocations: 8.125 kB / 0.4923 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.1227, allocations: 49.67 kB / 0.4924 GB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.1228, allocations: 7.906 kB / 0.4924 GB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.1228, allocations: 4 kB / 0.4924 GB, free: 7.734 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.1228, allocations: 0 / 0.4924 GB, free: 7.734 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.409e-05/0.1229, allocations: 23.98 kB / 0.4924 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003687/0.1232, allocations: 296.8 kB / 0.4927 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.1234, allocations: 58.61 kB / 0.4928 GB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.183e-05/0.1235, allocations: 16.86 kB / 0.4928 GB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.1235, allocations: 4 kB / 0.4928 GB, free: 7.281 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001424/0.1237, allocations: 71.33 kB / 0.4929 GB, free: 7.199 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.883e-06/0.1237, allocations: 0 / 0.4929 GB, free: 7.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005259/0.1242, allocations: 185.1 kB / 0.493 GB, free: 7.012 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.1242, allocations: 51.41 kB / 0.4931 GB, free: 6.949 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002395/0.1245, allocations: 258.5 kB / 0.4933 GB, free: 6.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.1245, allocations: 25.7 kB / 0.4933 GB, free: 6.648 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.439e-05/0.1246, allocations: 120 kB / 0.4935 GB, free: 6.527 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.1246, allocations: 23.73 kB / 0.4935 GB, free: 6.504 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.805e-05/0.1247, allocations: 29.66 kB / 0.4935 GB, free: 6.469 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.1248, allocations: 330.8 kB / 0.4938 GB, free: 6.137 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.97e-05/0.1248, allocations: 20 kB / 0.4938 GB, free: 6.117 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.579e-05/0.1249, allocations: 38.02 kB / 0.4939 GB, free: 6.074 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.125, allocations: 61.7 kB / 0.4939 GB, free: 6.008 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-06/0.1251, allocations: 0 / 0.4939 GB, free: 6.008 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000192/0.1253, allocations: 105.4 kB / 0.494 GB, free: 5.898 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.1253, allocations: 8 kB / 0.4941 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1253, allocations: 0 / 0.4941 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.1253, allocations: 0 / 0.4941 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.877e-05/0.1254, allocations: 15.98 kB / 0.4941 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.1254, allocations: 7.938 kB / 0.4941 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.804e-05/0.1255, allocations: 4 kB / 0.4941 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.1255, allocations: 11.97 kB / 0.4941 GB, free: 5.852 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.0001108/0.1256, allocations: 141.6 kB / 0.4942 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/0.1256, allocations: 15.8 kB / 0.4942 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.321e-05/0.1257, allocations: 17.41 kB / 0.4943 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.1257, allocations: 0 / 0.4943 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1257, allocations: 0 / 0.4943 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.529e-05/0.1257, allocations: 92.91 kB / 0.4943 GB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.67e-05/0.1258, allocations: 7.938 kB / 0.4944 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.334e-05/0.1258, allocations: 8 kB / 0.4944 GB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.352e-05/0.1259, allocations: 7.984 kB / 0.4944 GB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000206/0.1261, allocations: 172.9 kB / 0.4945 GB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002415/0.1263, allocations: 274.8 kB / 0.4948 GB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.374e-05/0.1264, allocations: 32.03 kB / 0.4948 GB, free: 5.047 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001541/0.1266, allocations: 200.5 kB / 0.495 GB, free: 4.852 MB / 382.1 MB Notification: Performance of Backend: time 1.523e-06/0.1266, allocations: 4 kB / 0.495 GB, free: 4.848 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001371/0.128, allocations: 498.1 kB / 0.4955 GB, free: 4.406 MB / 382.1 MB Notification: Performance of SimCode: time 0.0006896/0.1287, allocations: 0.7215 MB / 0.4962 GB, free: 3.641 MB / 382.1 MB Notification: Performance of Templates: time 0.00474/0.1334, allocations: 1.805 MB / 0.498 GB, free: 1.84 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches