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.001184/0.001184, allocations: 186.9 kB / 17.97 MB, free: 3.797 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.409/1.409, allocations: 222.9 MB / 241.6 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 105 kB / 291.9 MB, free: 10.97 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.3435/0.3435, allocations: 44.13 MB / 386.1 MB, free: 38.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001018/0.001018, allocations: 59.84 kB / 457.7 MB, free: 2.336 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.3684, allocations: 60.8 MB / 0.5064 GB, free: 38.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.003487/0.372, allocations: 2.018 MB / 0.5084 GB, free: 36.83 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001497/0.3735, allocations: 1.014 MB / 0.5093 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.992e-05/0.3736, allocations: 2.656 kB / 0.5094 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000259/0.3739, allocations: 27.78 kB / 0.5094 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003125/0.3742, allocations: 136 kB / 0.5095 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007992/0.375, allocations: 404.1 kB / 0.5099 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002668/0.3753, allocations: 244.7 kB / 0.5101 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/0.3755, allocations: 50.73 kB / 0.5102 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001483/0.3756, allocations: 115.4 kB / 0.5103 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001908/0.3758, allocations: 173 kB / 0.5104 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.428e-05/0.3759, allocations: 7.969 kB / 0.5105 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.376, allocations: 54.86 kB / 0.5105 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001318/0.3761, allocations: 141.2 kB / 0.5106 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.3762, allocations: 149.5 kB / 0.5108 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002856/0.3765, allocations: 339.6 kB / 0.5111 GB, free: 35.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3765, allocations: 2.812 kB / 0.5111 GB, free: 35.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.3765, allocations: 4 kB / 0.5111 GB, free: 35.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.3766, allocations: 0 / 0.5111 GB, free: 35.34 MB / 378.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.0008265/0.3774, allocations: 0.7312 MB / 0.5118 GB, free: 34.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.3774, allocations: 8.875 kB / 0.5118 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.344e-05/0.3775, allocations: 51.5 kB / 0.5119 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004415/0.378, allocations: 432.6 kB / 0.5123 GB, free: 34.4 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.378, allocations: 9.562 kB / 0.5123 GB, free: 34.4 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.219e-05/0.378, allocations: 9 kB / 0.5123 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002366/0.3783, allocations: 130.3 kB / 0.5124 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.3783, allocations: 6.938 kB / 0.5124 GB, free: 34.31 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.3783, allocations: 4 kB / 0.5125 GB, free: 34.31 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.3783, allocations: 2.969 kB / 0.5125 GB, free: 34.31 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001823/0.3785, allocations: 74.38 kB / 0.5125 GB, free: 34.29 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007923/0.3793, allocations: 0.6632 MB / 0.5132 GB, free: 33.83 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/0.3795, allocations: 108.9 kB / 0.5133 GB, free: 33.76 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.987e-05/0.3796, allocations: 50.19 kB / 0.5133 GB, free: 33.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.114e-05/0.3796, allocations: 6.938 kB / 0.5133 GB, free: 33.72 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.3797, allocations: 34.5 kB / 0.5134 GB, free: 33.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.3797, allocations: 0 / 0.5134 GB, free: 33.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001218/0.3809, allocations: 0.4943 MB / 0.5138 GB, free: 33.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.3809, allocations: 79.73 kB / 0.5139 GB, free: 33.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008821/0.3818, allocations: 0.8508 MB / 0.5148 GB, free: 33.06 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.3818, allocations: 26.73 kB / 0.5148 GB, free: 33.03 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.382, allocations: 241.4 kB / 0.515 GB, free: 32.83 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.224e-05/0.3821, allocations: 53.03 kB / 0.5151 GB, free: 32.79 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.808e-05/0.3821, allocations: 40.47 kB / 0.5151 GB, free: 32.76 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.3822, allocations: 372.1 kB / 0.5155 GB, free: 32.42 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.3824, allocations: 58.39 kB / 0.5155 GB, free: 32.4 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.3825, allocations: 71.8 kB / 0.5156 GB, free: 32.37 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002852/0.3828, allocations: 144.2 kB / 0.5157 GB, free: 32.31 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3828, allocations: 0 / 0.5157 GB, free: 32.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004008/0.3832, allocations: 211.9 kB / 0.5159 GB, free: 32.21 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.3833, allocations: 5.312 kB / 0.5159 GB, free: 32.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3833, allocations: 3.188 kB / 0.5159 GB, free: 32.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.3833, allocations: 7.172 kB / 0.5159 GB, free: 32.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000192/0.3835, allocations: 40.42 kB / 0.516 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.3835, allocations: 2.781 kB / 0.516 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.3836, allocations: 13.33 kB / 0.516 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.3837, allocations: 13.12 kB / 0.516 GB, free: 32.2 MB / 378.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001631/0.3838, allocations: 205.8 kB / 0.5162 GB, free: 32.06 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.29e-05/0.3839, allocations: 49.72 kB / 0.5162 GB, free: 32.03 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005332/0.3845, allocations: 267.6 kB / 0.5165 GB, free: 31.92 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/0.3845, allocations: 1.438 kB / 0.5165 GB, free: 31.92 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.3845, allocations: 1.438 kB / 0.5165 GB, free: 31.92 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.3845, allocations: 0 / 0.5165 GB, free: 31.92 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.3856, allocations: 0.7553 MB / 0.5172 GB, free: 31.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3856, allocations: 4 kB / 0.5172 GB, free: 31.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000149/0.3857, allocations: 38.02 kB / 0.5173 GB, free: 31.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.3858, allocations: 2.906 kB / 0.5173 GB, free: 31.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.3858, allocations: 8.375 kB / 0.5173 GB, free: 31.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.3858, allocations: 3.938 kB / 0.5173 GB, free: 31.4 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3858, allocations: 4.75 kB / 0.5173 GB, free: 31.4 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008391/0.3866, allocations: 1.11 MB / 0.5184 GB, free: 30.47 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.3868, allocations: 131.8 kB / 0.5185 GB, free: 30.35 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.266e-05/0.3868, allocations: 7.578 kB / 0.5185 GB, free: 30.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.387, allocations: 8.281 kB / 0.5185 GB, free: 30.35 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.955e-05/0.3871, allocations: 17.64 kB / 0.5185 GB, free: 30.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.3871, allocations: 3.766 kB / 0.5185 GB, free: 30.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005847/0.3877, allocations: 0.6223 MB / 0.5192 GB, free: 30.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.3877, allocations: 0 / 0.5192 GB, free: 30.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004256/0.3881, allocations: 51.5 kB / 0.5192 GB, free: 30.13 MB / 378.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008951/0.389, allocations: 413.6 kB / 0.5196 GB, free: 29.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004214/0.3895, allocations: 142 kB / 0.5197 GB, free: 29.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.3895, allocations: 0 / 0.5197 GB, free: 29.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.3897, allocations: 80.28 kB / 0.5198 GB, free: 29.87 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006287/0.3903, allocations: 76.58 kB / 0.5199 GB, free: 29.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.3915, allocations: 1.135 MB / 0.521 GB, free: 29.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.3918, allocations: 0.8631 MB / 0.5218 GB, free: 28.44 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001707/0.392, allocations: 68.73 kB / 0.5219 GB, free: 28.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.874e-05/0.3921, allocations: 34.17 kB / 0.5219 GB, free: 28.43 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3921, allocations: 0 / 0.5219 GB, free: 28.43 MB / 378.7 MB Notification: Performance of Templates: time 0.008405/0.4005, allocations: 3.843 MB / 0.5257 GB, free: 28.08 MB / 378.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@2/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