Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001095/0.001095, 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.282/1.282, allocations: 221.3 MB / 236 MB, free: 2.938 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.0008458/0.0008458, allocations: 102.7 kB / 287 MB, free: 228 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.1804/0.1804, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.905e-05/2.92e-05, allocations: 8.219 kB / 451.8 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1206, allocations: 61.92 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3788/0.4995, allocations: 88.65 MB / 0.5883 GB, free: 0.6445 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002167/0.4997, allocations: 71.97 kB / 0.5884 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01119/0.5109, allocations: 4.442 MB / 0.5927 GB, free: 12.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.511, allocations: 0 / 0.5927 GB, free: 12.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.458e-06/0.511, allocations: 0 / 0.5927 GB, free: 12.14 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.0003665/0.5114, allocations: 386.3 kB / 0.5931 GB, free: 11.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.5114, allocations: 8.031 kB / 0.5931 GB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.004e-05/0.5115, allocations: 7.906 kB / 0.5931 GB, free: 11.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002299/0.5117, allocations: 196.4 kB / 0.5933 GB, free: 11.47 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.5117, allocations: 3.953 kB / 0.5933 GB, free: 11.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/0.5117, allocations: 8 kB / 0.5933 GB, free: 11.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.5119, allocations: 67.38 kB / 0.5933 GB, free: 11.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.5119, allocations: 3.938 kB / 0.5933 GB, free: 11.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.512, allocations: 4 kB / 0.5933 GB, free: 11.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.512, allocations: 0 / 0.5933 GB, free: 11.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.755e-05/0.512, allocations: 16 kB / 0.5934 GB, free: 11.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004662/0.5125, allocations: 292.7 kB / 0.5936 GB, free: 11.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.547e-05/0.5126, allocations: 38.52 kB / 0.5937 GB, free: 10.97 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.277e-05/0.5127, allocations: 12.86 kB / 0.5937 GB, free: 10.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.5127, allocations: 4 kB / 0.5937 GB, free: 10.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.5127, allocations: 34.56 kB / 0.5937 GB, free: 10.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.5127, allocations: 0 / 0.5937 GB, free: 10.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005175/0.5132, allocations: 141.5 kB / 0.5939 GB, free: 10.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.607e-05/0.5133, allocations: 80.94 kB / 0.5939 GB, free: 10.67 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.5135, allocations: 137.9 kB / 0.5941 GB, free: 10.53 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.5135, allocations: 29.64 kB / 0.5941 GB, free: 10.49 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.701e-05/0.5136, allocations: 92.14 kB / 0.5942 GB, free: 10.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.6e-05/0.5137, allocations: 23.7 kB / 0.5942 GB, free: 10.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/0.5137, allocations: 0 / 0.5942 GB, free: 10.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.5138, allocations: 322.8 kB / 0.5945 GB, free: 10.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.351e-05/0.5139, allocations: 12 kB / 0.5945 GB, free: 10.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.519e-05/0.5139, allocations: 29.72 kB / 0.5946 GB, free: 10 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.533e-05/0.514, allocations: 16.03 kB / 0.5946 GB, free: 9.988 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.514, allocations: 0 / 0.5946 GB, free: 9.988 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001252/0.5141, allocations: 81.52 kB / 0.5946 GB, free: 9.902 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.5141, allocations: 5.406 kB / 0.5947 GB, free: 9.898 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.5141, allocations: 0 / 0.5947 GB, free: 9.898 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.5142, allocations: 0 / 0.5947 GB, free: 9.898 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.5143, allocations: 23.98 kB / 0.5947 GB, free: 9.875 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.5143, allocations: 0 / 0.5947 GB, free: 9.875 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.231e-05/0.5144, allocations: 27.92 kB / 0.5947 GB, free: 9.848 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.5144, allocations: 3.953 kB / 0.5947 GB, free: 9.844 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 (7): * Single equations (assignments): 7 * 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 7e-05/0.5145, allocations: 105 kB / 0.5948 GB, free: 9.734 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-05/0.5145, allocations: 7.906 kB / 0.5948 GB, free: 9.727 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001705/0.5147, allocations: 90.23 kB / 0.5949 GB, free: 9.633 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.5147, allocations: 0 / 0.5949 GB, free: 9.633 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.5147, allocations: 7.984 kB / 0.5949 GB, free: 9.625 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.5147, allocations: 0 / 0.5949 GB, free: 9.625 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003503/0.5151, allocations: 354.9 kB / 0.5952 GB, free: 9.223 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.5151, allocations: 0 / 0.5952 GB, free: 9.223 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.823e-05/0.5152, allocations: 27.92 kB / 0.5953 GB, free: 9.195 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.5152, allocations: 0 / 0.5953 GB, free: 9.195 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.5152, allocations: 0 / 0.5953 GB, free: 9.195 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.5152, allocations: 4 kB / 0.5953 GB, free: 9.191 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.5152, allocations: 7.984 kB / 0.5953 GB, free: 9.184 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000165/0.5154, allocations: 175.5 kB / 0.5955 GB, free: 8.996 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.975e-05/0.5155, allocations: 85.02 kB / 0.5955 GB, free: 8.895 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.5155, allocations: 7.922 kB / 0.5955 GB, free: 8.887 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.565e-05/0.5156, allocations: 20 kB / 0.5956 GB, free: 8.867 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.519e-05/0.5156, allocations: 3.984 kB / 0.5956 GB, free: 8.863 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.587e-06/0.5157, allocations: 8 kB / 0.5956 GB, free: 8.855 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.293e-05/0.5157, allocations: 113.3 kB / 0.5957 GB, free: 8.746 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5157, allocations: 0 / 0.5957 GB, free: 8.746 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000234/0.516, allocations: 24 kB / 0.5957 GB, free: 8.723 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 (7): * Single equations (assignments): 7 * 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.000929/0.5169, allocations: 418.8 kB / 0.5961 GB, free: 8.418 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000129/0.5171, allocations: 43.97 kB / 0.5961 GB, free: 8.375 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.5171, allocations: 4 kB / 0.5961 GB, free: 8.371 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.937e-05/0.5171, allocations: 23.94 kB / 0.5962 GB, free: 8.348 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.5173, allocations: 11.09 kB / 0.5962 GB, free: 8.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003156/0.5176, allocations: 129.7 kB / 0.5963 GB, free: 8.191 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/0.5179, allocations: 0.6965 MB / 0.597 GB, free: 7.469 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.995e-05/0.518, allocations: 20.23 kB / 0.597 GB, free: 7.449 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.953e-05/0.5181, allocations: 15.42 kB / 0.597 GB, free: 7.434 MB / 410.7 MB Notification: Performance of SimCode: time 2.7e-07/0.5181, allocations: 4 kB / 0.597 GB, free: 7.43 MB / 410.7 MB Notification: Performance of Templates: time 0.003745/0.5218, allocations: 1.429 MB / 0.5984 GB, free: 6.004 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test10/Test10.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches