Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009076/0.0009076, allocations: 179.8 kB / 14.15 MB, free: 1.172 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.226/1.226, allocations: 221.4 MB / 236 MB, free: 2.98 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.0008484/0.0008484, allocations: 91.55 kB / 287 MB, free: 256 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.1741/0.1741, allocations: 44.15 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.858e-05/2.87e-05, allocations: 8.219 kB / 451.8 MB, free: 9.449 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1144, allocations: 61.92 MB / 0.5017 GB, free: 11.47 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3514/0.4658, allocations: 88.08 MB / 0.5877 GB, free: 1.285 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/0.4661, allocations: 76.59 kB / 0.5878 GB, free: 1.211 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01112/0.4772, allocations: 4.508 MB / 0.5922 GB, free: 12.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4773, allocations: 0 / 0.5922 GB, free: 12.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.454e-05/0.4773, allocations: 8 kB / 0.5922 GB, free: 12.71 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003894/0.4777, allocations: 402.2 kB / 0.5926 GB, free: 12.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.4777, allocations: 12.03 kB / 0.5926 GB, free: 12.26 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.393e-05/0.4778, allocations: 11.81 kB / 0.5926 GB, free: 12.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.478, allocations: 218.5 kB / 0.5928 GB, free: 11.99 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.4781, allocations: 3.953 kB / 0.5928 GB, free: 11.99 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.4781, allocations: 11.94 kB / 0.5928 GB, free: 11.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.4782, allocations: 49.62 kB / 0.5929 GB, free: 11.92 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.4782, allocations: 0 / 0.5929 GB, free: 11.92 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.4782, allocations: 0 / 0.5929 GB, free: 11.92 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.4783, allocations: 4 kB / 0.5929 GB, free: 11.92 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.151e-05/0.4783, allocations: 20 kB / 0.5929 GB, free: 11.9 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004226/0.4787, allocations: 320.7 kB / 0.5932 GB, free: 11.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.138e-05/0.4788, allocations: 38.52 kB / 0.5932 GB, free: 11.49 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.726e-05/0.4789, allocations: 12.86 kB / 0.5933 GB, free: 11.47 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.4789, allocations: 11.98 kB / 0.5933 GB, free: 11.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.4789, allocations: 34.64 kB / 0.5933 GB, free: 11.42 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.4789, allocations: 0 / 0.5933 GB, free: 11.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004922/0.4794, allocations: 177.1 kB / 0.5935 GB, free: 11.24 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.4795, allocations: 51.41 kB / 0.5935 GB, free: 11.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002643/0.4797, allocations: 241.5 kB / 0.5938 GB, free: 10.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.4798, allocations: 29.7 kB / 0.5938 GB, free: 10.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.934e-05/0.4798, allocations: 116.1 kB / 0.5939 GB, free: 10.78 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.4799, allocations: 27.56 kB / 0.5939 GB, free: 10.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/0.4799, allocations: 0 / 0.5939 GB, free: 10.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.48, allocations: 326.8 kB / 0.5942 GB, free: 10.42 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.813e-05/0.4801, allocations: 19.98 kB / 0.5942 GB, free: 10.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.36e-05/0.4801, allocations: 20 kB / 0.5943 GB, free: 10.38 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.695e-05/0.4802, allocations: 36.14 kB / 0.5943 GB, free: 10.35 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.4802, allocations: 0 / 0.5943 GB, free: 10.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001377/0.4803, allocations: 101.5 kB / 0.5944 GB, free: 10.24 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.4803, allocations: 9.094 kB / 0.5944 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.4803, allocations: 0 / 0.5944 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.4804, allocations: 4 kB / 0.5944 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.4805, allocations: 19.98 kB / 0.5944 GB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.4805, allocations: 0 / 0.5944 GB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.506e-05/0.4805, allocations: 4 kB / 0.5944 GB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.4806, allocations: 11.95 kB / 0.5944 GB, free: 10.2 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 (8): * Single equations (assignments): 8 * 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.217e-05/0.4806, allocations: 108.9 kB / 0.5945 GB, free: 10.08 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.62e-05/0.4807, allocations: 11.91 kB / 0.5946 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002294/0.4809, allocations: 123 kB / 0.5947 GB, free: 9.945 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.4809, allocations: 0 / 0.5947 GB, free: 9.945 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4809, allocations: 0 / 0.5947 GB, free: 9.945 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.4809, allocations: 3.984 kB / 0.5947 GB, free: 9.941 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004837/0.4814, allocations: 439.2 kB / 0.5951 GB, free: 9.453 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.4815, allocations: 4 kB / 0.5951 GB, free: 9.449 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.484e-05/0.4815, allocations: 15.98 kB / 0.5951 GB, free: 9.434 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.4815, allocations: 4 kB / 0.5951 GB, free: 9.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/0.4816, allocations: 3.938 kB / 0.5951 GB, free: 9.426 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.4816, allocations: 0 / 0.5951 GB, free: 9.426 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.4816, allocations: 7.953 kB / 0.5951 GB, free: 9.418 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/0.4818, allocations: 210.2 kB / 0.5953 GB, free: 9.188 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.774e-05/0.4819, allocations: 96.91 kB / 0.5954 GB, free: 9.074 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.163e-05/0.4819, allocations: 8 kB / 0.5954 GB, free: 9.066 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.617e-05/0.482, allocations: 7.953 kB / 0.5954 GB, free: 9.059 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.258e-05/0.482, allocations: 7.984 kB / 0.5954 GB, free: 9.051 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.482, allocations: 4 kB / 0.5955 GB, free: 9.047 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001657/0.4822, allocations: 196.4 kB / 0.5956 GB, free: 8.855 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4822, allocations: 0 / 0.5956 GB, free: 8.855 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002326/0.4824, allocations: 35.94 kB / 0.5957 GB, free: 8.82 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0008888/0.4833, allocations: 426.6 kB / 0.5961 GB, free: 8.512 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000128/0.4835, allocations: 55.98 kB / 0.5961 GB, free: 8.457 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4835, allocations: 0 / 0.5961 GB, free: 8.457 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.071e-05/0.4835, allocations: 35.92 kB / 0.5962 GB, free: 8.422 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.4837, allocations: 8.188 kB / 0.5962 GB, free: 8.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004271/0.4842, allocations: 251.6 kB / 0.5964 GB, free: 8.141 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.4845, allocations: 0.7277 MB / 0.5971 GB, free: 7.387 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.108e-05/0.4845, allocations: 24.95 kB / 0.5972 GB, free: 7.359 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.618e-05/0.4846, allocations: 27.36 kB / 0.5972 GB, free: 7.332 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4846, allocations: 0 / 0.5972 GB, free: 7.332 MB / 410.7 MB Notification: Performance of Templates: time 0.003491/0.4881, allocations: 1.492 MB / 0.5986 GB, free: 5.844 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches