Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.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_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23") translateModel(ModelicaTest.Tables.CombiTable2D.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_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009442/0.0009446, allocations: 170.5 kB / 16.07 MB, free: 5.73 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.347/1.347, allocations: 205.6 MB / 222.4 MB, free: 8.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006961/0.0006962, allocations: 89.2 kB / 270.8 MB, free: 8.117 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3233/0.3233, allocations: 43.67 MB / 362.7 MB, free: 51.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000299/0.000299, allocations: 11.98 kB / 432.3 MB, free: 4.793 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1104, allocations: 58.85 MB / 491.2 MB, free: 9.812 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test23): time 0.002048/0.1124, allocations: 1.687 MB / 492.8 MB, free: 8.113 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.1138, allocations: 1.012 MB / 493.9 MB, free: 7.074 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.88e-05/0.1139, allocations: 0 / 493.9 MB, free: 7.074 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001757/0.1141, allocations: 35.78 kB / 493.9 MB, free: 7.039 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002786/0.1144, allocations: 131.5 kB / 494 MB, free: 6.91 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007954/0.1152, allocations: 387.3 kB / 494.4 MB, free: 6.531 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000278/0.1155, allocations: 263.2 kB / 494.7 MB, free: 6.273 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.1156, allocations: 60.81 kB / 494.7 MB, free: 6.215 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001561/0.1158, allocations: 115.5 kB / 494.8 MB, free: 6.102 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002104/0.116, allocations: 183.2 kB / 495 MB, free: 5.922 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.85e-05/0.1161, allocations: 4 kB / 495 MB, free: 5.918 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.456e-05/0.1162, allocations: 31.98 kB / 495 MB, free: 5.887 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001402/0.1163, allocations: 131.6 kB / 495.2 MB, free: 5.758 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.1164, allocations: 180.4 kB / 495.3 MB, free: 5.574 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003117/0.1168, allocations: 350.5 kB / 495.7 MB, free: 5.23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1168, allocations: 4 kB / 495.7 MB, free: 5.227 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1168, allocations: 0 / 495.7 MB, free: 5.227 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.1168, allocations: 0 / 495.7 MB, free: 5.227 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.0008405/0.1176, allocations: 0.6999 MB / 496.4 MB, free: 4.477 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.1177, allocations: 12.03 kB / 496.4 MB, free: 4.465 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.942e-05/0.1178, allocations: 56.27 kB / 496.5 MB, free: 4.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004635/0.1182, allocations: 435.9 kB / 496.9 MB, free: 3.945 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.1183, allocations: 8.375 kB / 496.9 MB, free: 3.938 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.915e-05/0.1183, allocations: 16.12 kB / 496.9 MB, free: 3.922 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002963/0.1186, allocations: 156.5 kB / 497.1 MB, free: 3.758 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.1186, allocations: 3.906 kB / 497.1 MB, free: 3.754 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.1186, allocations: 11.94 kB / 497.1 MB, free: 3.742 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.1186, allocations: 0 / 497.1 MB, free: 3.742 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002874/0.1189, allocations: 115.9 kB / 497.2 MB, free: 3.629 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008642/0.1198, allocations: 0.6723 MB / 497.9 MB, free: 2.902 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002781/0.1201, allocations: 133.2 kB / 498 MB, free: 2.754 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.1203, allocations: 65.81 kB / 498.1 MB, free: 2.684 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.945e-05/0.1203, allocations: 3.984 kB / 498.1 MB, free: 2.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.1203, allocations: 38.5 kB / 498.1 MB, free: 2.633 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.393e-06/0.1203, allocations: 4.219 kB / 498.1 MB, free: 2.629 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.001892/0.1222, allocations: 0.7438 MB / 498.8 MB, free: 1.875 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.1223, allocations: 77.11 kB / 498.9 MB, free: 1.781 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008254/0.1231, allocations: 0.8388 MB / 499.8 MB, free: 0.9297 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.1232, allocations: 29.7 kB / 499.8 MB, free: 0.8945 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000172/0.1233, allocations: 252.3 kB / 0.4883 GB, free: 0.6445 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.918e-05/0.1234, allocations: 74.92 kB / 0.4884 GB, free: 0.5703 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.256e-05/0.1234, allocations: 4 kB / 0.4884 GB, free: 0.5664 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1236, allocations: 370.7 kB / 0.4887 GB, free: 200 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002499/0.1238, allocations: 103.9 kB / 0.4888 GB, free: 96 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1968/0.3206, allocations: 122.8 kB / 0.489 GB, free: 42.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006209/0.3213, allocations: 240.7 kB / 0.4892 GB, free: 42.97 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3213, allocations: 0 / 0.4892 GB, free: 42.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008459/0.3221, allocations: 328.8 kB / 0.4895 GB, free: 42.94 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.3222, allocations: 9.188 kB / 0.4895 GB, free: 42.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.3222, allocations: 1.219 kB / 0.4895 GB, free: 42.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.3222, allocations: 1.188 kB / 0.4895 GB, free: 42.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003198/0.3225, allocations: 60.83 kB / 0.4896 GB, free: 42.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.3226, allocations: 1.406 kB / 0.4896 GB, free: 42.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002009/0.3228, allocations: 31.67 kB / 0.4896 GB, free: 42.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.162e-05/0.3228, allocations: 7.453 kB / 0.4896 GB, free: 42.94 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.0002369/0.323, allocations: 217.5 kB / 0.4898 GB, free: 42.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001515/0.3232, allocations: 54.88 kB / 0.4899 GB, free: 42.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008252/0.324, allocations: 375.7 kB / 0.4902 GB, free: 42.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.324, allocations: 2.688 kB / 0.4902 GB, free: 42.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.3241, allocations: 3.875 kB / 0.4902 GB, free: 42.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.3241, allocations: 3.141 kB / 0.4902 GB, free: 42.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001296/0.3254, allocations: 0.8996 MB / 0.4911 GB, free: 42.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.3254, allocations: 0.9688 kB / 0.4911 GB, free: 42.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002703/0.3257, allocations: 63.41 kB / 0.4912 GB, free: 42.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.3257, allocations: 2.594 kB / 0.4912 GB, free: 42.42 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.349e-05/0.3257, allocations: 12.12 kB / 0.4912 GB, free: 42.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.3257, allocations: 1.984 kB / 0.4912 GB, free: 42.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.3257, allocations: 2.25 kB / 0.4912 GB, free: 42.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00072/0.3264, allocations: 0.5004 MB / 0.4917 GB, free: 42.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.3266, allocations: 145.3 kB / 0.4918 GB, free: 42.08 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.973e-05/0.3266, allocations: 8.859 kB / 0.4918 GB, free: 42.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000239/0.3269, allocations: 28.88 kB / 0.4919 GB, free: 42.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.213e-05/0.327, allocations: 22.22 kB / 0.4919 GB, free: 42.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/0.327, allocations: 11.94 kB / 0.4919 GB, free: 42.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007321/0.3277, allocations: 0.6124 MB / 0.4925 GB, free: 41.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3277, allocations: 0 / 0.4925 GB, free: 41.98 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003445/0.3281, allocations: 58.88 kB / 0.4925 GB, free: 41.98 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.000807/0.3289, allocations: 468.3 kB / 0.493 GB, free: 41.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006347/0.3295, allocations: 258.1 kB / 0.4932 GB, free: 41.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3296, allocations: 0 / 0.4932 GB, free: 41.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002892/0.3299, allocations: 137.8 kB / 0.4934 GB, free: 41.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005585/0.3304, allocations: 72.95 kB / 0.4934 GB, free: 41.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.3317, allocations: 1.072 MB / 0.4945 GB, free: 41.24 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.332, allocations: 0.8644 MB / 0.4953 GB, free: 40.54 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001949/0.3323, allocations: 79.09 kB / 0.4954 GB, free: 40.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.3324, allocations: 36.27 kB / 0.4954 GB, free: 40.52 MB / 378.7 MB Notification: Performance of SimCode: time 2.91e-07/0.3324, allocations: 0 / 0.4954 GB, free: 40.52 MB / 378.7 MB Notification: Performance of Templates: time 0.007427/0.3398, allocations: 3.933 MB / 0.4993 GB, free: 40.2 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test23/Test23.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches