Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009208/0.0009209, allocations: 171.2 kB / 8.739 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.43/1.43, allocations: 221.5 MB / 230.7 MB, free: 7.574 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.0009002/0.0009002, allocations: 91.36 kB / 281.6 MB, free: 5.328 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.1969/0.1969, allocations: 44.16 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.995e-05/1.998e-05, allocations: 4.219 kB / 444.6 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1737, allocations: 61.91 MB / 0.4947 GB, free: 1.273 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5119/0.6856, allocations: 90.02 MB / 0.5826 GB, free: 6.52 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003566/0.686, allocations: 67.95 kB / 0.5826 GB, free: 6.453 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02659/0.7127, allocations: 9.44 MB / 0.5919 GB, free: 13.01 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.7127, allocations: 0 / 0.5919 GB, free: 13.01 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.263e-05/0.7128, allocations: 16 kB / 0.5919 GB, free: 12.99 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009648/0.7138, allocations: 0.5507 MB / 0.5924 GB, free: 12.4 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.7138, allocations: 8.031 kB / 0.5924 GB, free: 12.39 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001481/0.714, allocations: 43.47 kB / 0.5925 GB, free: 12.35 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006301/0.7146, allocations: 339.6 kB / 0.5928 GB, free: 11.97 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.7147, allocations: 4 kB / 0.5928 GB, free: 11.97 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.989e-05/0.7147, allocations: 19.84 kB / 0.5928 GB, free: 11.95 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000162/0.7149, allocations: 55.92 kB / 0.5929 GB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.7151, allocations: 81.61 kB / 0.5929 GB, free: 11.81 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.7151, allocations: 8 kB / 0.593 GB, free: 11.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.7151, allocations: 0 / 0.593 GB, free: 11.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.7151, allocations: 0 / 0.593 GB, free: 11.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008031/0.7159, allocations: 480.8 kB / 0.5934 GB, free: 11.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/0.7161, allocations: 78.56 kB / 0.5935 GB, free: 11.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.06e-05/0.7162, allocations: 32.8 kB / 0.5935 GB, free: 11.17 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.371e-05/0.7162, allocations: 0 / 0.5935 GB, free: 11.17 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.7162, allocations: 34.52 kB / 0.5936 GB, free: 11.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.552e-06/0.7162, allocations: 4 kB / 0.5936 GB, free: 11.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008366/0.7171, allocations: 308.1 kB / 0.5939 GB, free: 10.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.7172, allocations: 55.41 kB / 0.5939 GB, free: 10.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005991/0.7178, allocations: 473.2 kB / 0.5944 GB, free: 10.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.7178, allocations: 25.7 kB / 0.5944 GB, free: 10.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.7179, allocations: 200.3 kB / 0.5946 GB, free: 10.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.479e-05/0.718, allocations: 63.12 kB / 0.5946 GB, free: 9.992 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.973e-06/0.718, allocations: 0 / 0.5946 GB, free: 9.992 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.7182, allocations: 350.8 kB / 0.595 GB, free: 9.641 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.192e-05/0.7183, allocations: 36 kB / 0.595 GB, free: 9.605 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.173e-05/0.7183, allocations: 41.25 kB / 0.595 GB, free: 9.566 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.894e-05/0.7184, allocations: 45.45 kB / 0.5951 GB, free: 9.523 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.7184, allocations: 0 / 0.5951 GB, free: 9.523 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004/0.7188, allocations: 165.2 kB / 0.5952 GB, free: 9.355 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.7189, allocations: 4 kB / 0.5952 GB, free: 9.352 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.7189, allocations: 7.938 kB / 0.5953 GB, free: 9.344 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.7189, allocations: 4 kB / 0.5953 GB, free: 9.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.7191, allocations: 35.97 kB / 0.5953 GB, free: 9.305 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.7191, allocations: 0 / 0.5953 GB, free: 9.305 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.7192, allocations: 15.91 kB / 0.5953 GB, free: 9.289 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.7192, allocations: 4 kB / 0.5953 GB, free: 9.285 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 (17): * Single equations (assignments): 17 * 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 9.124e-05/0.7193, allocations: 108.9 kB / 0.5954 GB, free: 9.172 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.733e-05/0.7194, allocations: 43.48 kB / 0.5955 GB, free: 9.129 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000372/0.7198, allocations: 202.5 kB / 0.5956 GB, free: 8.922 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.7198, allocations: 4 kB / 0.5957 GB, free: 8.918 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.7198, allocations: 4 kB / 0.5957 GB, free: 8.914 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.7199, allocations: 3.984 kB / 0.5957 GB, free: 8.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008564/0.7207, allocations: 0.6093 MB / 0.5963 GB, free: 8.258 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.7207, allocations: 0 / 0.5963 GB, free: 8.258 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.7209, allocations: 35.97 kB / 0.5963 GB, free: 8.223 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.7209, allocations: 3.938 kB / 0.5963 GB, free: 8.219 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.7209, allocations: 15.94 kB / 0.5963 GB, free: 8.203 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.7209, allocations: 0 / 0.5963 GB, free: 8.203 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.7209, allocations: 0 / 0.5963 GB, free: 8.203 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003491/0.7213, allocations: 268.3 kB / 0.5966 GB, free: 7.926 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001721/0.7215, allocations: 148.6 kB / 0.5967 GB, free: 7.762 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.742e-05/0.7215, allocations: 0 / 0.5967 GB, free: 7.762 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.7216, allocations: 11.98 kB / 0.5967 GB, free: 7.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.809e-05/0.7217, allocations: 11.98 kB / 0.5967 GB, free: 7.738 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.7217, allocations: 4 kB / 0.5967 GB, free: 7.734 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004494/0.7222, allocations: 382.9 kB / 0.5971 GB, free: 7.363 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7222, allocations: 0 / 0.5971 GB, free: 7.363 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003806/0.7226, allocations: 59.94 kB / 0.5972 GB, free: 7.305 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 (17): * Single equations (assignments): 17 * 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.001496/0.7241, allocations: 0.5794 MB / 0.5977 GB, free: 6.836 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002167/0.7243, allocations: 105.9 kB / 0.5978 GB, free: 6.734 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.7243, allocations: 0 / 0.5978 GB, free: 6.734 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.49e-05/0.7244, allocations: 63.92 kB / 0.5979 GB, free: 6.672 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004564/0.7249, allocations: 65.75 kB / 0.5979 GB, free: 6.609 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.7259, allocations: 0.496 MB / 0.5984 GB, free: 6.094 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004836/0.7264, allocations: 0.8101 MB / 0.5992 GB, free: 5.254 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002296/0.7266, allocations: 61.95 kB / 0.5993 GB, free: 5.191 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.7268, allocations: 35.42 kB / 0.5993 GB, free: 5.156 MB / 410.7 MB Notification: Performance of SimCode: time 4.91e-07/0.7268, allocations: 0 / 0.5993 GB, free: 5.156 MB / 410.7 MB Notification: Performance of Templates: time 0.007714/0.7345, allocations: 3.321 MB / 0.6026 GB, free: 1.844 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches