Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,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.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,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.Test52") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001402/0.001403, allocations: 114 kB / 17.09 MB, free: 5.965 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.001174/0.001175, allocations: 194.1 kB / 18.02 MB, free: 5.047 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.394/1.394, allocations: 205.1 MB / 223.9 MB, free: 12.26 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.1988/0.1988, allocations: 43.54 MB / 314.8 MB, free: 440 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.001502/0.001502, allocations: 73.47 kB / 442.6 MB, free: 5.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1082, allocations: 57.79 MB / 0.4886 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003329/0.1116, allocations: 1.683 MB / 0.4903 GB, free: 10 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001324/0.1129, allocations: 0.8131 MB / 0.4911 GB, free: 9.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.82e-05/0.113, allocations: 0 / 0.4911 GB, free: 9.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003139/0.1133, allocations: 47.75 kB / 0.4911 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002312/0.1136, allocations: 55.77 kB / 0.4912 GB, free: 9.078 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002785/0.1139, allocations: 95.75 kB / 0.4913 GB, free: 8.984 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001658/0.1141, allocations: 87.7 kB / 0.4913 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.956e-05/0.1142, allocations: 24.19 kB / 0.4914 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.441e-05/0.1143, allocations: 39.8 kB / 0.4914 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.694e-05/0.1144, allocations: 31.78 kB / 0.4914 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.1144, allocations: 4 kB / 0.4914 GB, free: 8.801 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.1145, allocations: 47.98 kB / 0.4915 GB, free: 8.754 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.228e-05/0.1146, allocations: 27.91 kB / 0.4915 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.068e-05/0.1146, allocations: 39.67 kB / 0.4915 GB, free: 8.688 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001974/0.1148, allocations: 115.7 kB / 0.4917 GB, free: 8.574 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1148, allocations: 0 / 0.4917 GB, free: 8.574 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.1149, allocations: 0 / 0.4917 GB, free: 8.574 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.1149, 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.0005062/0.1154, allocations: 434.7 kB / 0.4921 GB, free: 8.102 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.1154, allocations: 15.89 kB / 0.4921 GB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.123e-05/0.1155, allocations: 12.84 kB / 0.4921 GB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002536/0.1157, allocations: 212 kB / 0.4923 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.1158, allocations: 4.375 kB / 0.4923 GB, free: 7.824 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.1158, allocations: 8.125 kB / 0.4923 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.1159, allocations: 53.67 kB / 0.4924 GB, free: 7.758 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.1159, allocations: 0 / 0.4924 GB, free: 7.758 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/0.116, allocations: 0 / 0.4924 GB, free: 7.758 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.116, allocations: 4 kB / 0.4924 GB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.266e-05/0.116, allocations: 19.92 kB / 0.4924 GB, free: 7.734 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000343/0.1164, allocations: 296.9 kB / 0.4927 GB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/0.1166, allocations: 54.69 kB / 0.4927 GB, free: 7.332 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.154e-05/0.1166, allocations: 20.84 kB / 0.4927 GB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.1166, allocations: 0 / 0.4927 GB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001404/0.1168, allocations: 75.33 kB / 0.4928 GB, free: 7.223 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.1168, allocations: 0 / 0.4928 GB, free: 7.223 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005108/0.1173, allocations: 173.1 kB / 0.493 GB, free: 7.047 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.1174, allocations: 59.41 kB / 0.493 GB, free: 6.977 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.1176, allocations: 222.7 kB / 0.4932 GB, free: 6.746 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.1176, allocations: 25.7 kB / 0.4933 GB, free: 6.715 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.646e-05/0.1177, allocations: 116 kB / 0.4934 GB, free: 6.598 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.576e-05/0.1177, allocations: 27.7 kB / 0.4934 GB, free: 6.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.676e-05/0.1177, allocations: 25.7 kB / 0.4934 GB, free: 6.539 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.1178, allocations: 326.8 kB / 0.4937 GB, free: 6.211 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.698e-05/0.1179, allocations: 20 kB / 0.4938 GB, free: 6.191 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.939e-05/0.118, allocations: 33.7 kB / 0.4938 GB, free: 6.152 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001071/0.1181, allocations: 65.64 kB / 0.4939 GB, free: 6.082 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1181, allocations: 3.938 kB / 0.4939 GB, free: 6.078 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001872/0.1183, allocations: 109.5 kB / 0.494 GB, free: 5.965 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.1183, allocations: 4 kB / 0.494 GB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.1183, allocations: 3.938 kB / 0.494 GB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.1183, allocations: 0 / 0.494 GB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.408e-05/0.1184, allocations: 16 kB / 0.494 GB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.1184, allocations: 0 / 0.494 GB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.832e-05/0.1185, allocations: 3.984 kB / 0.494 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.1185, allocations: 7.938 kB / 0.494 GB, free: 5.93 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.492e-05/0.1186, allocations: 133.8 kB / 0.4941 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.448e-05/0.1187, allocations: 15.89 kB / 0.4941 GB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.936e-05/0.1187, allocations: 13.41 kB / 0.4942 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-06/0.1187, allocations: 0 / 0.4942 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1187, allocations: 0 / 0.4942 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.595e-05/0.1188, allocations: 92.91 kB / 0.4942 GB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.365e-05/0.1188, allocations: 7.938 kB / 0.4942 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.969e-05/0.1188, allocations: 4 kB / 0.4943 GB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.181e-05/0.1189, allocations: 15.92 kB / 0.4943 GB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002082/0.1191, allocations: 177.3 kB / 0.4944 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002326/0.1193, allocations: 274.6 kB / 0.4947 GB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.142e-05/0.1194, allocations: 23.98 kB / 0.4947 GB, free: 5.129 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001273/0.1195, allocations: 175.2 kB / 0.4949 GB, free: 4.957 MB / 382.1 MB Notification: Performance of Backend: time 2.71e-07/0.1196, allocations: 0 / 0.4949 GB, free: 4.957 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00132/0.1209, allocations: 499.4 kB / 0.4954 GB, free: 4.512 MB / 382.1 MB Notification: Performance of SimCode: time 0.0006349/0.1215, allocations: 0.6983 MB / 0.496 GB, free: 3.766 MB / 382.1 MB Notification: Performance of Templates: time 0.004376/0.1259, allocations: 1.783 MB / 0.4978 GB, free: 1.988 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches