Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00254/0.00254, allocations: 178.6 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.871/1.871, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007849/0.0007851, allocations: 100.9 kB / 270.9 MB, free: 8.348 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3289/0.3289, allocations: 43.55 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003511/0.0003512, allocations: 12 kB / 431.4 MB, free: 6.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1084, allocations: 58.85 MB / 490.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.002298/0.1107, allocations: 1.675 MB / 491.9 MB, free: 9.531 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001542/0.1123, allocations: 1.019 MB / 492.9 MB, free: 8.504 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.1124, allocations: 0 / 492.9 MB, free: 8.504 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002317/0.1127, allocations: 35.77 kB / 493 MB, free: 8.469 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003373/0.113, allocations: 139.5 kB / 493.1 MB, free: 8.332 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001238/0.1143, allocations: 0.5187 MB / 493.6 MB, free: 7.812 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000353/0.1147, allocations: 267.1 kB / 493.9 MB, free: 7.551 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.1148, allocations: 64.69 kB / 493.9 MB, free: 7.488 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001951/0.115, allocations: 111.5 kB / 494.1 MB, free: 7.379 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002268/0.1153, allocations: 171.3 kB / 494.2 MB, free: 7.211 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.735e-05/0.1153, allocations: 12 kB / 494.2 MB, free: 7.199 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.1154, allocations: 27.98 kB / 494.3 MB, free: 7.172 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000136/0.1156, allocations: 135.6 kB / 494.4 MB, free: 7.039 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.099e-05/0.1156, allocations: 85.33 kB / 494.5 MB, free: 6.949 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002799/0.1159, allocations: 271.6 kB / 494.7 MB, free: 6.684 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1159, allocations: 0 / 494.7 MB, free: 6.684 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1159, allocations: 0 / 494.7 MB, free: 6.684 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.116, allocations: 0 / 494.7 MB, free: 6.684 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.0009604/0.1169, allocations: 0.7153 MB / 495.5 MB, free: 5.918 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.117, allocations: 12.02 kB / 495.5 MB, free: 5.906 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.1171, allocations: 55.25 kB / 495.5 MB, free: 5.852 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005305/0.1176, allocations: 427.1 kB / 495.9 MB, free: 5.395 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.1177, allocations: 8 kB / 496 MB, free: 5.387 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.273e-05/0.1177, allocations: 8 kB / 496 MB, free: 5.379 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003478/0.1181, allocations: 167.3 kB / 496.1 MB, free: 5.203 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.1181, allocations: 0 / 496.1 MB, free: 5.203 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.1181, allocations: 4 kB / 496.1 MB, free: 5.199 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.1181, allocations: 7.953 kB / 496.1 MB, free: 5.191 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003459/0.1185, allocations: 135.8 kB / 496.3 MB, free: 5.059 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.1195, allocations: 0.7112 MB / 497 MB, free: 4.293 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003005/0.1198, allocations: 149.2 kB / 497.1 MB, free: 4.129 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001631/0.12, allocations: 77.73 kB / 497.2 MB, free: 4.047 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.685e-05/0.12, allocations: 7.984 kB / 497.2 MB, free: 4.039 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.1201, allocations: 42.78 kB / 497.2 MB, free: 3.988 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.615e-06/0.1201, allocations: 0 / 497.2 MB, free: 3.988 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.002166/0.1222, allocations: 0.8104 MB / 498.1 MB, free: 3.168 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.1223, allocations: 81.11 kB / 498.1 MB, free: 3.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008876/0.1232, allocations: 0.8506 MB / 499 MB, free: 2.207 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.1232, allocations: 29.7 kB / 499 MB, free: 2.172 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000182/0.1234, allocations: 252.4 kB / 499.3 MB, free: 1.918 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.441e-05/0.1235, allocations: 70.98 kB / 499.3 MB, free: 1.848 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.335e-05/0.1235, allocations: 4 kB / 499.3 MB, free: 1.844 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1237, allocations: 362.8 kB / 499.7 MB, free: 1.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003056/0.124, allocations: 131.9 kB / 499.8 MB, free: 1.352 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003021/0.1243, allocations: 145.2 kB / 500 MB, free: 1.207 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003114/0.1246, allocations: 139.9 kB / 0.4884 GB, free: 1.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1246, allocations: 4 kB / 0.4884 GB, free: 1.066 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007483/0.1254, allocations: 364.9 kB / 0.4887 GB, free: 0.7031 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.1254, allocations: 7.953 kB / 0.4887 GB, free: 0.6953 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1254, allocations: 0 / 0.4887 GB, free: 0.6953 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.1254, allocations: 4 kB / 0.4887 GB, free: 0.6914 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002901/0.1257, allocations: 67.88 kB / 0.4888 GB, free: 0.625 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.1257, allocations: 4 kB / 0.4888 GB, free: 0.6211 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001953/0.1259, allocations: 27.89 kB / 0.4888 GB, free: 0.5938 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.519e-05/0.126, allocations: 15.98 kB / 0.4889 GB, free: 0.5781 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000204/0.1262, allocations: 213.8 kB / 0.4891 GB, free: 368 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.455e-05/0.1263, allocations: 51.34 kB / 0.4891 GB, free: 316 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1927/0.319, allocations: 427.8 kB / 0.4895 GB, free: 43.28 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.3191, allocations: 2.031 kB / 0.4895 GB, free: 43.28 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.3191, allocations: 1.125 kB / 0.4895 GB, free: 43.28 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.3191, allocations: 2.438 kB / 0.4895 GB, free: 43.28 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001735/0.3209, allocations: 0.9642 MB / 0.4905 GB, free: 42.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.3209, allocations: 1.125 kB / 0.4905 GB, free: 42.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003124/0.3212, allocations: 63.86 kB / 0.4905 GB, free: 42.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-06/0.3212, allocations: 4.844 kB / 0.4905 GB, free: 42.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.431e-05/0.3213, allocations: 7.75 kB / 0.4905 GB, free: 42.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.3213, allocations: 2.406 kB / 0.4905 GB, free: 42.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3213, allocations: 4.031 kB / 0.4905 GB, free: 42.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008877/0.3222, allocations: 0.5342 MB / 0.4911 GB, free: 42.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001768/0.3224, allocations: 145.8 kB / 0.4912 GB, free: 42.61 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.191e-05/0.3224, allocations: 9.484 kB / 0.4912 GB, free: 42.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002577/0.3227, allocations: 33.22 kB / 0.4912 GB, free: 42.61 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.863e-05/0.3228, allocations: 20.12 kB / 0.4913 GB, free: 42.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/0.3228, allocations: 9.031 kB / 0.4913 GB, free: 42.61 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008277/0.3236, allocations: 0.621 MB / 0.4919 GB, free: 42.53 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.3237, allocations: 0 / 0.4919 GB, free: 42.53 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004094/0.3241, allocations: 60.62 kB / 0.4919 GB, free: 42.53 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 (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.0008326/0.3249, allocations: 423.3 kB / 0.4923 GB, free: 42.35 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008231/0.3257, allocations: 295 kB / 0.4926 GB, free: 42.35 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3258, allocations: 1.062 kB / 0.4926 GB, free: 42.35 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003782/0.3261, allocations: 161.8 kB / 0.4928 GB, free: 42.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006259/0.3268, allocations: 70.42 kB / 0.4928 GB, free: 42.34 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001708/0.3285, allocations: 1.062 MB / 0.4939 GB, free: 41.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004266/0.3289, allocations: 0.865 MB / 0.4947 GB, free: 41.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001952/0.3291, allocations: 48.05 kB / 0.4948 GB, free: 41.17 MB / 378.7 MB Notification: Performance of SimCode: time 1.443e-06/0.3292, allocations: 0 / 0.4948 GB, free: 41.17 MB / 378.7 MB Notification: Performance of Templates: time 0.01081/0.34, allocations: 6.001 MB / 0.5006 GB, free: 40.55 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches