Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.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.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 106.4 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.001486/0.001487, allocations: 194.2 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.287/1.287, 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.2157/0.2157, 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.001468/0.001468, allocations: 67.89 kB / 442.5 MB, free: 5.684 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09701/0.09849, allocations: 57.79 MB / 0.4886 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.002867/0.1014, allocations: 1.61 MB / 0.4901 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006432/0.1021, allocations: 349 kB / 0.4905 GB, free: 9.852 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.271e-05/0.1021, allocations: 7.938 kB / 0.4905 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005463/0.1027, allocations: 451.2 kB / 0.4909 GB, free: 9.402 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003166/0.103, allocations: 251.5 kB / 0.4911 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000377/0.1034, allocations: 155.6 kB / 0.4913 GB, free: 9.004 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002224/0.1037, allocations: 163.7 kB / 0.4914 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.853e-05/0.1038, allocations: 31.97 kB / 0.4915 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.1039, allocations: 111.7 kB / 0.4916 GB, free: 8.703 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000239/0.1042, allocations: 211.6 kB / 0.4918 GB, free: 8.496 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.1042, allocations: 8 kB / 0.4918 GB, free: 8.488 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.385e-05/0.1043, allocations: 28 kB / 0.4918 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.994e-05/0.1044, allocations: 87.67 kB / 0.4919 GB, free: 8.375 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.074e-05/0.1045, allocations: 103 kB / 0.492 GB, free: 8.273 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002757/0.1048, allocations: 263 kB / 0.4923 GB, free: 8.016 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1048, allocations: 3.938 kB / 0.4923 GB, free: 8.012 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1048, allocations: 0 / 0.4923 GB, free: 8.012 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.1048, allocations: 0 / 0.4923 GB, free: 8.012 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006543/0.1054, allocations: 0.637 MB / 0.4929 GB, free: 7.328 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.1055, allocations: 15.89 kB / 0.4929 GB, free: 7.312 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.113e-05/0.1056, allocations: 40.38 kB / 0.4929 GB, free: 7.273 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/0.1058, allocations: 296.2 kB / 0.4932 GB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.1058, allocations: 4.375 kB / 0.4932 GB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.1059, allocations: 4.375 kB / 0.4932 GB, free: 6.934 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.106, allocations: 69.72 kB / 0.4933 GB, free: 6.859 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.106, allocations: 0 / 0.4933 GB, free: 6.859 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.1061, allocations: 3.984 kB / 0.4933 GB, free: 6.855 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.1061, allocations: 0 / 0.4933 GB, free: 6.855 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.1062, allocations: 43.97 kB / 0.4933 GB, free: 6.812 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004695/0.1067, allocations: 396.7 kB / 0.4937 GB, free: 6.375 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.1068, allocations: 54.48 kB / 0.4938 GB, free: 6.312 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.974e-05/0.1069, allocations: 28.94 kB / 0.4938 GB, free: 6.281 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.1069, allocations: 0 / 0.4938 GB, free: 6.281 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.107, allocations: 30.56 kB / 0.4938 GB, free: 6.242 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.107, allocations: 0 / 0.4938 GB, free: 6.242 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007549/0.1077, allocations: 307.9 kB / 0.4941 GB, free: 5.934 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/0.1078, allocations: 51.41 kB / 0.4942 GB, free: 5.871 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007318/0.1085, allocations: 0.8496 MB / 0.495 GB, free: 5.008 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.1085, allocations: 33.69 kB / 0.495 GB, free: 4.969 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.1087, allocations: 215.9 kB / 0.4952 GB, free: 4.754 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.593e-05/0.1087, allocations: 23.72 kB / 0.4953 GB, free: 4.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.003e-05/0.1087, allocations: 29.64 kB / 0.4953 GB, free: 4.695 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1089, allocations: 366.7 kB / 0.4956 GB, free: 4.328 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.109, allocations: 35.97 kB / 0.4957 GB, free: 4.293 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.989e-05/0.1091, allocations: 44.02 kB / 0.4957 GB, free: 4.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002072/0.1093, allocations: 88.73 kB / 0.4958 GB, free: 4.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1093, allocations: 0 / 0.4958 GB, free: 4.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002693/0.1096, allocations: 153.1 kB / 0.4959 GB, free: 4.004 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.1096, allocations: 8 kB / 0.4959 GB, free: 3.996 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.1096, allocations: 0 / 0.4959 GB, free: 3.996 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.1097, allocations: 0 / 0.4959 GB, free: 3.996 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.1098, allocations: 19.97 kB / 0.496 GB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.1098, allocations: 4 kB / 0.496 GB, free: 3.973 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.475e-05/0.1099, allocations: 12 kB / 0.496 GB, free: 3.961 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.1099, allocations: 11.92 kB / 0.496 GB, free: 3.949 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001767/0.1101, allocations: 217.7 kB / 0.4962 GB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.993e-05/0.1101, allocations: 39.53 kB / 0.4962 GB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003341/0.1105, allocations: 181.4 kB / 0.4964 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.1105, allocations: 3.984 kB / 0.4964 GB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1105, allocations: 0 / 0.4964 GB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.811e-05/0.1106, allocations: 112.5 kB / 0.4965 GB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.1106, allocations: 7.938 kB / 0.4965 GB, free: 3.359 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.521e-05/0.1107, allocations: 7.984 kB / 0.4965 GB, free: 3.352 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.1107, allocations: 4 kB / 0.4965 GB, free: 3.348 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003108/0.111, allocations: 204.8 kB / 0.4967 GB, free: 3.141 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003457/0.1114, allocations: 334.1 kB / 0.4971 GB, free: 2.797 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001175/0.1115, allocations: 48.42 kB / 0.4971 GB, free: 2.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005573/0.1121, allocations: 0.6472 MB / 0.4977 GB, free: 2.105 MB / 382.1 MB Notification: Performance of Backend: time 3.01e-07/0.1121, allocations: 0 / 0.4977 GB, free: 2.105 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001329/0.1134, allocations: 0.542 MB / 0.4983 GB, free: 1.602 MB / 382.1 MB Notification: Performance of SimCode: time 0.00109/0.1145, allocations: 1.146 MB / 0.4994 GB, free: 416 kB / 382.1 MB Notification: Performance of Templates: time 0.004897/0.1194, allocations: 1.818 MB / 0.5012 GB, free: 14.59 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches