Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.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.Test19,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.CombiTable1Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test19,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.CombiTable1Dv.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009513/0.0009512, allocations: 178.7 kB / 14.15 MB, free: 1.168 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.281/1.281, allocations: 221.3 MB / 236 MB, free: 2.949 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.0007786/0.0007786, allocations: 91.8 kB / 287 MB, free: 232 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.1759/0.1759, allocations: 44.14 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.447e-05/2.462e-05, allocations: 4.219 kB / 451.8 MB, free: 9.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1114, allocations: 61.91 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3848/0.4963, allocations: 88.27 MB / 0.5879 GB, free: 1.047 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/0.4966, allocations: 75.95 kB / 0.588 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01085/0.5074, allocations: 4.296 MB / 0.5922 GB, free: 12.69 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.5075, allocations: 0 / 0.5922 GB, free: 12.69 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.746e-06/0.5075, allocations: 0 / 0.5922 GB, free: 12.69 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003287/0.5078, allocations: 362.4 kB / 0.5925 GB, free: 12.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.5078, allocations: 8.031 kB / 0.5925 GB, free: 12.28 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.354e-05/0.5079, allocations: 7.906 kB / 0.5925 GB, free: 12.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.5081, allocations: 186.9 kB / 0.5927 GB, free: 12.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.5081, allocations: 8 kB / 0.5927 GB, free: 12.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.5081, allocations: 4 kB / 0.5927 GB, free: 12.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.5082, allocations: 63.3 kB / 0.5928 GB, free: 11.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.5083, allocations: 0 / 0.5928 GB, free: 11.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.5083, allocations: 4 kB / 0.5928 GB, free: 11.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.5083, allocations: 0 / 0.5928 GB, free: 11.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.55e-05/0.5083, allocations: 19.94 kB / 0.5928 GB, free: 11.94 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003368/0.5087, allocations: 280.9 kB / 0.5931 GB, free: 11.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.5088, allocations: 46.5 kB / 0.5931 GB, free: 11.56 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.428e-05/0.5089, allocations: 8.859 kB / 0.5931 GB, free: 11.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.5089, allocations: 7.922 kB / 0.5931 GB, free: 11.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.5089, allocations: 34.66 kB / 0.5932 GB, free: 11.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.5089, allocations: 4 kB / 0.5932 GB, free: 11.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003471/0.5093, allocations: 105.4 kB / 0.5933 GB, free: 11.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.5093, allocations: 89.03 kB / 0.5934 GB, free: 11.28 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.971e-05/0.5095, allocations: 118.4 kB / 0.5935 GB, free: 11.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.5095, allocations: 29.69 kB / 0.5935 GB, free: 11.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.885e-05/0.5095, allocations: 92.14 kB / 0.5936 GB, free: 11.03 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.709e-05/0.5096, allocations: 11.75 kB / 0.5936 GB, free: 11.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-06/0.5096, allocations: 8 kB / 0.5936 GB, free: 11.01 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.5097, allocations: 318.8 kB / 0.5939 GB, free: 10.69 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.568e-05/0.5097, allocations: 8 kB / 0.5939 GB, free: 10.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.068e-05/0.5098, allocations: 29.72 kB / 0.5939 GB, free: 10.65 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.346e-05/0.5098, allocations: 19.94 kB / 0.594 GB, free: 10.63 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.5098, allocations: 0 / 0.594 GB, free: 10.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.495e-05/0.5099, allocations: 65.59 kB / 0.594 GB, free: 10.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.5099, allocations: 4 kB / 0.594 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.5099, allocations: 32 / 0.594 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.358e-06/0.5099, allocations: 7.938 kB / 0.594 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.631e-05/0.51, allocations: 15.98 kB / 0.5941 GB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.51, allocations: 0 / 0.5941 GB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.607e-05/0.5101, allocations: 12 kB / 0.5941 GB, free: 10.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.5101, allocations: 3.984 kB / 0.5941 GB, free: 10.52 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 (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 5.656e-05/0.5102, allocations: 104.9 kB / 0.5942 GB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.913e-05/0.5102, allocations: 8.156 kB / 0.5942 GB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001468/0.5103, allocations: 89.75 kB / 0.5943 GB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.614e-06/0.5104, allocations: 0 / 0.5943 GB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.5104, allocations: 0 / 0.5943 GB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.5104, allocations: 7.938 kB / 0.5943 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003185/0.5107, allocations: 334.5 kB / 0.5946 GB, free: 9.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.5107, allocations: 0 / 0.5946 GB, free: 9.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.325e-05/0.5108, allocations: 15.98 kB / 0.5946 GB, free: 9.895 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.5108, allocations: 4 kB / 0.5946 GB, free: 9.891 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.5108, allocations: 3.938 kB / 0.5946 GB, free: 9.887 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.5108, allocations: 3.938 kB / 0.5946 GB, free: 9.883 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.5108, allocations: 4 kB / 0.5946 GB, free: 9.879 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.511, allocations: 171.3 kB / 0.5948 GB, free: 9.695 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.946e-05/0.511, allocations: 81.02 kB / 0.5949 GB, free: 9.598 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.511, allocations: 8 kB / 0.5949 GB, free: 9.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.186e-05/0.5111, allocations: 11.98 kB / 0.5949 GB, free: 9.578 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.099e-05/0.5111, allocations: 0 / 0.5949 GB, free: 9.578 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.5112, allocations: 4 kB / 0.5949 GB, free: 9.574 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.447e-05/0.5112, allocations: 106.8 kB / 0.595 GB, free: 9.473 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5112, allocations: 0 / 0.595 GB, free: 9.473 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002278/0.5115, allocations: 28 kB / 0.595 GB, free: 9.445 MB / 410.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.0008239/0.5123, allocations: 415.4 kB / 0.5954 GB, free: 9.141 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001034/0.5124, allocations: 35.98 kB / 0.5954 GB, free: 9.105 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.5124, allocations: 4 kB / 0.5954 GB, free: 9.102 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.139e-05/0.5125, allocations: 16 kB / 0.5955 GB, free: 9.086 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001814/0.5127, allocations: 15.94 kB / 0.5955 GB, free: 9.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000258/0.5129, allocations: 105.5 kB / 0.5956 GB, free: 8.941 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002455/0.5132, allocations: 0.7004 MB / 0.5963 GB, free: 8.215 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.159e-05/0.5132, allocations: 12.17 kB / 0.5963 GB, free: 8.203 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.358e-05/0.5133, allocations: 15.44 kB / 0.5963 GB, free: 8.188 MB / 410.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5133, allocations: 0 / 0.5963 GB, free: 8.188 MB / 410.7 MB Notification: Performance of Templates: time 0.003362/0.5167, allocations: 1.289 MB / 0.5975 GB, free: 6.902 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test19/Test19.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches