Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.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.Test23") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.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.Test23") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 175.2 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 225.7 MB / 243.9 MB, free: 8.465 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008575/0.0008574, allocations: 88 kB / 295 MB, free: 9.516 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3683/0.3683, allocations: 44.32 MB / 390.5 MB, free: 38.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004492/0.0004492, allocations: 8 kB / 463.1 MB, free: 500 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3294, allocations: 61.91 MB / 0.5127 GB, free: 37.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.002178/0.3316, allocations: 1.676 MB / 0.5144 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001302/0.333, allocations: 1.069 MB / 0.5154 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.624e-05/0.333, allocations: 4 kB / 0.5154 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001947/0.3332, allocations: 35.14 kB / 0.5155 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002786/0.3335, allocations: 140 kB / 0.5156 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007489/0.3343, allocations: 408.5 kB / 0.516 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002485/0.3346, allocations: 269.9 kB / 0.5162 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.3347, allocations: 54.02 kB / 0.5163 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.3348, allocations: 109 kB / 0.5164 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001774/0.335, allocations: 179.8 kB / 0.5166 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.04e-05/0.3351, allocations: 8.031 kB / 0.5166 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.3352, allocations: 44.5 kB / 0.5166 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.3353, allocations: 137.3 kB / 0.5168 GB, free: 35.33 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.3354, allocations: 176.2 kB / 0.5169 GB, free: 35.19 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003204/0.3357, allocations: 355.2 kB / 0.5173 GB, free: 35.06 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3358, allocations: 4 kB / 0.5173 GB, free: 35.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3358, allocations: 1.031 kB / 0.5173 GB, free: 35.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.3358, allocations: 0 / 0.5173 GB, free: 35.05 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.0008013/0.3366, allocations: 0.6987 MB / 0.5179 GB, free: 34.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.3366, allocations: 12.41 kB / 0.518 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.945e-05/0.3367, allocations: 57.41 kB / 0.518 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004692/0.3372, allocations: 446.4 kB / 0.5184 GB, free: 34.13 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.3372, allocations: 8.531 kB / 0.5184 GB, free: 34.12 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.355e-05/0.3372, allocations: 19.84 kB / 0.5185 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003296/0.3376, allocations: 145.6 kB / 0.5186 GB, free: 34.04 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.3376, allocations: 7.031 kB / 0.5186 GB, free: 34.04 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.3376, allocations: 4 kB / 0.5186 GB, free: 34.03 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.3376, allocations: 2.906 kB / 0.5186 GB, free: 34.03 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000286/0.3379, allocations: 117.6 kB / 0.5187 GB, free: 34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000747/0.3387, allocations: 0.6638 MB / 0.5194 GB, free: 33.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000249/0.339, allocations: 125.1 kB / 0.5195 GB, free: 33.48 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.3391, allocations: 74.05 kB / 0.5196 GB, free: 33.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/0.3391, allocations: 11.12 kB / 0.5196 GB, free: 33.44 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.48e-05/0.3392, allocations: 37.28 kB / 0.5196 GB, free: 33.4 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.523e-06/0.3392, allocations: 0 / 0.5196 GB, free: 33.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.001678/0.3409, allocations: 0.743 MB / 0.5203 GB, free: 33.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.3409, allocations: 79.89 kB / 0.5204 GB, free: 33 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000704/0.3416, allocations: 0.8403 MB / 0.5212 GB, free: 32.72 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.3416, allocations: 29.7 kB / 0.5213 GB, free: 32.69 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.3418, allocations: 248.2 kB / 0.5215 GB, free: 32.49 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.068e-05/0.3418, allocations: 70.47 kB / 0.5216 GB, free: 32.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.108e-05/0.3418, allocations: 8 kB / 0.5216 GB, free: 32.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.692e-05/0.3419, allocations: 369 kB / 0.5219 GB, free: 32.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002281/0.3421, allocations: 113 kB / 0.522 GB, free: 32.06 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002176/0.3424, allocations: 115.2 kB / 0.5221 GB, free: 32.03 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004257/0.3428, allocations: 245.4 kB / 0.5224 GB, free: 31.95 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.3428, allocations: 0 / 0.5224 GB, free: 31.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005516/0.3434, allocations: 335.4 kB / 0.5227 GB, free: 31.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.3434, allocations: 5.969 kB / 0.5227 GB, free: 31.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.3434, allocations: 0 / 0.5227 GB, free: 31.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.3434, allocations: 2.938 kB / 0.5227 GB, free: 31.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002648/0.3437, allocations: 63.02 kB / 0.5228 GB, free: 31.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.3437, allocations: 0 / 0.5228 GB, free: 31.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/0.3439, allocations: 31.05 kB / 0.5228 GB, free: 31.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/0.3439, allocations: 9.078 kB / 0.5228 GB, free: 31.81 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 (20): * Single equations (assignments): 20 * 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.0001476/0.3441, allocations: 219.3 kB / 0.523 GB, free: 31.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.538e-05/0.3441, allocations: 52.56 kB / 0.5231 GB, free: 31.63 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000668/0.3448, allocations: 386.3 kB / 0.5234 GB, free: 31.49 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.3448, allocations: 2.375 kB / 0.5234 GB, free: 31.49 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.3448, allocations: 4 kB / 0.5234 GB, free: 31.49 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.3448, allocations: 0 / 0.5234 GB, free: 31.49 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.3459, allocations: 0.9026 MB / 0.5243 GB, free: 30.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3459, allocations: 0 / 0.5243 GB, free: 30.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002241/0.3461, allocations: 62.16 kB / 0.5244 GB, free: 30.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3461, allocations: 0 / 0.5244 GB, free: 30.94 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.3462, allocations: 10 kB / 0.5244 GB, free: 30.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.3462, allocations: 7.188 kB / 0.5244 GB, free: 30.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3462, allocations: 7.938 kB / 0.5244 GB, free: 30.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000567/0.3468, allocations: 0.4996 MB / 0.5249 GB, free: 30.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.372e-05/0.3469, allocations: 148.1 kB / 0.525 GB, free: 30.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.602e-05/0.3469, allocations: 6.875 kB / 0.525 GB, free: 30.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002208/0.3471, allocations: 31.45 kB / 0.5251 GB, free: 30.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.105e-05/0.3472, allocations: 19.03 kB / 0.5251 GB, free: 30.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.3472, allocations: 9.141 kB / 0.5251 GB, free: 30.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004917/0.3477, allocations: 0.6203 MB / 0.5257 GB, free: 30.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3477, allocations: 0 / 0.5257 GB, free: 30.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003141/0.3481, allocations: 57.19 kB / 0.5258 GB, free: 30.26 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 (20): * Single equations (assignments): 20 * 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.0007763/0.3488, allocations: 458.6 kB / 0.5262 GB, free: 30 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005433/0.3494, allocations: 258.2 kB / 0.5264 GB, free: 29.94 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3494, allocations: 0 / 0.5264 GB, free: 29.94 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002641/0.3497, allocations: 137.3 kB / 0.5266 GB, free: 29.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005489/0.3502, allocations: 77.53 kB / 0.5266 GB, free: 29.87 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.3513, allocations: 1.058 MB / 0.5277 GB, free: 29.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002622/0.3516, allocations: 0.8611 MB / 0.5285 GB, free: 28.58 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001809/0.3518, allocations: 77.88 kB / 0.5286 GB, free: 28.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.569e-05/0.3519, allocations: 46.17 kB / 0.5286 GB, free: 28.55 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.3519, allocations: 0 / 0.5286 GB, free: 28.55 MB / 378.7 MB Notification: Performance of Templates: time 0.006664/0.3586, allocations: 3.923 MB / 0.5325 GB, free: 28.22 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches