Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.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.CombiTable2Ds.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.263/1.263, allocations: 221.3 MB / 236 MB, free: 2.945 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.0008929/0.0008927, allocations: 99.22 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1968/0.1968, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.869e-05/2.881e-05, allocations: 4.219 kB / 451.8 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1092, allocations: 61.91 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3752/0.4844, allocations: 88.47 MB / 0.5881 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/0.4847, allocations: 71.95 kB / 0.5882 GB, free: 0.7852 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01098/0.4957, allocations: 4.562 MB / 0.5926 GB, free: 12.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.4957, allocations: 0 / 0.5926 GB, free: 12.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.4957, allocations: 4 kB / 0.5926 GB, free: 12.23 MB / 410.7 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.0003546/0.4961, allocations: 406.2 kB / 0.593 GB, free: 11.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.4962, allocations: 8.031 kB / 0.593 GB, free: 11.78 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.355e-05/0.4962, allocations: 7.906 kB / 0.593 GB, free: 11.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.4964, allocations: 194.9 kB / 0.5932 GB, free: 11.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.4964, allocations: 7.953 kB / 0.5932 GB, free: 11.53 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.4965, allocations: 8 kB / 0.5932 GB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.4966, allocations: 49.69 kB / 0.5933 GB, free: 11.47 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.4966, allocations: 7.938 kB / 0.5933 GB, free: 11.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.4966, allocations: 4 kB / 0.5933 GB, free: 11.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.4966, allocations: 4 kB / 0.5933 GB, free: 11.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.561e-05/0.4967, allocations: 19.98 kB / 0.5933 GB, free: 11.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003612/0.4971, allocations: 308.6 kB / 0.5936 GB, free: 11.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.4972, allocations: 50.61 kB / 0.5937 GB, free: 11.03 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.067e-05/0.4973, allocations: 16.98 kB / 0.5937 GB, free: 11.01 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.4973, allocations: 3.984 kB / 0.5937 GB, free: 11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.4973, allocations: 34.56 kB / 0.5937 GB, free: 10.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.4973, allocations: 0 / 0.5937 GB, free: 10.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005699/0.4979, allocations: 221 kB / 0.5939 GB, free: 10.74 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.4979, allocations: 51.41 kB / 0.594 GB, free: 10.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.4981, allocations: 162.2 kB / 0.5941 GB, free: 10.51 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.4981, allocations: 25.7 kB / 0.5942 GB, free: 10.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.939e-05/0.4982, allocations: 104.1 kB / 0.5943 GB, free: 10.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.202e-05/0.4982, allocations: 43.39 kB / 0.5943 GB, free: 10.33 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-06/0.4982, allocations: 0 / 0.5943 GB, free: 10.33 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.554e-05/0.4983, allocations: 322.8 kB / 0.5946 GB, free: 10.01 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.499e-05/0.4984, allocations: 28 kB / 0.5946 GB, free: 9.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.167e-05/0.4984, allocations: 26.41 kB / 0.5947 GB, free: 9.957 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.778e-05/0.4985, allocations: 27.94 kB / 0.5947 GB, free: 9.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.4985, allocations: 0 / 0.5947 GB, free: 9.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001408/0.4986, allocations: 105.6 kB / 0.5948 GB, free: 9.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.4987, allocations: 7.938 kB / 0.5948 GB, free: 9.812 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.4987, allocations: 0 / 0.5948 GB, free: 9.812 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.4987, allocations: 0 / 0.5948 GB, free: 9.812 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.4988, allocations: 35.92 kB / 0.5948 GB, free: 9.777 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.4988, allocations: 3.953 kB / 0.5948 GB, free: 9.773 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.208e-05/0.4989, allocations: 19.98 kB / 0.5948 GB, free: 9.754 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.4989, allocations: 0 / 0.5948 GB, free: 9.754 MB / 410.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 (11): * Single equations (assignments): 11 * 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 5.867e-05/0.499, allocations: 109 kB / 0.5949 GB, free: 9.641 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.295e-05/0.499, allocations: 11.81 kB / 0.595 GB, free: 9.629 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002185/0.4993, allocations: 134.2 kB / 0.5951 GB, free: 9.492 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.4993, allocations: 0 / 0.5951 GB, free: 9.492 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.4993, allocations: 7.938 kB / 0.5951 GB, free: 9.484 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.854e-06/0.4993, allocations: 3.953 kB / 0.5951 GB, free: 9.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004767/0.4998, allocations: 444.1 kB / 0.5955 GB, free: 8.984 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.4998, allocations: 0 / 0.5955 GB, free: 8.984 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.4999, allocations: 39.97 kB / 0.5956 GB, free: 8.945 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.4999, allocations: 0 / 0.5956 GB, free: 8.945 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.4999, allocations: 8.328 kB / 0.5956 GB, free: 8.938 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.4999, allocations: 0 / 0.5956 GB, free: 8.938 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4999, allocations: 0 / 0.5956 GB, free: 8.938 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002097/0.5002, allocations: 249 kB / 0.5958 GB, free: 8.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.622e-05/0.5002, allocations: 92.98 kB / 0.5959 GB, free: 8.551 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.5003, allocations: 8 kB / 0.5959 GB, free: 8.543 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.908e-05/0.5004, allocations: 15.98 kB / 0.5959 GB, free: 8.527 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.5004, allocations: 7.984 kB / 0.5959 GB, free: 8.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.273e-06/0.5004, allocations: 4 kB / 0.5959 GB, free: 8.516 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001072/0.5005, allocations: 150.4 kB / 0.5961 GB, free: 8.371 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5005, allocations: 0 / 0.5961 GB, free: 8.371 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002301/0.5008, allocations: 35.84 kB / 0.5961 GB, free: 8.336 MB / 410.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0009292/0.5017, allocations: 430.8 kB / 0.5965 GB, free: 8.031 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001342/0.5019, allocations: 68 kB / 0.5966 GB, free: 7.965 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.5019, allocations: 0 / 0.5966 GB, free: 7.965 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.963e-05/0.5019, allocations: 43.92 kB / 0.5966 GB, free: 7.922 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001928/0.5021, allocations: 19.94 kB / 0.5966 GB, free: 7.902 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003797/0.5025, allocations: 195.7 kB / 0.5968 GB, free: 7.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.5029, allocations: 0.7082 MB / 0.5975 GB, free: 6.945 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.33e-05/0.503, allocations: 20.41 kB / 0.5975 GB, free: 6.922 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.942e-05/0.503, allocations: 27.42 kB / 0.5976 GB, free: 6.895 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.503, allocations: 0 / 0.5976 GB, free: 6.895 MB / 410.7 MB Notification: Performance of Templates: time 0.003729/0.5068, allocations: 1.502 MB / 0.599 GB, free: 5.398 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test26/Test26.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches