Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.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.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008882/0.0008884, allocations: 174.5 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.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.0007665/0.0007664, allocations: 85.05 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.2891/0.2891, allocations: 43.55 MB / 363.1 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003403/0.0003404, allocations: 15.94 kB / 432 MB, free: 5.594 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1036, allocations: 58.85 MB / 490.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.001659/0.1053, allocations: 1.259 MB / 492.1 MB, free: 9.391 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004829/0.1058, allocations: 295.8 kB / 492.4 MB, free: 9.098 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.975e-05/0.1058, allocations: 0 / 492.4 MB, free: 9.098 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002723/0.1061, allocations: 115.8 kB / 492.5 MB, free: 8.984 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001613/0.1063, allocations: 79.84 kB / 492.6 MB, free: 8.906 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001972/0.1065, allocations: 63.86 kB / 492.6 MB, free: 8.844 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.1066, allocations: 71.8 kB / 492.7 MB, free: 8.773 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.039e-05/0.1067, allocations: 19.97 kB / 492.7 MB, free: 8.754 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.249e-05/0.1068, allocations: 31.89 kB / 492.7 MB, free: 8.723 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.1069, allocations: 71.8 kB / 492.8 MB, free: 8.652 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.1069, allocations: 0 / 492.8 MB, free: 8.652 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.753e-05/0.107, allocations: 23.98 kB / 492.8 MB, free: 8.629 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.33e-05/0.107, allocations: 19.92 kB / 492.9 MB, free: 8.609 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.772e-05/0.1071, allocations: 61.44 kB / 492.9 MB, free: 8.543 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001156/0.1072, allocations: 71.89 kB / 493 MB, free: 8.473 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1072, allocations: 0 / 493 MB, free: 8.473 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1072, allocations: 0 / 493 MB, free: 8.473 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.1072, allocations: 0 / 493 MB, free: 8.473 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004426/0.1077, allocations: 426.7 kB / 493.4 MB, free: 8.012 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.1077, allocations: 8.031 kB / 493.4 MB, free: 8.004 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.06e-05/0.1078, allocations: 8.844 kB / 493.4 MB, free: 7.996 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.1079, allocations: 211.7 kB / 493.6 MB, free: 7.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.108, allocations: 4.359 kB / 493.6 MB, free: 7.746 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.108, allocations: 384 / 493.6 MB, free: 7.746 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.1081, allocations: 53.81 kB / 493.7 MB, free: 7.688 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.1081, allocations: 4 kB / 493.7 MB, free: 7.684 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.1081, allocations: 4 kB / 493.7 MB, free: 7.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1082, allocations: 0 / 493.7 MB, free: 7.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.464e-05/0.1082, allocations: 27.92 kB / 493.7 MB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003129/0.1086, allocations: 288.8 kB / 494 MB, free: 7.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001824/0.1088, allocations: 46.56 kB / 494 MB, free: 7.266 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.033e-05/0.1088, allocations: 20.94 kB / 494.1 MB, free: 7.242 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.1088, allocations: 0 / 494.1 MB, free: 7.242 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.1089, allocations: 34.5 kB / 494.1 MB, free: 7.199 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1089, allocations: 0 / 494.1 MB, free: 7.199 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005231/0.1094, allocations: 177 kB / 494.3 MB, free: 7.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.1094, allocations: 55.34 kB / 494.3 MB, free: 6.953 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000222/0.1097, allocations: 263.3 kB / 494.6 MB, free: 6.688 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.1097, allocations: 33.7 kB / 494.6 MB, free: 6.648 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.413e-05/0.1098, allocations: 104.1 kB / 494.7 MB, free: 6.543 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.749e-05/0.1098, allocations: 15.81 kB / 494.7 MB, free: 6.527 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-06/0.1098, allocations: 0 / 494.7 MB, free: 6.527 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.629e-05/0.1099, allocations: 334.8 kB / 495.1 MB, free: 6.191 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.386e-05/0.11, allocations: 19.98 kB / 495.1 MB, free: 6.172 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.749e-05/0.11, allocations: 23.98 kB / 495.1 MB, free: 6.148 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.1102, allocations: 48.84 kB / 495.2 MB, free: 6.098 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1102, allocations: 0 / 495.2 MB, free: 6.098 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001736/0.1103, allocations: 109.5 kB / 495.3 MB, free: 5.984 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.1104, allocations: 4 kB / 495.3 MB, free: 5.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1104, allocations: 64 / 495.3 MB, free: 5.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.1104, allocations: 4 kB / 495.3 MB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.776e-05/0.1105, allocations: 12 kB / 495.3 MB, free: 5.965 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.1105, allocations: 0 / 495.3 MB, free: 5.965 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.253e-05/0.1105, allocations: 15.98 kB / 495.3 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-06/0.1105, allocations: 0 / 495.3 MB, free: 5.949 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 (5): * Single equations (assignments): 5 * 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.0001008/0.1106, allocations: 141.8 kB / 495.4 MB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.249e-05/0.1107, allocations: 11.81 kB / 495.4 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002213/0.1109, allocations: 106.6 kB / 495.5 MB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.1109, allocations: 4 kB / 495.6 MB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1109, allocations: 0 / 495.6 MB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.1109, allocations: 3.984 kB / 495.6 MB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003768/0.1113, allocations: 370.4 kB / 495.9 MB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1113, allocations: 0 / 495.9 MB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.924e-05/0.1114, allocations: 16 kB / 495.9 MB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1114, allocations: 0 / 495.9 MB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.1114, allocations: 0 / 495.9 MB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.1114, allocations: 3.938 kB / 495.9 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.1114, allocations: 7.938 kB / 495.9 MB, free: 5.223 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002026/0.1116, allocations: 187.4 kB / 496.1 MB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.372e-05/0.1117, allocations: 92.92 kB / 496.2 MB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.1117, allocations: 192 / 496.2 MB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.866e-05/0.1118, allocations: 15.92 kB / 496.2 MB, free: 4.898 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.979e-05/0.1118, allocations: 4 kB / 496.2 MB, free: 4.895 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.1119, allocations: 0 / 496.2 MB, free: 4.895 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000162/0.112, allocations: 207.4 kB / 496.4 MB, free: 4.691 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.112, allocations: 4 kB / 496.4 MB, free: 4.688 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000215/0.1122, allocations: 16 kB / 496.5 MB, free: 4.672 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 (5): * Single equations (assignments): 5 * 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.0007771/0.113, allocations: 397.8 kB / 496.9 MB, free: 4.324 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001737/0.1132, allocations: 51.91 kB / 496.9 MB, free: 4.273 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1132, allocations: 4 kB / 496.9 MB, free: 4.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.758e-05/0.1133, allocations: 27.98 kB / 496.9 MB, free: 4.242 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.1136, allocations: 15.98 kB / 496.9 MB, free: 4.227 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004388/0.114, allocations: 316.1 kB / 497.3 MB, free: 3.883 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.1143, allocations: 0.7198 MB / 498 MB, free: 3.137 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.966e-05/0.1143, allocations: 11.44 kB / 498 MB, free: 3.125 MB / 378.7 MB Notification: Performance of SimCode: time 1.452e-06/0.1144, allocations: 0 / 498 MB, free: 3.125 MB / 378.7 MB Notification: Performance of Templates: time 0.002817/0.1172, allocations: 1.594 MB / 499.6 MB, free: 1.531 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches