Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001325, allocations: 115.4 kB / 17.09 MB, free: 5.957 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.001401/0.001401, allocations: 198 kB / 18.03 MB, free: 5.035 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.324/1.324, allocations: 205.1 MB / 223.9 MB, free: 12.22 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.2028/0.2028, allocations: 43.53 MB / 314.8 MB, free: 452 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.001471/0.001471, allocations: 81.39 kB / 442.6 MB, free: 5.578 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09327/0.09476, allocations: 57.78 MB / 0.4886 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003077/0.09786, allocations: 1.838 MB / 0.4904 GB, free: 9.867 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001466/0.09935, allocations: 0.9064 MB / 0.4913 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.09947, allocations: 0 / 0.4913 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005211/0.1, allocations: 259.4 kB / 0.4916 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003951/0.1004, allocations: 187.4 kB / 0.4917 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003949/0.1008, allocations: 139.7 kB / 0.4919 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003033/0.1011, allocations: 243.3 kB / 0.4921 GB, free: 8.141 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.725e-05/0.1013, allocations: 29.53 kB / 0.4921 GB, free: 8.113 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001811/0.1014, allocations: 127.5 kB / 0.4922 GB, free: 7.988 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002039/0.1017, allocations: 175.5 kB / 0.4924 GB, free: 7.816 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.936e-05/0.1017, allocations: 8 kB / 0.4924 GB, free: 7.809 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.1018, allocations: 47.98 kB / 0.4925 GB, free: 7.762 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.028e-05/0.1019, allocations: 63.7 kB / 0.4925 GB, free: 7.699 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.892e-05/0.102, allocations: 91.28 kB / 0.4926 GB, free: 7.609 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003059/0.1023, allocations: 222.9 kB / 0.4928 GB, free: 7.391 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.1024, allocations: 0 / 0.4928 GB, free: 7.391 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.61e-07/0.1024, allocations: 0 / 0.4928 GB, free: 7.391 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.624e-05/0.1024, allocations: 0 / 0.4928 GB, free: 7.391 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007169/0.1031, allocations: 0.5716 MB / 0.4934 GB, free: 6.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.1032, allocations: 11.89 kB / 0.4934 GB, free: 6.758 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.496e-05/0.1032, allocations: 36.75 kB / 0.4934 GB, free: 6.723 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000355/0.1036, allocations: 284.3 kB / 0.4937 GB, free: 6.406 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.1036, allocations: 4.375 kB / 0.4937 GB, free: 6.402 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/0.1036, allocations: 12.12 kB / 0.4937 GB, free: 6.391 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002144/0.1039, allocations: 95.23 kB / 0.4938 GB, free: 6.285 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.1039, allocations: 8 kB / 0.4938 GB, free: 6.277 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.1039, allocations: 3.984 kB / 0.4938 GB, free: 6.273 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.1039, allocations: 0 / 0.4938 GB, free: 6.273 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000118/0.104, allocations: 35.98 kB / 0.4939 GB, free: 6.238 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005108/0.1046, allocations: 460.9 kB / 0.4943 GB, free: 5.734 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002793/0.1049, allocations: 117.3 kB / 0.4944 GB, free: 5.602 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.067e-05/0.105, allocations: 37.7 kB / 0.4944 GB, free: 5.559 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.105, allocations: 8 kB / 0.4945 GB, free: 5.551 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002152/0.1052, allocations: 121 kB / 0.4946 GB, free: 5.414 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.714e-06/0.1052, allocations: 0 / 0.4946 GB, free: 5.414 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009054/0.1061, allocations: 388.5 kB / 0.4949 GB, free: 5.027 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.1062, allocations: 77.11 kB / 0.495 GB, free: 4.934 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004429/0.1066, allocations: 485.6 kB / 0.4955 GB, free: 4.449 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.1067, allocations: 33.69 kB / 0.4955 GB, free: 4.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.1068, allocations: 160.3 kB / 0.4957 GB, free: 4.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.58e-05/0.1068, allocations: 55.58 kB / 0.4957 GB, free: 4.195 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.816e-05/0.1069, allocations: 33.72 kB / 0.4957 GB, free: 4.156 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.107, allocations: 346.8 kB / 0.4961 GB, free: 3.809 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.1072, allocations: 43.92 kB / 0.4961 GB, free: 3.766 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.1073, allocations: 71.41 kB / 0.4962 GB, free: 3.684 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002139/0.1075, allocations: 127.4 kB / 0.4963 GB, free: 3.547 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1075, allocations: 0 / 0.4963 GB, free: 3.547 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000319/0.1078, allocations: 185.4 kB / 0.4965 GB, free: 3.359 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.1079, allocations: 7.984 kB / 0.4965 GB, free: 3.352 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.1079, allocations: 4 kB / 0.4965 GB, free: 3.348 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.1079, allocations: 0 / 0.4965 GB, free: 3.348 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.108, allocations: 39.98 kB / 0.4965 GB, free: 3.309 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.108, allocations: 3.938 kB / 0.4965 GB, free: 3.305 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.374e-05/0.1081, allocations: 8 kB / 0.4965 GB, free: 3.297 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.1082, allocations: 4 kB / 0.4965 GB, free: 3.293 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001452/0.1083, allocations: 169.8 kB / 0.4967 GB, free: 3.117 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.272e-05/0.1084, allocations: 31.8 kB / 0.4967 GB, free: 3.086 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.16e-05/0.1084, allocations: 42.81 kB / 0.4968 GB, free: 3.043 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.1084, allocations: 0 / 0.4968 GB, free: 3.043 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1085, allocations: 3.938 kB / 0.4968 GB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.02e-05/0.1085, allocations: 108.9 kB / 0.4969 GB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.889e-05/0.1086, allocations: 7.969 kB / 0.4969 GB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.448e-05/0.1087, allocations: 8 kB / 0.4969 GB, free: 2.898 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.352e-05/0.1087, allocations: 11.98 kB / 0.4969 GB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003926/0.1091, allocations: 329 kB / 0.4972 GB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004105/0.1095, allocations: 441.5 kB / 0.4977 GB, free: 2.113 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001162/0.1096, allocations: 55.97 kB / 0.4977 GB, free: 2.059 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003416/0.11, allocations: 359.1 kB / 0.498 GB, free: 1.711 MB / 382.1 MB Notification: Performance of Backend: time 3.8e-07/0.11, allocations: 0 / 0.498 GB, free: 1.711 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001665/0.1117, allocations: 0.5571 MB / 0.4986 GB, free: 1.195 MB / 382.1 MB Notification: Performance of SimCode: time 0.001048/0.1127, allocations: 0.932 MB / 0.4995 GB, free: 220 kB / 382.1 MB Notification: Performance of Templates: time 0.006536/0.1193, allocations: 2.834 MB / 0.5023 GB, free: 13.39 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches