Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009854/0.0009855, allocations: 175.1 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 221.5 MB / 230.7 MB, free: 7.527 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008448/0.0008449, allocations: 88.5 kB / 281.6 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.192/0.192, allocations: 44.16 MB / 376.5 MB, free: 3.035 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.733e-05/1.746e-05, allocations: 224 / 444.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1218, allocations: 61.92 MB / 0.4947 GB, free: 1.258 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3556/0.4775, allocations: 87.51 MB / 0.5801 GB, free: 9.02 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/0.4778, allocations: 67.97 kB / 0.5802 GB, free: 8.953 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01074/0.4885, allocations: 4.151 MB / 0.5842 GB, free: 4.82 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4886, allocations: 0 / 0.5842 GB, free: 4.82 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.4886, allocations: 0 / 0.5842 GB, free: 4.82 MB / 394.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.0003623/0.489, allocations: 361.4 kB / 0.5846 GB, free: 4.426 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.489, allocations: 11.98 kB / 0.5846 GB, free: 4.414 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.256e-05/0.4891, allocations: 7.906 kB / 0.5846 GB, free: 4.406 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002388/0.4893, allocations: 190.9 kB / 0.5848 GB, free: 4.18 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.4893, allocations: 0 / 0.5848 GB, free: 4.18 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/0.4894, allocations: 4 kB / 0.5848 GB, free: 4.176 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.774e-05/0.4894, allocations: 19.94 kB / 0.5848 GB, free: 4.156 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.689e-05/0.4895, allocations: 47.42 kB / 0.5849 GB, free: 4.098 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.4896, allocations: 0 / 0.5849 GB, free: 4.098 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.4896, allocations: 4 kB / 0.5849 GB, free: 4.094 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.4896, allocations: 3.984 kB / 0.5849 GB, free: 4.09 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003328/0.4899, allocations: 249.4 kB / 0.5851 GB, free: 3.809 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.4901, allocations: 46.45 kB / 0.5851 GB, free: 3.754 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.345e-05/0.4901, allocations: 12.86 kB / 0.5852 GB, free: 3.738 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.4902, allocations: 4 kB / 0.5852 GB, free: 3.734 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.4902, allocations: 30.56 kB / 0.5852 GB, free: 3.695 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.4902, allocations: 0 / 0.5852 GB, free: 3.695 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003752/0.4906, allocations: 101.4 kB / 0.5853 GB, free: 3.59 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.4906, allocations: 77.11 kB / 0.5854 GB, free: 3.496 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.4908, allocations: 119.1 kB / 0.5855 GB, free: 3.375 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.4908, allocations: 25.7 kB / 0.5855 GB, free: 3.344 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.876e-05/0.4908, allocations: 100.1 kB / 0.5856 GB, free: 3.242 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.848e-05/0.4909, allocations: 11.75 kB / 0.5856 GB, free: 3.23 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/0.4909, allocations: 0 / 0.5856 GB, free: 3.23 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.491, allocations: 323.6 kB / 0.5859 GB, free: 2.906 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.019e-05/0.491, allocations: 8 kB / 0.5859 GB, free: 2.898 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.824e-05/0.4911, allocations: 25.78 kB / 0.5859 GB, free: 2.867 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.72e-05/0.4911, allocations: 8 kB / 0.586 GB, free: 2.859 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.4911, allocations: 0 / 0.586 GB, free: 2.859 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.831e-05/0.4912, allocations: 73.52 kB / 0.586 GB, free: 2.781 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.4912, allocations: 4 kB / 0.586 GB, free: 2.777 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.4912, allocations: 0 / 0.586 GB, free: 2.777 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.4913, allocations: 3.938 kB / 0.586 GB, free: 2.773 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.827e-05/0.4913, allocations: 15.98 kB / 0.586 GB, free: 2.758 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.4913, allocations: 0 / 0.586 GB, free: 2.758 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.408e-05/0.4914, allocations: 8 kB / 0.5861 GB, free: 2.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.4914, allocations: 0 / 0.5861 GB, free: 2.75 MB / 394.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 () * 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 6.733e-05/0.4915, allocations: 105 kB / 0.5862 GB, free: 2.641 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.958e-05/0.4915, allocations: 11.86 kB / 0.5862 GB, free: 2.629 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001403/0.4917, allocations: 74.02 kB / 0.5862 GB, free: 2.547 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.4917, allocations: 0 / 0.5862 GB, free: 2.547 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.4917, allocations: 0 / 0.5862 GB, free: 2.547 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.4917, allocations: 0 / 0.5862 GB, free: 2.547 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002972/0.492, allocations: 299.1 kB / 0.5865 GB, free: 2.211 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.492, allocations: 0 / 0.5865 GB, free: 2.211 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.252e-05/0.4921, allocations: 19.98 kB / 0.5865 GB, free: 2.191 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.4921, allocations: 0 / 0.5865 GB, free: 2.191 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.4921, allocations: 3.938 kB / 0.5865 GB, free: 2.188 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.4921, allocations: 3.938 kB / 0.5865 GB, free: 2.184 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4921, allocations: 320 / 0.5865 GB, free: 2.184 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001351/0.4923, allocations: 159.5 kB / 0.5867 GB, free: 2.012 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.066e-05/0.4923, allocations: 88.97 kB / 0.5868 GB, free: 1.906 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.4923, allocations: 7.984 kB / 0.5868 GB, free: 1.898 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.262e-05/0.4924, allocations: 4 kB / 0.5868 GB, free: 1.895 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/0.4925, allocations: 4 kB / 0.5868 GB, free: 1.891 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.4925, allocations: 0 / 0.5868 GB, free: 1.891 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.302e-05/0.4925, allocations: 103.3 kB / 0.5869 GB, free: 1.789 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4925, allocations: 4 kB / 0.5869 GB, free: 1.785 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002523/0.4928, allocations: 23.98 kB / 0.5869 GB, free: 1.762 MB / 394.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 () * 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.0007877/0.4936, allocations: 388.6 kB / 0.5873 GB, free: 1.449 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.175e-05/0.4937, allocations: 28 kB / 0.5873 GB, free: 1.422 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.4937, allocations: 0 / 0.5873 GB, free: 1.422 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.559e-05/0.4937, allocations: 16 kB / 0.5873 GB, free: 1.406 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001895/0.4939, allocations: 11.98 kB / 0.5873 GB, free: 1.395 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002474/0.4942, allocations: 95.94 kB / 0.5874 GB, free: 1.273 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/0.4944, allocations: 0.6924 MB / 0.5881 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.387e-05/0.4945, allocations: 12.17 kB / 0.5881 GB, free: 0.543 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.622e-05/0.4945, allocations: 19.42 kB / 0.5881 GB, free: 0.5234 MB / 394.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4946, allocations: 0 / 0.5881 GB, free: 0.5234 MB / 394.7 MB Notification: Performance of Templates: time 0.003526/0.4981, allocations: 1.224 MB / 0.5893 GB, free: 15.3 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches