Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 115.2 kB / 17.08 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.001215/0.001215, allocations: 195 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.322/1.322, 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.1853/0.1853, allocations: 43.51 MB / 314.8 MB, free: 460 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.001325/0.001325, allocations: 71.89 kB / 442.5 MB, free: 5.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08696/0.08829, allocations: 57.78 MB / 0.4885 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.002673/0.091, allocations: 1.543 MB / 0.4901 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.09223, allocations: 0.9417 MB / 0.491 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.174e-05/0.0923, allocations: 7.938 kB / 0.491 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002037/0.09251, allocations: 27.84 kB / 0.491 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001758/0.09269, allocations: 39.83 kB / 0.491 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002226/0.09294, allocations: 79.78 kB / 0.4911 GB, free: 9.125 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.09308, allocations: 47.91 kB / 0.4912 GB, free: 9.078 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.465e-05/0.09317, allocations: 19.92 kB / 0.4912 GB, free: 9.059 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.53e-05/0.09322, allocations: 23.91 kB / 0.4912 GB, free: 9.035 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.09335, allocations: 27.86 kB / 0.4912 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.09338, allocations: 7.938 kB / 0.4912 GB, free: 9 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.09349, allocations: 51.95 kB / 0.4913 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.878e-05/0.09353, allocations: 8 kB / 0.4913 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.377e-05/0.09357, allocations: 19.88 kB / 0.4913 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001705/0.09375, allocations: 83.77 kB / 0.4914 GB, free: 8.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.09376, allocations: 0 / 0.4914 GB, free: 8.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.09377, allocations: 0 / 0.4914 GB, free: 8.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.09378, allocations: 0 / 0.4914 GB, free: 8.84 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.0004205/0.0942, allocations: 398.6 kB / 0.4918 GB, free: 8.406 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.09424, allocations: 15.83 kB / 0.4918 GB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.129e-05/0.09429, allocations: 4.938 kB / 0.4918 GB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.09446, allocations: 184.2 kB / 0.492 GB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.09448, allocations: 4.375 kB / 0.492 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.0945, allocations: 384 / 0.492 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.09465, allocations: 63.53 kB / 0.492 GB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.09467, allocations: 0 / 0.492 GB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.09469, allocations: 7.984 kB / 0.492 GB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.0947, allocations: 4 kB / 0.492 GB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.082e-05/0.09479, allocations: 27.91 kB / 0.4921 GB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000302/0.0951, allocations: 268.9 kB / 0.4923 GB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/0.0953, allocations: 38.56 kB / 0.4924 GB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.724e-05/0.09535, allocations: 16.86 kB / 0.4924 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.09538, allocations: 0 / 0.4924 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.09541, allocations: 42.5 kB / 0.4924 GB, free: 7.621 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.09541, allocations: 0 / 0.4924 GB, free: 7.621 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005176/0.09594, allocations: 137.5 kB / 0.4926 GB, free: 7.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.09599, allocations: 85.03 kB / 0.4926 GB, free: 7.379 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.09612, allocations: 133.8 kB / 0.4928 GB, free: 7.238 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.09614, allocations: 29.69 kB / 0.4928 GB, free: 7.203 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.48e-05/0.09619, allocations: 96.05 kB / 0.4929 GB, free: 7.105 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.759e-05/0.09621, allocations: 7.812 kB / 0.4929 GB, free: 7.098 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.57e-05/0.09625, allocations: 25.64 kB / 0.4929 GB, free: 7.066 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.691e-05/0.09635, allocations: 322.8 kB / 0.4932 GB, free: 6.742 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.246e-05/0.09642, allocations: 15.92 kB / 0.4932 GB, free: 6.727 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.771e-05/0.0965, allocations: 41.77 kB / 0.4933 GB, free: 6.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.09662, allocations: 44.83 kB / 0.4933 GB, free: 6.633 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.09663, allocations: 0 / 0.4933 GB, free: 6.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001672/0.0968, allocations: 81.52 kB / 0.4934 GB, free: 6.547 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.09682, allocations: 4 kB / 0.4934 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.09683, allocations: 0 / 0.4934 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.09685, allocations: 4.031 kB / 0.4934 GB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.19e-05/0.09692, allocations: 15.98 kB / 0.4934 GB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.09693, allocations: 0 / 0.4934 GB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.381e-05/0.09698, allocations: 11.98 kB / 0.4934 GB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.09699, 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 7.129e-05/0.09707, allocations: 125.7 kB / 0.4936 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.055e-05/0.0971, allocations: 4 kB / 0.4936 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002102/0.09732, allocations: 93.47 kB / 0.4936 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.09733, allocations: 4 kB / 0.4937 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.09734, allocations: 0 / 0.4937 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.09735, allocations: 0 / 0.4937 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003643/0.09772, allocations: 342.8 kB / 0.494 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.09773, allocations: 4.062 kB / 0.494 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.001e-05/0.09779, allocations: 12 kB / 0.494 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.0978, allocations: 3.984 kB / 0.494 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.09781, allocations: 4 kB / 0.494 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.09782, allocations: 3.938 kB / 0.494 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.09782, allocations: 0 / 0.494 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.09804, allocations: 171.5 kB / 0.4942 GB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.885e-05/0.09811, allocations: 85.02 kB / 0.4942 GB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.09813, allocations: 0 / 0.4942 GB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.189e-05/0.09821, allocations: 15.92 kB / 0.4943 GB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.131e-05/0.09825, allocations: 0 / 0.4943 GB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.421e-06/0.09826, allocations: 4 kB / 0.4943 GB, free: 5.547 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.444e-05/0.09834, allocations: 111.2 kB / 0.4944 GB, free: 5.438 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09834, allocations: 0 / 0.4944 GB, free: 5.438 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002415/0.09859, allocations: 16 kB / 0.4944 GB, free: 5.422 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.0009285/0.09952, allocations: 460.5 kB / 0.4948 GB, free: 5.012 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001978/0.09974, allocations: 47.91 kB / 0.4949 GB, free: 4.965 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.09975, allocations: 0 / 0.4949 GB, free: 4.965 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.82e-05/0.09982, 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.0003043/0.1001, allocations: 19.84 kB / 0.4949 GB, free: 4.922 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003282/0.1005, allocations: 179.1 kB / 0.4951 GB, free: 4.715 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.1008, allocations: 0.6924 MB / 0.4958 GB, free: 3.996 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.787e-05/0.1008, allocations: 19.38 kB / 0.4958 GB, free: 3.977 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1008, allocations: 0 / 0.4958 GB, free: 3.977 MB / 382.1 MB Notification: Performance of Templates: time 0.003084/0.1039, allocations: 1.544 MB / 0.4973 GB, free: 2.434 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches