Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20") translateModel(ModelicaTest.Tables.CombiTable2D.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008361/0.0008361, allocations: 174.5 kB / 16.72 MB, free: 5.082 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.226/1.226, 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.0007091/0.0007091, allocations: 90.41 kB / 271.2 MB, free: 8.246 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.2899/0.2899, allocations: 43.56 MB / 363.1 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004011/0.0004011, allocations: 12 kB / 432 MB, free: 5.594 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1073, allocations: 58.85 MB / 490.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test20): time 0.002009/0.1094, allocations: 1.601 MB / 492.4 MB, free: 9.047 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009762/0.1104, allocations: 0.6318 MB / 493.1 MB, free: 8.41 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.946e-05/0.1104, allocations: 8 kB / 493.1 MB, free: 8.402 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003587/0.1108, allocations: 239.5 kB / 493.3 MB, free: 8.168 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002621/0.1111, allocations: 171.5 kB / 493.5 MB, free: 8 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000832/0.1119, allocations: 415.2 kB / 493.9 MB, free: 7.594 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002855/0.1122, allocations: 231.4 kB / 494.1 MB, free: 7.367 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.1124, allocations: 60.64 kB / 494.2 MB, free: 7.309 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.1125, allocations: 115.5 kB / 494.3 MB, free: 7.195 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001785/0.1127, allocations: 155.4 kB / 494.4 MB, free: 7.043 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.1127, allocations: 4 kB / 494.4 MB, free: 7.039 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.1128, allocations: 51.97 kB / 494.5 MB, free: 6.988 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.765e-05/0.1129, allocations: 79.73 kB / 494.6 MB, free: 6.91 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.512e-05/0.113, allocations: 116.9 kB / 494.7 MB, free: 6.789 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002152/0.1132, allocations: 207.9 kB / 494.9 MB, free: 6.586 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1133, allocations: 4 kB / 494.9 MB, free: 6.582 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1133, allocations: 3.938 kB / 494.9 MB, free: 6.578 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.738e-06/0.1133, allocations: 0 / 494.9 MB, free: 6.578 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005813/0.1139, allocations: 0.5643 MB / 495.4 MB, free: 5.965 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.1139, allocations: 8.031 kB / 495.5 MB, free: 5.957 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.021e-05/0.114, allocations: 36.47 kB / 495.5 MB, free: 5.922 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002801/0.1142, allocations: 306.2 kB / 495.8 MB, free: 5.582 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.1143, allocations: 8.375 kB / 495.8 MB, free: 5.574 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.1143, allocations: 16.38 kB / 495.8 MB, free: 5.559 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002288/0.1145, allocations: 113.7 kB / 495.9 MB, free: 5.441 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.1146, allocations: 0 / 495.9 MB, free: 5.441 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.1146, allocations: 0 / 495.9 MB, free: 5.441 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.1146, allocations: 4 kB / 495.9 MB, free: 5.438 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001547/0.1147, allocations: 71.95 kB / 496 MB, free: 5.367 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000568/0.1153, allocations: 488.2 kB / 496.5 MB, free: 4.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.1155, allocations: 94.55 kB / 496.6 MB, free: 4.738 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.088e-05/0.1156, allocations: 41 kB / 496.6 MB, free: 4.695 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.899e-05/0.1156, allocations: 4 kB / 496.6 MB, free: 4.691 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.1156, allocations: 38.55 kB / 496.6 MB, free: 4.645 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.1156, allocations: 0 / 496.6 MB, free: 4.645 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008656/0.1165, allocations: 391.9 kB / 497 MB, free: 4.254 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.1166, allocations: 51.41 kB / 497.1 MB, free: 4.191 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005046/0.1171, allocations: 0.521 MB / 497.6 MB, free: 3.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.1171, allocations: 29.7 kB / 497.6 MB, free: 3.625 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.1172, allocations: 188.4 kB / 497.8 MB, free: 3.438 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.226e-05/0.1173, allocations: 67.05 kB / 497.9 MB, free: 3.371 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.025e-06/0.1173, allocations: 4 kB / 497.9 MB, free: 3.367 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.1174, allocations: 346.8 kB / 498.2 MB, free: 3.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.1175, allocations: 51.97 kB / 498.3 MB, free: 2.969 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.1176, allocations: 51.98 kB / 498.3 MB, free: 2.918 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002146/0.1179, allocations: 136 kB / 498.5 MB, free: 2.785 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1179, allocations: 7.938 kB / 498.5 MB, free: 2.777 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002997/0.1182, allocations: 193 kB / 498.7 MB, free: 2.582 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.1182, allocations: 12 kB / 498.7 MB, free: 2.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.1182, allocations: 0 / 498.7 MB, free: 2.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.1182, allocations: 0 / 498.7 MB, free: 2.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.1184, allocations: 35.97 kB / 498.7 MB, free: 2.535 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.1184, allocations: 0 / 498.7 MB, free: 2.535 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.52e-05/0.1184, allocations: 12 kB / 498.7 MB, free: 2.523 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.1185, allocations: 4 kB / 498.7 MB, free: 2.52 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 (17): * Single equations (assignments): 17 * 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.0001503/0.1186, allocations: 189.6 kB / 498.9 MB, free: 2.324 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.976e-05/0.1187, allocations: 35.53 kB / 498.9 MB, free: 2.289 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004075/0.1191, allocations: 233.3 kB / 499.2 MB, free: 2.055 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.1191, allocations: 4 kB / 499.2 MB, free: 2.051 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1191, allocations: 4 kB / 499.2 MB, free: 2.047 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1191, allocations: 0 / 499.2 MB, free: 2.047 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006566/0.1198, allocations: 0.6149 MB / 499.8 MB, free: 1.379 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.1198, allocations: 4 kB / 499.8 MB, free: 1.375 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.1199, allocations: 39.92 kB / 499.8 MB, free: 1.336 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1199, allocations: 0 / 499.8 MB, free: 1.336 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.1199, allocations: 4 kB / 499.8 MB, free: 1.332 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.1199, allocations: 4 kB / 499.8 MB, free: 1.328 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.1199, allocations: 3.938 kB / 499.8 MB, free: 1.324 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003353/0.1203, allocations: 303 kB / 0.4884 GB, free: 1.012 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.928e-05/0.1204, allocations: 112.6 kB / 0.4885 GB, free: 0.8828 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.731e-05/0.1204, allocations: 4 kB / 0.4885 GB, free: 0.8789 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.895e-05/0.1205, allocations: 15.92 kB / 0.4885 GB, free: 0.8633 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.4e-05/0.1205, allocations: 15.86 kB / 0.4886 GB, free: 0.8477 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.1206, allocations: 8 kB / 0.4886 GB, free: 0.8398 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003408/0.1209, allocations: 395.1 kB / 0.4889 GB, free: 464 kB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1209, allocations: 0 / 0.4889 GB, free: 464 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.000271/0.1212, allocations: 44 kB / 0.489 GB, free: 420 kB / 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 (17): * Single equations (assignments): 17 * 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.1739/0.2952, allocations: 0.6866 MB / 0.4897 GB, free: 43.37 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004253/0.2956, allocations: 149 kB / 0.4898 GB, free: 43.37 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.2956, allocations: 0 / 0.4898 GB, free: 43.37 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.2958, allocations: 74.78 kB / 0.4899 GB, free: 43.37 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006077/0.2964, allocations: 72.78 kB / 0.4899 GB, free: 43.37 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009362/0.2973, allocations: 0.7124 MB / 0.4906 GB, free: 43.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002309/0.2976, allocations: 0.7941 MB / 0.4914 GB, free: 42.33 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.439e-05/0.2977, allocations: 33.14 kB / 0.4914 GB, free: 42.32 MB / 378.7 MB Notification: Performance of SimCode: time 5.71e-07/0.2977, allocations: 0 / 0.4914 GB, free: 42.32 MB / 378.7 MB Notification: Performance of Templates: time 0.00687/0.3045, allocations: 4.184 MB / 0.4955 GB, free: 41.91 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test20/Test20.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches