Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,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.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,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.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.00114, allocations: 111.9 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.001176/0.001176, allocations: 198.1 kB / 18.02 MB, free: 5.066 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.245/1.245, 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.2019/0.2019, allocations: 43.53 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.00142/0.00142, allocations: 77.45 kB / 442.6 MB, free: 5.586 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09937/0.1008, allocations: 57.78 MB / 0.4886 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002995/0.1038, allocations: 1.706 MB / 0.4903 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.1051, allocations: 0.7937 MB / 0.4911 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.661e-05/0.1052, allocations: 7.938 kB / 0.4911 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003457/0.1056, allocations: 83.75 kB / 0.4911 GB, free: 9.121 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002268/0.1058, allocations: 79.66 kB / 0.4912 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002517/0.1061, allocations: 83.77 kB / 0.4913 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.1063, allocations: 111.7 kB / 0.4914 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.188e-05/0.1064, allocations: 12.22 kB / 0.4914 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.1065, allocations: 55.75 kB / 0.4915 GB, free: 8.785 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.717e-05/0.1066, allocations: 51.83 kB / 0.4915 GB, free: 8.734 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.1066, allocations: 4 kB / 0.4915 GB, free: 8.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.891e-05/0.1068, allocations: 43.98 kB / 0.4916 GB, free: 8.688 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.261e-05/0.1068, allocations: 27.86 kB / 0.4916 GB, free: 8.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.297e-05/0.1069, allocations: 43.72 kB / 0.4916 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001811/0.1071, allocations: 111.6 kB / 0.4917 GB, free: 8.508 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1071, allocations: 4 kB / 0.4917 GB, free: 8.504 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1071, allocations: 0 / 0.4917 GB, free: 8.504 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.513e-06/0.1071, allocations: 0 / 0.4917 GB, free: 8.504 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.0004714/0.1076, allocations: 418.9 kB / 0.4921 GB, free: 8.047 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.1076, allocations: 15.89 kB / 0.4922 GB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.026e-05/0.1077, allocations: 12.75 kB / 0.4922 GB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.1079, allocations: 212.5 kB / 0.4924 GB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.108, allocations: 4.375 kB / 0.4924 GB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.108, allocations: 12.12 kB / 0.4924 GB, free: 7.758 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.1081, allocations: 53.67 kB / 0.4924 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.1082, allocations: 3.938 kB / 0.4924 GB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.1082, allocations: 0 / 0.4924 GB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.1082, allocations: 4 kB / 0.4924 GB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.914e-05/0.1083, allocations: 19.97 kB / 0.4925 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003212/0.1086, allocations: 292.7 kB / 0.4927 GB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.1088, allocations: 66.61 kB / 0.4928 GB, free: 7.262 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.831e-05/0.1088, allocations: 16.86 kB / 0.4928 GB, free: 7.242 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.1088, allocations: 3.984 kB / 0.4928 GB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001316/0.109, allocations: 71.38 kB / 0.4929 GB, free: 7.156 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.109, allocations: 0 / 0.4929 GB, free: 7.156 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004879/0.1095, allocations: 173.2 kB / 0.4931 GB, free: 6.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.1095, allocations: 51.41 kB / 0.4931 GB, free: 6.918 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.1097, allocations: 215.1 kB / 0.4933 GB, free: 6.699 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.1097, allocations: 33.7 kB / 0.4933 GB, free: 6.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.742e-05/0.1098, allocations: 100.1 kB / 0.4934 GB, free: 6.559 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.1098, allocations: 23.66 kB / 0.4935 GB, free: 6.535 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.113e-05/0.1099, allocations: 33.64 kB / 0.4935 GB, free: 6.496 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.11, allocations: 330.8 kB / 0.4938 GB, free: 6.164 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.392e-05/0.11, allocations: 16 kB / 0.4938 GB, free: 6.148 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.754e-05/0.1101, allocations: 37.7 kB / 0.4939 GB, free: 6.105 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.1102, allocations: 53.7 kB / 0.4939 GB, free: 6.047 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1102, allocations: 0 / 0.4939 GB, free: 6.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001901/0.1104, allocations: 113.4 kB / 0.494 GB, free: 5.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.1105, allocations: 8.031 kB / 0.494 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.1105, allocations: 0 / 0.494 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.1105, allocations: 4 kB / 0.494 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.937e-05/0.1106, allocations: 12 kB / 0.494 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.1106, allocations: 3.938 kB / 0.4941 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.714e-05/0.1106, allocations: 7.984 kB / 0.4941 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.1106, allocations: 3.938 kB / 0.4941 GB, free: 5.891 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 9.698e-05/0.1107, allocations: 129.8 kB / 0.4942 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.307e-05/0.1108, allocations: 15.89 kB / 0.4942 GB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.765e-05/0.1108, allocations: 17.59 kB / 0.4942 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.1108, allocations: 0 / 0.4942 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1108, allocations: 3.938 kB / 0.4942 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.835e-05/0.1109, allocations: 88.92 kB / 0.4943 GB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.635e-05/0.1109, allocations: 15.86 kB / 0.4943 GB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.055e-05/0.111, allocations: 4 kB / 0.4943 GB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.008e-05/0.111, allocations: 4 kB / 0.4943 GB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002033/0.1112, allocations: 172.9 kB / 0.4945 GB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002308/0.1115, allocations: 282.9 kB / 0.4948 GB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.291e-05/0.1115, allocations: 27.98 kB / 0.4948 GB, free: 5.086 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001209/0.1117, allocations: 155.2 kB / 0.4949 GB, free: 4.934 MB / 382.1 MB Notification: Performance of Backend: time 4.91e-07/0.1117, allocations: 0 / 0.4949 GB, free: 4.934 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0013/0.113, allocations: 486.7 kB / 0.4954 GB, free: 4.5 MB / 382.1 MB Notification: Performance of SimCode: time 0.0006337/0.1136, allocations: 0.6899 MB / 0.4961 GB, free: 3.766 MB / 382.1 MB Notification: Performance of Templates: time 0.004223/0.1178, allocations: 1.778 MB / 0.4978 GB, free: 1.992 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches