Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6") translateModel(ModelicaTest.Tables.CombiTable2D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001015/0.001015, allocations: 175 kB / 16.72 MB, free: 4.961 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.255/1.255, allocations: 205.4 MB / 222.9 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006922/0.0006924, allocations: 89.03 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2824/0.2824, allocations: 43.56 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003513/0.0003513, allocations: 16 kB / 432 MB, free: 5.84 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09598/0.09635, allocations: 58.85 MB / 490.8 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test6): time 0.001749/0.09814, allocations: 1.305 MB / 492.1 MB, free: 9.582 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004997/0.09866, allocations: 315.7 kB / 492.4 MB, free: 9.27 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.561e-05/0.0987, allocations: 0 / 492.4 MB, free: 9.27 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004634/0.09918, allocations: 435.2 kB / 492.9 MB, free: 8.844 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002918/0.09948, allocations: 247.5 kB / 493.1 MB, free: 8.602 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002573/0.09975, allocations: 103.8 kB / 493.2 MB, free: 8.5 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.09992, allocations: 127.7 kB / 493.3 MB, free: 8.375 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.195e-05/0.1, allocations: 12.17 kB / 493.3 MB, free: 8.363 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.892e-05/0.1001, allocations: 99.73 kB / 493.4 MB, free: 8.266 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001808/0.1003, allocations: 175.7 kB / 493.6 MB, free: 8.094 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.1003, allocations: 0 / 493.6 MB, free: 8.094 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.896e-05/0.1004, allocations: 28 kB / 493.6 MB, free: 8.066 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.941e-05/0.1005, allocations: 79.73 kB / 493.7 MB, free: 7.988 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.381e-05/0.1006, allocations: 120.8 kB / 493.8 MB, free: 7.863 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001884/0.1008, allocations: 179.8 kB / 494 MB, free: 7.688 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1008, allocations: 3.938 kB / 494 MB, free: 7.684 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1008, allocations: 0 / 494 MB, free: 7.684 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.1008, allocations: 0 / 494 MB, free: 7.684 MB / 378.7 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.000608/0.1014, allocations: 0.5953 MB / 494.6 MB, free: 7.039 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.1015, allocations: 12.03 kB / 494.6 MB, free: 7.027 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.137e-05/0.1015, allocations: 36.47 kB / 494.7 MB, free: 6.992 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.1018, allocations: 300.1 kB / 495 MB, free: 6.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.978e-06/0.1018, allocations: 384 / 495 MB, free: 6.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.1018, allocations: 384 / 495 MB, free: 6.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.102, allocations: 65.61 kB / 495 MB, free: 6.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.102, allocations: 4 kB / 495 MB, free: 6.586 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.102, allocations: 0 / 495 MB, free: 6.586 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.102, allocations: 4 kB / 495 MB, free: 6.582 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.1022, allocations: 43.97 kB / 495.1 MB, free: 6.539 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004156/0.1026, allocations: 396.6 kB / 495.5 MB, free: 6.102 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.1027, allocations: 42.56 kB / 495.5 MB, free: 6.051 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.23e-05/0.1028, allocations: 28.92 kB / 495.5 MB, free: 6.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.1028, allocations: 11.94 kB / 495.5 MB, free: 6.008 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.1028, allocations: 34.56 kB / 495.6 MB, free: 5.965 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1029, allocations: 0 / 495.6 MB, free: 5.965 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.000849/0.1037, allocations: 319.8 kB / 495.9 MB, free: 5.645 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.1038, allocations: 51.41 kB / 495.9 MB, free: 5.582 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007326/0.1045, allocations: 0.8573 MB / 496.8 MB, free: 4.715 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.1045, allocations: 25.7 kB / 496.8 MB, free: 4.684 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001465/0.1047, allocations: 208.1 kB / 497 MB, free: 4.477 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.1047, allocations: 23.66 kB / 497 MB, free: 4.453 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-06/0.1047, allocations: 0 / 497 MB, free: 4.453 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.1049, allocations: 362.8 kB / 497.4 MB, free: 4.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.105, allocations: 43.97 kB / 497.4 MB, free: 4.047 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.1051, allocations: 47.97 kB / 497.5 MB, free: 4 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002173/0.1053, allocations: 92.98 kB / 497.6 MB, free: 3.906 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.1053, allocations: 0 / 497.6 MB, free: 3.906 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002909/0.1056, allocations: 165.1 kB / 497.7 MB, free: 3.738 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.1056, allocations: 4 kB / 497.7 MB, free: 3.734 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1057, allocations: 0 / 497.7 MB, free: 3.734 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.1057, allocations: 0 / 497.7 MB, free: 3.734 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.1058, allocations: 27.98 kB / 497.8 MB, free: 3.707 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.1058, allocations: 3.938 kB / 497.8 MB, free: 3.703 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.648e-05/0.1059, allocations: 19.92 kB / 497.8 MB, free: 3.684 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.1059, allocations: 0 / 497.8 MB, free: 3.684 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001736/0.1061, allocations: 213.8 kB / 498 MB, free: 3.465 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.332e-05/0.1061, allocations: 51.42 kB / 498.1 MB, free: 3.414 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003494/0.1065, allocations: 173.4 kB / 498.2 MB, free: 3.234 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1065, allocations: 4 kB / 498.2 MB, free: 3.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1065, allocations: 0 / 498.2 MB, free: 3.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.1065, allocations: 3.938 kB / 498.2 MB, free: 3.227 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005734/0.1071, allocations: 0.5062 MB / 498.7 MB, free: 2.664 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1071, allocations: 0 / 498.7 MB, free: 2.664 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.1072, allocations: 23.97 kB / 498.8 MB, free: 2.641 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.1072, allocations: 4 kB / 498.8 MB, free: 2.637 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.1073, allocations: 3.938 kB / 498.8 MB, free: 2.633 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.1073, allocations: 0 / 498.8 MB, free: 2.633 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1073, allocations: 0 / 498.8 MB, free: 2.633 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003164/0.1076, allocations: 263 kB / 499 MB, free: 2.359 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.258e-05/0.1077, allocations: 108.5 kB / 499.1 MB, free: 2.234 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.1077, allocations: 7.938 kB / 499.1 MB, free: 2.227 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.592e-05/0.1078, allocations: 15.98 kB / 499.2 MB, free: 2.211 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.768e-05/0.1078, allocations: 7.984 kB / 499.2 MB, free: 2.203 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.1079, allocations: 0 / 499.2 MB, free: 2.203 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000522/0.1084, allocations: 0.651 MB / 499.8 MB, free: 1.555 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1084, allocations: 0 / 499.8 MB, free: 1.555 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002356/0.1086, allocations: 28 kB / 499.8 MB, free: 1.527 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007978/0.1094, allocations: 399.1 kB / 0.4885 GB, free: 1.176 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002828/0.1097, allocations: 91.89 kB / 0.4886 GB, free: 1.086 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1097, allocations: 0 / 0.4886 GB, free: 1.086 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.1099, allocations: 51.97 kB / 0.4886 GB, free: 1.035 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.1102, allocations: 17.95 kB / 0.4887 GB, free: 1.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.1113, allocations: 0.8744 MB / 0.4895 GB, free: 112 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1515/0.2628, allocations: 0.8181 MB / 0.4903 GB, free: 42.71 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.875e-05/0.2629, allocations: 16.78 kB / 0.4903 GB, free: 42.7 MB / 378.7 MB Notification: Performance of SimCode: time 7.71e-07/0.2629, allocations: 3.75 kB / 0.4903 GB, free: 42.7 MB / 378.7 MB Notification: Performance of Templates: time 0.00768/0.2706, allocations: 3.687 MB / 0.4939 GB, free: 42.09 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test6/Test6.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches