Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 112.7 kB / 17.09 MB, free: 5.984 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.001187/0.001187, allocations: 199.3 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.35/1.35, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.201/0.201, allocations: 43.52 MB / 314.8 MB, free: 468 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.001412/0.001412, allocations: 77.39 kB / 442.6 MB, free: 5.605 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09952/0.1009, allocations: 57.78 MB / 0.4886 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002979/0.104, allocations: 1.788 MB / 0.4903 GB, free: 9.945 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00227/0.1063, allocations: 1.486 MB / 0.4918 GB, free: 8.449 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.1064, allocations: 0 / 0.4918 GB, free: 8.449 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000356/0.1068, allocations: 59.69 kB / 0.4919 GB, free: 8.391 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003033/0.1071, allocations: 91.53 kB / 0.4919 GB, free: 8.301 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000378/0.1075, allocations: 135.7 kB / 0.4921 GB, free: 8.168 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002559/0.1078, allocations: 183.4 kB / 0.4922 GB, free: 7.988 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.073e-05/0.1078, allocations: 21.53 kB / 0.4923 GB, free: 7.969 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.108, allocations: 79.56 kB / 0.4923 GB, free: 7.891 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001908/0.1082, allocations: 71.69 kB / 0.4924 GB, free: 7.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.918e-05/0.1082, allocations: 8 kB / 0.4924 GB, free: 7.812 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001479/0.1084, allocations: 71.89 kB / 0.4925 GB, free: 7.742 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.639e-05/0.1084, allocations: 23.92 kB / 0.4925 GB, free: 7.719 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.917e-05/0.1085, allocations: 59.59 kB / 0.4926 GB, free: 7.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002565/0.1088, allocations: 167.5 kB / 0.4927 GB, free: 7.496 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.1088, allocations: 0 / 0.4927 GB, free: 7.496 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.1088, allocations: 0 / 0.4927 GB, free: 7.496 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.1088, allocations: 7.938 kB / 0.4927 GB, free: 7.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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005761/0.1094, allocations: 466.6 kB / 0.4932 GB, free: 6.984 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.1094, allocations: 15.89 kB / 0.4932 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.725e-05/0.1095, allocations: 12.75 kB / 0.4932 GB, free: 6.957 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003197/0.1098, allocations: 243.7 kB / 0.4934 GB, free: 6.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.1098, allocations: 384 / 0.4934 GB, free: 6.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.1099, allocations: 12.12 kB / 0.4935 GB, free: 6.668 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002287/0.1101, allocations: 109 kB / 0.4936 GB, free: 6.543 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.1101, allocations: 0 / 0.4936 GB, free: 6.543 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.1101, allocations: 0 / 0.4936 GB, free: 6.543 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1101, allocations: 0 / 0.4936 GB, free: 6.543 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.1103, allocations: 35.91 kB / 0.4936 GB, free: 6.508 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002239/0.1105, allocations: 206.6 kB / 0.4938 GB, free: 6.254 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002723/0.1108, allocations: 105.2 kB / 0.4939 GB, free: 6.133 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.41e-05/0.1109, allocations: 41.64 kB / 0.4939 GB, free: 6.086 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.1109, allocations: 11.88 kB / 0.4939 GB, free: 6.074 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000219/0.1111, allocations: 113 kB / 0.494 GB, free: 5.945 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.814e-06/0.1111, allocations: 0 / 0.494 GB, free: 5.945 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004239/0.1116, allocations: 165.8 kB / 0.4942 GB, free: 5.777 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.177e-05/0.1117, allocations: 132.5 kB / 0.4943 GB, free: 5.617 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002382/0.1119, allocations: 219.7 kB / 0.4945 GB, free: 5.387 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.1119, allocations: 29.7 kB / 0.4946 GB, free: 5.352 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.818e-05/0.112, allocations: 108.1 kB / 0.4947 GB, free: 5.242 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.957e-05/0.112, allocations: 31.64 kB / 0.4947 GB, free: 5.211 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.426e-05/0.1121, allocations: 25.72 kB / 0.4947 GB, free: 5.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.1122, allocations: 330.8 kB / 0.495 GB, free: 4.848 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.571e-05/0.1123, allocations: 35.92 kB / 0.4951 GB, free: 4.812 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.1124, allocations: 69.14 kB / 0.4951 GB, free: 4.727 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.1126, allocations: 91.34 kB / 0.4952 GB, free: 4.625 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1126, allocations: 0 / 0.4952 GB, free: 4.625 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002585/0.1129, allocations: 137.4 kB / 0.4954 GB, free: 4.484 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.1129, allocations: 4 kB / 0.4954 GB, free: 4.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.1129, allocations: 0 / 0.4954 GB, free: 4.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.1129, allocations: 4 kB / 0.4954 GB, free: 4.477 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.113, allocations: 23.92 kB / 0.4954 GB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.113, allocations: 4 kB / 0.4954 GB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.158e-05/0.1131, allocations: 15.89 kB / 0.4954 GB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.1131, allocations: 4 kB / 0.4954 GB, free: 4.43 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001099/0.1133, allocations: 129.9 kB / 0.4955 GB, free: 4.293 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.922e-05/0.1133, allocations: 27.72 kB / 0.4956 GB, free: 4.266 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.294e-05/0.1133, allocations: 17 kB / 0.4956 GB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1134, allocations: 0 / 0.4956 GB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1134, allocations: 256 / 0.4956 GB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.668e-05/0.1134, allocations: 100.8 kB / 0.4957 GB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.126e-05/0.1135, allocations: 4 kB / 0.4957 GB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.735e-05/0.1135, allocations: 8 kB / 0.4957 GB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.1136, allocations: 11.92 kB / 0.4957 GB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003214/0.1139, allocations: 292.1 kB / 0.496 GB, free: 3.812 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003391/0.1143, allocations: 385.8 kB / 0.4963 GB, free: 3.418 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.75e-05/0.1143, allocations: 35.98 kB / 0.4964 GB, free: 3.383 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000143/0.1145, allocations: 169.4 kB / 0.4965 GB, free: 3.219 MB / 382.1 MB Notification: Performance of Backend: time 3.5e-07/0.1145, allocations: 7.938 kB / 0.4965 GB, free: 3.211 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001548/0.1161, allocations: 0.5182 MB / 0.4971 GB, free: 2.73 MB / 382.1 MB Notification: Performance of SimCode: time 0.0007511/0.1168, allocations: 0.7375 MB / 0.4978 GB, free: 1.945 MB / 382.1 MB Notification: Performance of Templates: time 0.005824/0.1227, allocations: 2.924 MB / 0.5006 GB, free: 15.03 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches