Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,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.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 106.8 kB / 16.41 MB, free: 6.031 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.001227/0.001227, allocations: 187.1 kB / 17.34 MB, free: 5.633 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.589/1.589, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2141/0.2141, allocations: 43.53 MB / 314.1 MB, free: 464 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.001579/0.001579, allocations: 59.91 kB / 441.8 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1139, allocations: 57.8 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.003099/0.117, allocations: 1.546 MB / 0.4894 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000607/0.1177, allocations: 323.4 kB / 0.4897 GB, free: 9.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.772e-05/0.1177, allocations: 4 kB / 0.4897 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002995/0.118, allocations: 75.77 kB / 0.4898 GB, free: 9.852 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002166/0.1183, allocations: 63.73 kB / 0.4898 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002608/0.1186, allocations: 71.84 kB / 0.4899 GB, free: 9.719 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000178/0.1188, allocations: 75.81 kB / 0.49 GB, free: 9.645 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.1189, allocations: 7.984 kB / 0.49 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.038e-05/0.1189, allocations: 39.83 kB / 0.49 GB, free: 9.598 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.1191, allocations: 43.91 kB / 0.4901 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.1191, allocations: 4 kB / 0.4901 GB, free: 9.551 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.12e-05/0.1192, allocations: 35.97 kB / 0.4901 GB, free: 9.516 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.667e-05/0.1192, allocations: 19.92 kB / 0.4901 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.561e-05/0.1193, allocations: 27.75 kB / 0.4902 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.1195, allocations: 91.64 kB / 0.4902 GB, free: 9.379 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1195, allocations: 0 / 0.4902 GB, free: 9.379 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.195e-06/0.1195, allocations: 0 / 0.4902 GB, free: 9.379 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1195, allocations: 0 / 0.4902 GB, free: 9.379 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.0006137/0.1201, allocations: 399 kB / 0.4906 GB, free: 8.941 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.1202, allocations: 11.89 kB / 0.4906 GB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.119e-05/0.1202, allocations: 12.84 kB / 0.4906 GB, free: 8.918 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002043/0.1204, allocations: 192.1 kB / 0.4908 GB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-06/0.1205, allocations: 4.359 kB / 0.4908 GB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.738e-05/0.1205, allocations: 4.375 kB / 0.4908 GB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.1206, allocations: 49.75 kB / 0.4909 GB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.1207, allocations: 0 / 0.4909 GB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.1207, allocations: 8 kB / 0.4909 GB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.1207, allocations: 4 kB / 0.4909 GB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.818e-05/0.1208, allocations: 15.98 kB / 0.4909 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003942/0.1212, allocations: 284.8 kB / 0.4912 GB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002205/0.1214, allocations: 50.44 kB / 0.4912 GB, free: 8.215 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.041e-05/0.1215, allocations: 12.86 kB / 0.4912 GB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.1215, allocations: 4 kB / 0.4912 GB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.1215, allocations: 34.56 kB / 0.4913 GB, free: 8.152 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.1216, allocations: 0 / 0.4913 GB, free: 8.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006069/0.1222, allocations: 141.3 kB / 0.4914 GB, free: 8.008 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.1222, allocations: 55.39 kB / 0.4915 GB, free: 7.941 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.1224, allocations: 206.2 kB / 0.4917 GB, free: 7.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.1225, allocations: 25.7 kB / 0.4917 GB, free: 7.699 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.175e-05/0.1225, allocations: 100.1 kB / 0.4918 GB, free: 7.598 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.1226, allocations: 27.64 kB / 0.4918 GB, free: 7.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.337e-05/0.1226, allocations: 17.72 kB / 0.4918 GB, free: 7.547 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.1228, allocations: 330.7 kB / 0.4921 GB, free: 7.215 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.647e-05/0.1228, allocations: 11.98 kB / 0.4922 GB, free: 7.203 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.013e-05/0.1229, allocations: 19.98 kB / 0.4922 GB, free: 7.184 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.123, allocations: 57.02 kB / 0.4922 GB, free: 7.125 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.123, allocations: 0 / 0.4922 GB, free: 7.125 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001905/0.1232, allocations: 81.52 kB / 0.4923 GB, free: 7.039 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.1233, allocations: 4 kB / 0.4923 GB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1233, allocations: 0 / 0.4923 GB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.1233, allocations: 0 / 0.4923 GB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.695e-05/0.1234, allocations: 15.98 kB / 0.4923 GB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.1234, allocations: 4 kB / 0.4923 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.843e-05/0.1234, allocations: 0 / 0.4923 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-06/0.1234, allocations: 4 kB / 0.4923 GB, free: 7.012 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 9.025e-05/0.1235, allocations: 133.7 kB / 0.4925 GB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.255e-05/0.1236, allocations: 7.906 kB / 0.4925 GB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002332/0.1238, allocations: 97.89 kB / 0.4926 GB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1238, allocations: 0 / 0.4926 GB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1238, allocations: 4 kB / 0.4926 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.1239, allocations: 0 / 0.4926 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004192/0.1243, allocations: 350.5 kB / 0.4929 GB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.1243, allocations: 3.938 kB / 0.4929 GB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.742e-05/0.1244, allocations: 11.98 kB / 0.4929 GB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.1244, allocations: 0 / 0.4929 GB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.1244, allocations: 7.938 kB / 0.4929 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1244, allocations: 4.125 kB / 0.4929 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1244, allocations: 4 kB / 0.4929 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002365/0.1246, allocations: 179.3 kB / 0.4931 GB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.171e-05/0.1247, allocations: 85.02 kB / 0.4932 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.1247, allocations: 7.984 kB / 0.4932 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.694e-05/0.1248, allocations: 8.219 kB / 0.4932 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.474e-05/0.1248, allocations: 0 / 0.4932 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.1248, allocations: 11.98 kB / 0.4932 GB, free: 6.004 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001376/0.125, allocations: 160 kB / 0.4934 GB, free: 5.848 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.613e-06/0.125, allocations: 0 / 0.4934 GB, free: 5.848 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002527/0.1253, allocations: 23.92 kB / 0.4934 GB, free: 5.824 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.0009681/0.1262, allocations: 404 kB / 0.4938 GB, free: 5.461 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002197/0.1265, allocations: 43.97 kB / 0.4938 GB, free: 5.418 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1265, allocations: 4 kB / 0.4938 GB, free: 5.414 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.466e-05/0.1266, allocations: 27.92 kB / 0.4938 GB, free: 5.387 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004085/0.127, allocations: 23.59 kB / 0.4939 GB, free: 5.367 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000554/0.1275, allocations: 210 kB / 0.4941 GB, free: 5.137 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.1279, allocations: 0.7001 MB / 0.4948 GB, free: 4.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.456e-05/0.1279, allocations: 12 kB / 0.4948 GB, free: 4.398 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.48e-05/0.128, allocations: 11.44 kB / 0.4948 GB, free: 4.387 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.128, allocations: 0 / 0.4948 GB, free: 4.387 MB / 382.1 MB Notification: Performance of Templates: time 0.003898/0.1319, allocations: 1.12 MB / 0.4959 GB, free: 3.27 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches