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.001181/0.001181, allocations: 106.7 kB / 17.09 MB, free: 6.008 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.001285/0.001285, allocations: 199.3 kB / 18.02 MB, free: 5.082 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.396/1.396, 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.214/0.214, allocations: 43.53 MB / 314.8 MB, free: 456 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.001536/0.001536, allocations: 67.91 kB / 442.6 MB, free: 5.598 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1025, allocations: 57.79 MB / 0.4886 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003374/0.1059, allocations: 1.838 MB / 0.4904 GB, free: 9.867 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00159/0.1076, allocations: 0.9028 MB / 0.4913 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001274/0.1077, allocations: 3.938 kB / 0.4913 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004552/0.1082, allocations: 259.3 kB / 0.4915 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003584/0.1086, allocations: 187.4 kB / 0.4917 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003944/0.109, allocations: 143.7 kB / 0.4919 GB, free: 8.375 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00033/0.1093, allocations: 247.3 kB / 0.4921 GB, free: 8.133 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.1094, allocations: 21.53 kB / 0.4921 GB, free: 8.113 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002217/0.1096, allocations: 127.5 kB / 0.4922 GB, free: 7.988 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002645/0.1099, allocations: 175.5 kB / 0.4924 GB, free: 7.816 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.258e-05/0.11, allocations: 4 kB / 0.4924 GB, free: 7.812 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.1101, allocations: 47.97 kB / 0.4925 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.581e-05/0.1102, allocations: 63.7 kB / 0.4925 GB, free: 7.703 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.1103, allocations: 91.28 kB / 0.4926 GB, free: 7.613 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000311/0.1106, allocations: 223.3 kB / 0.4928 GB, free: 7.395 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1106, allocations: 0 / 0.4928 GB, free: 7.395 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1106, allocations: 4 kB / 0.4928 GB, free: 7.391 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.1106, 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.0007725/0.1114, allocations: 0.5562 MB / 0.4934 GB, free: 6.785 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.1115, allocations: 11.89 kB / 0.4934 GB, free: 6.773 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.186e-05/0.1115, allocations: 28.56 kB / 0.4934 GB, free: 6.746 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003714/0.1119, allocations: 288 kB / 0.4937 GB, free: 6.426 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.112, allocations: 4.375 kB / 0.4937 GB, free: 6.422 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.112, allocations: 8.125 kB / 0.4937 GB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/0.1122, allocations: 103.3 kB / 0.4938 GB, free: 6.301 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.1122, allocations: 0 / 0.4938 GB, free: 6.301 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.1122, allocations: 3.984 kB / 0.4938 GB, free: 6.297 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.1122, allocations: 4 kB / 0.4938 GB, free: 6.293 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.1124, allocations: 39.97 kB / 0.4938 GB, free: 6.254 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005189/0.1129, allocations: 456.8 kB / 0.4943 GB, free: 5.754 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002625/0.1132, allocations: 117.3 kB / 0.4944 GB, free: 5.621 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.615e-05/0.1133, allocations: 45.7 kB / 0.4944 GB, free: 5.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.1133, allocations: 0 / 0.4944 GB, free: 5.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002075/0.1135, allocations: 116.9 kB / 0.4945 GB, free: 5.438 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.453e-06/0.1135, allocations: 0 / 0.4945 GB, free: 5.438 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008583/0.1144, allocations: 376.3 kB / 0.4949 GB, free: 5.062 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.1144, allocations: 85.11 kB / 0.495 GB, free: 4.961 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004206/0.1149, allocations: 481.6 kB / 0.4954 GB, free: 4.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.1149, allocations: 29.7 kB / 0.4955 GB, free: 4.445 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.115, allocations: 164.3 kB / 0.4956 GB, free: 4.281 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.813e-05/0.1151, allocations: 55.36 kB / 0.4957 GB, free: 4.227 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.95e-05/0.1151, allocations: 29.72 kB / 0.4957 GB, free: 4.191 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.1152, allocations: 346.8 kB / 0.496 GB, free: 3.844 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/0.1154, allocations: 43.98 kB / 0.4961 GB, free: 3.801 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.1155, allocations: 74.91 kB / 0.4961 GB, free: 3.719 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.1157, allocations: 119.4 kB / 0.4963 GB, free: 3.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1157, allocations: 0 / 0.4963 GB, free: 3.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003755/0.1161, allocations: 197.3 kB / 0.4965 GB, free: 3.391 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.1161, allocations: 4 kB / 0.4965 GB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1161, allocations: 80 / 0.4965 GB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.1161, allocations: 4 kB / 0.4965 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.1163, allocations: 31.98 kB / 0.4965 GB, free: 3.352 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.468e-05/0.1163, allocations: 19.84 kB / 0.4965 GB, free: 3.332 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.757e-05/0.1164, allocations: 4 kB / 0.4965 GB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.1164, allocations: 4 kB / 0.4965 GB, free: 3.324 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.0001382/0.1165, allocations: 169.8 kB / 0.4967 GB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.928e-05/0.1166, allocations: 31.62 kB / 0.4967 GB, free: 3.117 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.346e-05/0.1167, allocations: 42.8 kB / 0.4967 GB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1167, allocations: 0 / 0.4967 GB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.1167, allocations: 4 kB / 0.4968 GB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.871e-05/0.1167, allocations: 96.77 kB / 0.4968 GB, free: 2.957 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.69e-05/0.1168, allocations: 8 kB / 0.4969 GB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.137e-05/0.1169, allocations: 7.984 kB / 0.4969 GB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.454e-05/0.1169, allocations: 23.86 kB / 0.4969 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003544/0.1173, allocations: 316.2 kB / 0.4972 GB, free: 2.602 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003901/0.1177, allocations: 445.1 kB / 0.4976 GB, free: 2.152 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001041/0.1178, allocations: 51.97 kB / 0.4977 GB, free: 2.102 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003198/0.1181, allocations: 363.1 kB / 0.498 GB, free: 1.75 MB / 382.1 MB Notification: Performance of Backend: time 1.8e-07/0.1181, allocations: 0 / 0.498 GB, free: 1.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001515/0.1196, allocations: 0.5414 MB / 0.4985 GB, free: 1.25 MB / 382.1 MB Notification: Performance of SimCode: time 0.001033/0.1207, allocations: 0.9443 MB / 0.4995 GB, free: 264 kB / 382.1 MB Notification: Performance of Templates: time 0.006665/0.1274, allocations: 2.889 MB / 0.5023 GB, free: 13.38 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