Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.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.CombiTable1D.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18") translateModel(ModelicaTest.Tables.CombiTable1D.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 119.1 kB / 17.09 MB, free: 6.012 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.001699/0.001699, allocations: 193.3 kB / 18.01 MB, free: 5.094 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.403/1.403, allocations: 205.1 MB / 223.9 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.202/0.202, allocations: 43.53 MB / 314.8 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.001398/0.001399, allocations: 75.89 kB / 442.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1133, allocations: 57.79 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test18): time 0.00279/0.1161, allocations: 1.57 MB / 0.4901 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.1174, allocations: 0.9535 MB / 0.491 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.391e-05/0.1175, allocations: 4 kB / 0.491 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002366/0.1177, allocations: 23.8 kB / 0.491 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001844/0.118, allocations: 39.84 kB / 0.4911 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002606/0.1182, allocations: 99.73 kB / 0.4912 GB, free: 9.086 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.1184, allocations: 67.83 kB / 0.4912 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.1185, allocations: 24.17 kB / 0.4913 GB, free: 8.996 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.657e-05/0.1186, allocations: 27.91 kB / 0.4913 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007311/0.1193, allocations: 31.8 kB / 0.4913 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.1193, allocations: 4 kB / 0.4913 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.1195, allocations: 55.95 kB / 0.4914 GB, free: 8.879 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.053e-05/0.1195, allocations: 15.94 kB / 0.4914 GB, free: 8.863 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.973e-05/0.1196, allocations: 23.8 kB / 0.4914 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002024/0.1198, allocations: 103.8 kB / 0.4915 GB, free: 8.738 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1198, allocations: 0 / 0.4915 GB, free: 8.738 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1198, allocations: 4 kB / 0.4915 GB, free: 8.734 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.473e-06/0.1198, allocations: 0 / 0.4915 GB, free: 8.734 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005279/0.1203, allocations: 395.1 kB / 0.4919 GB, free: 8.301 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.1204, allocations: 15.89 kB / 0.4919 GB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.956e-05/0.1204, allocations: 8.844 kB / 0.4919 GB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001995/0.1206, allocations: 188.2 kB / 0.4921 GB, free: 8.055 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.1207, allocations: 384 / 0.4921 GB, free: 8.055 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/0.1207, allocations: 4.375 kB / 0.4921 GB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.1209, allocations: 92.12 kB / 0.4922 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.1209, allocations: 0 / 0.4922 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.1209, allocations: 0 / 0.4922 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.1209, allocations: 7.938 kB / 0.4922 GB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.1211, allocations: 35.97 kB / 0.4922 GB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004723/0.1215, allocations: 396.9 kB / 0.4926 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002755/0.1218, allocations: 89.14 kB / 0.4927 GB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.781e-05/0.1219, allocations: 33.78 kB / 0.4927 GB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.1219, allocations: 0 / 0.4927 GB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.122, allocations: 38.56 kB / 0.4928 GB, free: 7.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.122, allocations: 0 / 0.4928 GB, free: 7.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007089/0.1227, allocations: 225.1 kB / 0.493 GB, free: 7.043 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.605e-05/0.1228, allocations: 106.8 kB / 0.4931 GB, free: 6.914 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.1229, allocations: 145.3 kB / 0.4932 GB, free: 6.766 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.1229, allocations: 29.7 kB / 0.4932 GB, free: 6.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.937e-05/0.123, allocations: 100 kB / 0.4933 GB, free: 6.629 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.123, allocations: 27.56 kB / 0.4934 GB, free: 6.602 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-05/0.1231, allocations: 25.7 kB / 0.4934 GB, free: 6.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.1232, allocations: 314.8 kB / 0.4937 GB, free: 6.254 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.1e-05/0.1233, allocations: 35.97 kB / 0.4937 GB, free: 6.219 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.361e-05/0.1234, allocations: 58.48 kB / 0.4938 GB, free: 6.152 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001678/0.1236, allocations: 85.67 kB / 0.4939 GB, free: 6.062 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1236, allocations: 0 / 0.4939 GB, free: 6.062 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002259/0.1238, allocations: 117.5 kB / 0.494 GB, free: 5.941 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.1238, allocations: 8 kB / 0.494 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.1238, allocations: 0 / 0.494 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.1238, allocations: 0 / 0.494 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.934e-05/0.1239, allocations: 27.95 kB / 0.494 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.124, allocations: 7.922 kB / 0.494 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.507e-05/0.124, allocations: 11.98 kB / 0.494 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.124, allocations: 4 kB / 0.494 GB, free: 5.883 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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.842e-05/0.1241, allocations: 125.7 kB / 0.4942 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.141e-05/0.1242, allocations: 11.91 kB / 0.4942 GB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002848/0.1245, allocations: 141.8 kB / 0.4943 GB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.1245, allocations: 0 / 0.4943 GB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.1245, allocations: 7.875 kB / 0.4943 GB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.1245, allocations: 3.984 kB / 0.4943 GB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000575/0.1251, allocations: 0.4907 MB / 0.4948 GB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1251, allocations: 0 / 0.4948 GB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.354e-05/0.1252, allocations: 24.11 kB / 0.4948 GB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1252, allocations: 8.031 kB / 0.4948 GB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.1252, allocations: 3.938 kB / 0.4948 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.1252, allocations: 3.938 kB / 0.4948 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.1252, allocations: 4 kB / 0.4948 GB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000288/0.1255, allocations: 299.5 kB / 0.4951 GB, free: 4.672 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.32e-05/0.1256, allocations: 84.95 kB / 0.4952 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.1256, allocations: 7.984 kB / 0.4952 GB, free: 4.562 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.1257, allocations: 8 kB / 0.4952 GB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/0.1257, allocations: 7.984 kB / 0.4952 GB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.1257, allocations: 4 kB / 0.4952 GB, free: 4.543 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.426e-05/0.1258, allocations: 107.2 kB / 0.4953 GB, free: 4.438 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1258, allocations: 0 / 0.4953 GB, free: 4.438 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002966/0.1261, allocations: 31.98 kB / 0.4954 GB, free: 4.406 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.0009804/0.1271, allocations: 453.6 kB / 0.4958 GB, free: 4.004 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002483/0.1274, allocations: 79.89 kB / 0.4959 GB, free: 3.926 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1274, allocations: 0 / 0.4959 GB, free: 3.926 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.1275, allocations: 51.91 kB / 0.4959 GB, free: 3.875 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004297/0.1279, allocations: 27.78 kB / 0.4959 GB, free: 3.848 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000443/0.1284, allocations: 241.4 kB / 0.4962 GB, free: 3.574 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.1287, allocations: 0.6924 MB / 0.4968 GB, free: 2.855 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.587e-05/0.1287, allocations: 27.48 kB / 0.4969 GB, free: 2.828 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1287, allocations: 0 / 0.4969 GB, free: 2.828 MB / 382.1 MB Notification: Performance of Templates: time 0.003412/0.1322, allocations: 1.844 MB / 0.4987 GB, free: 0.9883 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches