Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 109.3 kB / 18.39 MB, free: 4.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 184.1 kB / 19.33 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.586/1.586, allocations: 222.9 MB / 243 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2383/0.2383, allocations: 44.18 MB / 337.4 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 70.8 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1041, allocations: 60.83 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003016/0.1071, allocations: 1.968 MB / 472.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001595/0.1087, allocations: 1.131 MB / 473.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.1089, allocations: 4 kB / 473.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000218/0.1091, allocations: 51.58 kB / 473.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003317/0.1094, allocations: 159.3 kB / 474 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.1106, allocations: 0.5753 MB / 474.6 MB, free: 9.766 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003389/0.1109, allocations: 279.1 kB / 474.9 MB, free: 9.492 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.1111, allocations: 80.61 kB / 474.9 MB, free: 9.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001746/0.1113, allocations: 123.5 kB / 475.1 MB, free: 9.289 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002017/0.1115, allocations: 179.4 kB / 475.2 MB, free: 9.113 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.113e-05/0.1115, allocations: 12 kB / 475.2 MB, free: 9.102 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.1117, allocations: 55.98 kB / 475.3 MB, free: 9.047 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001384/0.1118, allocations: 151.5 kB / 475.4 MB, free: 8.898 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.1119, allocations: 154.8 kB / 475.6 MB, free: 8.746 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003336/0.1123, allocations: 370.5 kB / 476 MB, free: 8.383 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.1123, allocations: 0 / 476 MB, free: 8.383 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.01e-07/0.1123, allocations: 0 / 476 MB, free: 8.383 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.1123, allocations: 4 kB / 476 MB, free: 8.379 MB / 350.1 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.0008087/0.1131, allocations: 0.7463 MB / 476.7 MB, free: 7.582 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.975e-05/0.1131, allocations: 8.031 kB / 476.7 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.045e-05/0.1132, allocations: 52.28 kB / 476.8 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004916/0.1137, allocations: 447.9 kB / 477.2 MB, free: 7.043 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.1137, allocations: 8.375 kB / 477.2 MB, free: 7.035 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/0.1138, allocations: 12.12 kB / 477.2 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002542/0.114, allocations: 147 kB / 477.4 MB, free: 6.871 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.1141, allocations: 4 kB / 477.4 MB, free: 6.867 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.1141, allocations: 0 / 477.4 MB, free: 6.867 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.1141, allocations: 4 kB / 477.4 MB, free: 6.863 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002028/0.1143, allocations: 99.86 kB / 477.5 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007938/0.1151, allocations: 0.6761 MB / 478.2 MB, free: 6.035 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.1153, allocations: 117.2 kB / 478.3 MB, free: 5.902 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.11e-05/0.1154, allocations: 45.81 kB / 478.3 MB, free: 5.852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.1154, allocations: 4 kB / 478.3 MB, free: 5.848 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.1154, allocations: 46.44 kB / 478.4 MB, free: 5.793 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.1155, allocations: 0 / 478.4 MB, free: 5.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001194/0.1167, allocations: 0.526 MB / 478.9 MB, free: 5.258 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/0.1167, allocations: 81.11 kB / 479 MB, free: 5.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007567/0.1175, allocations: 0.8622 MB / 479.8 MB, free: 4.289 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.1175, allocations: 25.7 kB / 479.9 MB, free: 4.258 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.1176, allocations: 248.2 kB / 480.1 MB, free: 4.008 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.258e-05/0.1177, allocations: 51.25 kB / 480.1 MB, free: 3.957 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.423e-05/0.1177, allocations: 37.7 kB / 480.2 MB, free: 3.914 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.1179, allocations: 366.7 kB / 480.5 MB, free: 3.547 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.118, allocations: 67.95 kB / 480.6 MB, free: 3.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.1182, allocations: 81.84 kB / 480.7 MB, free: 3.395 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003009/0.1185, allocations: 157.6 kB / 480.8 MB, free: 3.234 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1185, allocations: 4 kB / 480.8 MB, free: 3.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004106/0.1189, allocations: 249.1 kB / 481.1 MB, free: 2.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.1189, allocations: 4 kB / 481.1 MB, free: 2.977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.119, allocations: 0 / 481.1 MB, free: 2.977 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.119, allocations: 4 kB / 481.1 MB, free: 2.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.1192, allocations: 35.97 kB / 481.1 MB, free: 2.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.1192, allocations: 0 / 481.1 MB, free: 2.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.1193, allocations: 19.92 kB / 481.2 MB, free: 2.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.1193, allocations: 8 kB / 481.2 MB, free: 2.91 MB / 350.1 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.0001657/0.1195, allocations: 213.7 kB / 481.4 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.419e-05/0.1196, allocations: 55.33 kB / 481.4 MB, free: 2.637 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005218/0.1201, allocations: 278 kB / 481.7 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1201, allocations: 0 / 481.7 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1201, allocations: 4 kB / 481.7 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.1201, allocations: 112 / 481.7 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009597/0.1211, allocations: 0.7944 MB / 482.5 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.1211, allocations: 4 kB / 482.5 MB, free: 1.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/0.1213, allocations: 43.91 kB / 482.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1213, allocations: 0 / 482.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.1213, allocations: 0 / 482.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.1213, allocations: 11.92 kB / 482.6 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1213, allocations: 0 / 482.6 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004516/0.1218, allocations: 420.3 kB / 483 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001483/0.1219, allocations: 140.4 kB / 483.1 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.06e-05/0.122, allocations: 4 kB / 483.1 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/0.1221, allocations: 15.92 kB / 483.1 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.333e-05/0.1222, allocations: 11.98 kB / 483.1 MB, free: 0.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.1222, allocations: 4 kB / 483.1 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005472/0.1228, allocations: 0.6315 MB / 483.8 MB, free: 204 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1228, allocations: 3.938 kB / 483.8 MB, free: 200 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003071/0.1231, allocations: 56 kB / 483.8 MB, free: 144 kB / 350.1 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.0007929/0.1239, allocations: 393 kB / 484.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003738/0.1243, allocations: 163.8 kB / 484.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1243, allocations: 0 / 484.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001743/0.1244, allocations: 91.89 kB / 484.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005258/0.125, allocations: 77.16 kB / 484.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.126, allocations: 0.8842 MB / 485.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.1264, allocations: 0.873 MB / 486.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001547/0.1265, allocations: 87.52 kB / 486.4 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.319e-05/0.1266, allocations: 43.36 kB / 486.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1266, allocations: 7.938 kB / 486.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of Templates: time 0.09047/0.2171, allocations: 3.977 MB / 490.4 MB, free: 9.676 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches