Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 170.4 kB / 8.74 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.416/1.416, allocations: 221.5 MB / 230.7 MB, free: 7.562 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.000858/0.0008579, allocations: 103 kB / 281.6 MB, free: 5.32 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.1975/0.1975, allocations: 44.16 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.225e-05/2.228e-05, allocations: 4.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1376, allocations: 61.91 MB / 0.4947 GB, free: 1.25 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4359/0.5735, allocations: 88.84 MB / 0.5814 GB, free: 7.691 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004048/0.574, allocations: 72.72 kB / 0.5815 GB, free: 7.621 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02255/0.5966, allocations: 8.82 MB / 0.5901 GB, free: 14.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.5967, allocations: 0 / 0.5901 GB, free: 14.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.615e-05/0.5967, allocations: 8 kB / 0.5901 GB, free: 14.79 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007245/0.5974, allocations: 0.6233 MB / 0.5907 GB, free: 14.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.5975, allocations: 8.031 kB / 0.5907 GB, free: 14.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.398e-05/0.5976, allocations: 59.34 kB / 0.5908 GB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007248/0.5983, allocations: 467 kB / 0.5912 GB, free: 13.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.5983, allocations: 0 / 0.5912 GB, free: 13.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.534e-05/0.5984, allocations: 8 kB / 0.5912 GB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001437/0.5985, allocations: 51.98 kB / 0.5913 GB, free: 13.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.5987, allocations: 107.2 kB / 0.5914 GB, free: 13.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.5987, allocations: 7.938 kB / 0.5914 GB, free: 13.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.5987, allocations: 0 / 0.5914 GB, free: 13.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.5988, allocations: 0 / 0.5914 GB, free: 13.37 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008705/0.5996, allocations: 0.6741 MB / 0.5921 GB, free: 12.65 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.5998, allocations: 89.27 kB / 0.5921 GB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.997e-05/0.5998, allocations: 33.78 kB / 0.5922 GB, free: 12.51 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.5999, allocations: 7.953 kB / 0.5922 GB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/0.5999, allocations: 30.56 kB / 0.5922 GB, free: 12.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 2.725e-06/0.5999, allocations: 3.984 kB / 0.5922 GB, free: 12.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009661/0.6009, allocations: 426.2 kB / 0.5926 GB, free: 12.03 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.6009, allocations: 81.11 kB / 0.5927 GB, free: 11.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008152/0.6017, allocations: 0.7404 MB / 0.5934 GB, free: 11.19 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.244e-05/0.6018, allocations: 25.7 kB / 0.5935 GB, free: 11.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001757/0.602, allocations: 256.2 kB / 0.5937 GB, free: 10.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.83e-05/0.602, allocations: 51.2 kB / 0.5937 GB, free: 10.85 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.145e-06/0.6021, allocations: 4 kB / 0.5938 GB, free: 10.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.6022, allocations: 366.8 kB / 0.5941 GB, free: 10.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.258e-05/0.6023, allocations: 36 kB / 0.5941 GB, free: 10.44 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.853e-05/0.6023, allocations: 45.7 kB / 0.5942 GB, free: 10.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.553e-05/0.6024, allocations: 43.97 kB / 0.5942 GB, free: 10.35 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.6024, allocations: 3.938 kB / 0.5942 GB, free: 10.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002424/0.6027, allocations: 173 kB / 0.5944 GB, free: 10.17 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.6027, allocations: 4 kB / 0.5944 GB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.6027, allocations: 11.98 kB / 0.5944 GB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.6027, allocations: 0 / 0.5944 GB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001939/0.6029, allocations: 39.97 kB / 0.5944 GB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.603, allocations: 0 / 0.5944 GB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.6031, allocations: 15.91 kB / 0.5945 GB, free: 10.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.6031, allocations: 7.984 kB / 0.5945 GB, free: 10.09 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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 8.062e-05/0.6032, allocations: 117.1 kB / 0.5946 GB, free: 9.969 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.72e-05/0.6033, allocations: 55.3 kB / 0.5946 GB, free: 9.914 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003659/0.6037, allocations: 218.3 kB / 0.5948 GB, free: 9.691 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.6037, allocations: 0 / 0.5948 GB, free: 9.691 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.6037, allocations: 0 / 0.5948 GB, free: 9.691 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.6037, allocations: 7.938 kB / 0.5948 GB, free: 9.684 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008793/0.6046, allocations: 0.7754 MB / 0.5956 GB, free: 8.863 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.6046, allocations: 0 / 0.5956 GB, free: 8.863 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001652/0.6048, allocations: 35.97 kB / 0.5956 GB, free: 8.828 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.6048, allocations: 4 kB / 0.5956 GB, free: 8.824 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.6048, allocations: 4 kB / 0.5956 GB, free: 8.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.6048, allocations: 7.984 kB / 0.5957 GB, free: 8.812 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.6048, allocations: 0 / 0.5957 GB, free: 8.812 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003221/0.6052, allocations: 367.8 kB / 0.596 GB, free: 8.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001773/0.6053, allocations: 172.4 kB / 0.5962 GB, free: 8.242 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.319e-05/0.6054, allocations: 0 / 0.5962 GB, free: 8.242 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001898/0.6056, allocations: 19.98 kB / 0.5962 GB, free: 8.223 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.581e-05/0.6057, allocations: 15.98 kB / 0.5962 GB, free: 8.207 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.6057, allocations: 7.984 kB / 0.5962 GB, free: 8.199 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006253/0.6063, allocations: 0.577 MB / 0.5968 GB, free: 7.625 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6063, allocations: 0 / 0.5968 GB, free: 7.625 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003541/0.6067, allocations: 67.94 kB / 0.5968 GB, free: 7.559 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 (16): * Single equations (assignments): 16 * 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.0007652/0.6075, allocations: 340.5 kB / 0.5972 GB, free: 7.293 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002086/0.6077, allocations: 102.1 kB / 0.5973 GB, free: 7.195 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.6077, allocations: 3.938 kB / 0.5973 GB, free: 7.191 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.412e-05/0.6078, allocations: 59.92 kB / 0.5973 GB, free: 7.133 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004375/0.6082, allocations: 65.92 kB / 0.5974 GB, free: 7.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.6093, allocations: 0.6846 MB / 0.5981 GB, free: 6.355 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003912/0.6097, allocations: 0.8613 MB / 0.5989 GB, free: 5.469 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002189/0.6099, allocations: 87.86 kB / 0.599 GB, free: 5.379 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/0.61, allocations: 43.36 kB / 0.599 GB, free: 5.336 MB / 410.7 MB Notification: Performance of SimCode: time 7.42e-07/0.6101, allocations: 0 / 0.599 GB, free: 5.336 MB / 410.7 MB Notification: Performance of Templates: time 0.007824/0.6179, allocations: 3.736 MB / 0.6027 GB, free: 1.617 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches