Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 101.9 kB / 17.08 MB, free: 5.82 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.001042/0.001043, allocations: 195.3 kB / 18.02 MB, free: 4.965 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.311/1.311, 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.2183/0.2183, allocations: 43.53 MB / 314.8 MB, free: 476 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.001582/0.001582, allocations: 75.89 kB / 442.6 MB, free: 5.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1081, allocations: 57.79 MB / 0.4886 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.003196/0.1113, allocations: 1.691 MB / 0.4903 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001384/0.1128, allocations: 0.8053 MB / 0.4911 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.6e-05/0.1129, allocations: 4 kB / 0.4911 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002834/0.1132, allocations: 35.83 kB / 0.4911 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002376/0.1134, allocations: 59.7 kB / 0.4912 GB, free: 9.129 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002742/0.1137, allocations: 83.75 kB / 0.4912 GB, free: 9.047 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001775/0.1139, allocations: 91.7 kB / 0.4913 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.114, allocations: 20.2 kB / 0.4913 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.1141, allocations: 43.78 kB / 0.4914 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.925e-05/0.1142, allocations: 23.86 kB / 0.4914 GB, free: 8.871 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.1142, allocations: 4 kB / 0.4914 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.1143, allocations: 47.92 kB / 0.4915 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.526e-05/0.1144, allocations: 27.91 kB / 0.4915 GB, free: 8.793 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.484e-05/0.1145, allocations: 35.73 kB / 0.4915 GB, free: 8.758 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002161/0.1147, allocations: 103.7 kB / 0.4916 GB, free: 8.656 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.1147, allocations: 8 kB / 0.4916 GB, free: 8.648 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1147, allocations: 0 / 0.4916 GB, free: 8.648 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.1147, allocations: 0 / 0.4916 GB, free: 8.648 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.0005224/0.1153, allocations: 410.4 kB / 0.492 GB, free: 8.203 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.1153, allocations: 11.89 kB / 0.492 GB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.463e-05/0.1154, allocations: 12.84 kB / 0.492 GB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.1156, allocations: 215.9 kB / 0.4922 GB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.1156, allocations: 4.375 kB / 0.4922 GB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.1157, allocations: 4.125 kB / 0.4923 GB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.1158, allocations: 57.67 kB / 0.4923 GB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.1159, allocations: 4 kB / 0.4923 GB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.1159, allocations: 0 / 0.4923 GB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.1159, allocations: 0 / 0.4923 GB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.764e-05/0.116, allocations: 19.98 kB / 0.4923 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003686/0.1163, allocations: 288.8 kB / 0.4926 GB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.1165, allocations: 66.66 kB / 0.4927 GB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.421e-05/0.1166, allocations: 20.84 kB / 0.4927 GB, free: 7.406 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.1166, allocations: 0 / 0.4927 GB, free: 7.406 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001473/0.1168, allocations: 75.3 kB / 0.4928 GB, free: 7.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.1168, allocations: 3.938 kB / 0.4928 GB, free: 7.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005342/0.1173, allocations: 169.3 kB / 0.4929 GB, free: 7.145 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.1174, allocations: 59.34 kB / 0.493 GB, free: 7.074 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.1176, allocations: 182.1 kB / 0.4932 GB, free: 6.887 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.729e-05/0.1176, allocations: 33.7 kB / 0.4932 GB, free: 6.848 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.949e-05/0.1177, allocations: 100.1 kB / 0.4933 GB, free: 6.746 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.451e-05/0.1177, allocations: 27.64 kB / 0.4933 GB, free: 6.719 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.19e-05/0.1178, allocations: 21.72 kB / 0.4933 GB, free: 6.691 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.1179, allocations: 322.8 kB / 0.4936 GB, free: 6.367 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.902e-05/0.118, allocations: 27.98 kB / 0.4937 GB, free: 6.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.826e-05/0.118, allocations: 37.7 kB / 0.4937 GB, free: 6.297 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.1182, allocations: 61.77 kB / 0.4938 GB, free: 6.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1182, allocations: 0 / 0.4938 GB, free: 6.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002004/0.1184, allocations: 97.52 kB / 0.4939 GB, free: 6.129 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.1184, allocations: 8 kB / 0.4939 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1184, allocations: 4.031 kB / 0.4939 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.1184, allocations: 0 / 0.4939 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.201e-05/0.1185, allocations: 19.92 kB / 0.4939 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.1185, allocations: 4 kB / 0.4939 GB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.873e-05/0.1186, allocations: 4 kB / 0.4939 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.1186, allocations: 7.938 kB / 0.4939 GB, free: 6.082 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.056e-05/0.1187, allocations: 125.8 kB / 0.494 GB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.699e-05/0.1187, allocations: 15.81 kB / 0.494 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.91e-05/0.1188, allocations: 16.66 kB / 0.494 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1188, allocations: 4 kB / 0.4941 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1188, allocations: 0 / 0.4941 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.178e-05/0.1189, allocations: 93 kB / 0.4941 GB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.1189, allocations: 3.938 kB / 0.4941 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.93e-05/0.1189, allocations: 0 / 0.4941 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.423e-05/0.119, allocations: 7.984 kB / 0.4942 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002142/0.1192, allocations: 176.9 kB / 0.4943 GB, free: 5.609 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000241/0.1194, allocations: 274.7 kB / 0.4946 GB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.142e-05/0.1195, allocations: 23.98 kB / 0.4946 GB, free: 5.301 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001135/0.1196, allocations: 148 kB / 0.4947 GB, free: 5.156 MB / 382.1 MB Notification: Performance of Backend: time 5.21e-07/0.1196, allocations: 0 / 0.4947 GB, free: 5.156 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001374/0.121, allocations: 489.1 kB / 0.4952 GB, free: 4.723 MB / 382.1 MB Notification: Performance of SimCode: time 0.0006476/0.1217, allocations: 0.6706 MB / 0.4959 GB, free: 4.004 MB / 382.1 MB Notification: Performance of Templates: time 0.004414/0.1261, allocations: 1.778 MB / 0.4976 GB, free: 2.23 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches