Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.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.CombiTable1Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 119.1 kB / 17.09 MB, free: 5.965 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.00126/0.00126, allocations: 197.2 kB / 18.02 MB, free: 5.047 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.471/1.471, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.2046/0.2046, allocations: 43.52 MB / 314.8 MB, free: 448 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.001549/0.001549, allocations: 69.47 kB / 442.5 MB, free: 5.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1063, allocations: 57.79 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.003047/0.1094, allocations: 1.547 MB / 0.4901 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001354/0.1108, allocations: 0.9379 MB / 0.491 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.361e-05/0.1109, allocations: 7.938 kB / 0.491 GB, free: 9.262 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002442/0.1111, allocations: 23.86 kB / 0.491 GB, free: 9.238 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002203/0.1114, allocations: 39.78 kB / 0.491 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002476/0.1116, allocations: 79.78 kB / 0.4911 GB, free: 9.121 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.1118, allocations: 51.89 kB / 0.4912 GB, free: 9.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.717e-05/0.1119, allocations: 19.91 kB / 0.4912 GB, free: 9.051 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.881e-05/0.112, allocations: 19.94 kB / 0.4912 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001495/0.1121, allocations: 31.89 kB / 0.4912 GB, free: 9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.1122, allocations: 7.938 kB / 0.4912 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.1123, allocations: 47.92 kB / 0.4913 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.571e-05/0.1123, allocations: 8 kB / 0.4913 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.271e-05/0.1124, allocations: 23.86 kB / 0.4913 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001941/0.1126, allocations: 83.77 kB / 0.4914 GB, free: 8.832 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1126, allocations: 0 / 0.4914 GB, free: 8.832 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1126, allocations: 0 / 0.4914 GB, free: 8.832 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.1126, allocations: 4 kB / 0.4914 GB, free: 8.828 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004812/0.1131, allocations: 383.2 kB / 0.4918 GB, free: 8.406 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.1132, allocations: 15.88 kB / 0.4918 GB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.293e-05/0.1132, allocations: 4.938 kB / 0.4918 GB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001957/0.1134, allocations: 184.1 kB / 0.492 GB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.1134, allocations: 8.375 kB / 0.492 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.873e-05/0.1135, allocations: 384 / 0.492 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.1136, allocations: 67.52 kB / 0.492 GB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.1136, allocations: 0 / 0.492 GB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.615e-05/0.1137, allocations: 11.98 kB / 0.4921 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1137, allocations: 4 kB / 0.4921 GB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.564e-05/0.1138, allocations: 19.98 kB / 0.4921 GB, free: 8.047 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003401/0.1141, allocations: 276.8 kB / 0.4923 GB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001981/0.1143, allocations: 38.56 kB / 0.4924 GB, free: 7.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.883e-05/0.1144, allocations: 16.94 kB / 0.4924 GB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.1144, allocations: 4 kB / 0.4924 GB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.1145, allocations: 38.56 kB / 0.4924 GB, free: 7.609 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1145, allocations: 4 kB / 0.4924 GB, free: 7.605 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005344/0.115, allocations: 133.3 kB / 0.4926 GB, free: 7.469 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/0.1151, allocations: 77.11 kB / 0.4926 GB, free: 7.375 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.1152, allocations: 137.8 kB / 0.4928 GB, free: 7.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.1152, allocations: 25.7 kB / 0.4928 GB, free: 7.199 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.117e-05/0.1153, allocations: 92.05 kB / 0.4929 GB, free: 7.105 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.1153, allocations: 15.8 kB / 0.4929 GB, free: 7.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/0.1154, allocations: 17.72 kB / 0.4929 GB, free: 7.066 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.1155, allocations: 326.8 kB / 0.4932 GB, free: 6.738 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.6e-05/0.1156, allocations: 19.86 kB / 0.4932 GB, free: 6.719 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.299e-05/0.1156, allocations: 41.64 kB / 0.4933 GB, free: 6.672 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.1158, allocations: 40.84 kB / 0.4933 GB, free: 6.629 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1158, allocations: 0 / 0.4933 GB, free: 6.629 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001795/0.116, allocations: 81.56 kB / 0.4934 GB, free: 6.543 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.116, allocations: 4 kB / 0.4934 GB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.116, allocations: 0 / 0.4934 GB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.116, allocations: 4.031 kB / 0.4934 GB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.468e-05/0.1161, allocations: 19.92 kB / 0.4934 GB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.1161, allocations: 0 / 0.4934 GB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.117e-05/0.1162, allocations: 4 kB / 0.4934 GB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.1162, allocations: 0 / 0.4934 GB, free: 6.512 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 (5): * Single equations (assignments): 5 * 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 8.903e-05/0.1163, allocations: 125.7 kB / 0.4936 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.094e-05/0.1163, allocations: 4 kB / 0.4936 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002193/0.1165, allocations: 105.8 kB / 0.4937 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1165, allocations: 0 / 0.4937 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.1165, allocations: 3.984 kB / 0.4937 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.1166, allocations: 0 / 0.4937 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003921/0.1169, allocations: 338.5 kB / 0.494 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.117, allocations: 4 kB / 0.494 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.143e-05/0.117, allocations: 11.98 kB / 0.494 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.117, allocations: 0 / 0.494 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.117, allocations: 8 kB / 0.494 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.1171, allocations: 3.938 kB / 0.494 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.1171, allocations: 4 kB / 0.494 GB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002244/0.1173, allocations: 171.5 kB / 0.4942 GB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.624e-05/0.1173, allocations: 85.02 kB / 0.4943 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.1174, allocations: 0 / 0.4943 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.846e-05/0.1174, allocations: 7.938 kB / 0.4943 GB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.696e-05/0.1175, allocations: 7.984 kB / 0.4943 GB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.1175, allocations: 4 kB / 0.4943 GB, free: 5.535 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.162e-05/0.1176, allocations: 103.3 kB / 0.4944 GB, free: 5.434 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1176, allocations: 0 / 0.4944 GB, free: 5.434 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002529/0.1178, allocations: 20 kB / 0.4944 GB, free: 5.414 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009635/0.1188, allocations: 445.2 kB / 0.4948 GB, free: 5.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002006/0.119, allocations: 55.83 kB / 0.4949 GB, free: 4.965 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.119, allocations: 0 / 0.4949 GB, free: 4.965 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.734e-05/0.1191, allocations: 23.98 kB / 0.4949 GB, free: 4.941 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.1194, allocations: 15.86 kB / 0.4949 GB, free: 4.926 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003523/0.1198, allocations: 187.1 kB / 0.4951 GB, free: 4.711 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.1201, allocations: 0.6846 MB / 0.4958 GB, free: 4 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.374e-05/0.1201, allocations: 23.42 kB / 0.4958 GB, free: 3.977 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1201, allocations: 0 / 0.4958 GB, free: 3.977 MB / 382.1 MB Notification: Performance of Templates: time 0.003694/0.1238, allocations: 1.552 MB / 0.4973 GB, free: 2.426 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches