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.000833/0.0008331, allocations: 101.7 kB / 17 MB, free: 6.477 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.001008/0.001008, allocations: 185.7 kB / 17.89 MB, free: 5.922 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.434/1.434, allocations: 223.3 MB / 241.9 MB, free: 316 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2321/0.2321, allocations: 44.24 MB / 337.3 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003411/0.0003413, allocations: 17.08 kB / 409.7 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1375, allocations: 61.92 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.002205/0.1397, allocations: 1.609 MB / 473.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001506/0.1412, allocations: 1.054 MB / 474.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.008e-05/0.1413, allocations: 7.938 kB / 474.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002249/0.1416, allocations: 39.77 kB / 474.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002775/0.1418, allocations: 135.5 kB / 474.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.143, allocations: 0.5289 MB / 475 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002947/0.1433, allocations: 251.1 kB / 475.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.1435, allocations: 60.83 kB / 475.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.1436, allocations: 99.53 kB / 475.4 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002199/0.1438, allocations: 155.4 kB / 475.5 MB, free: 9.762 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.506e-05/0.1439, allocations: 15.92 kB / 475.5 MB, free: 9.746 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.144, allocations: 47.98 kB / 475.6 MB, free: 9.699 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001613/0.1442, allocations: 131.6 kB / 475.7 MB, free: 9.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.426e-05/0.1443, allocations: 73.45 kB / 475.8 MB, free: 9.492 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003222/0.1446, allocations: 267.5 kB / 476.1 MB, free: 9.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.1446, allocations: 4 kB / 476.1 MB, free: 9.227 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.449e-05/0.1446, allocations: 0 / 476.1 MB, free: 9.227 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.1447, allocations: 4 kB / 476.1 MB, free: 9.223 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.000942/0.1456, allocations: 0.6804 MB / 476.7 MB, free: 8.492 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.1457, allocations: 8.031 kB / 476.7 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.968e-05/0.1458, allocations: 51.34 kB / 476.8 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005533/0.1463, allocations: 427.1 kB / 477.2 MB, free: 7.977 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.1463, allocations: 4 kB / 477.2 MB, free: 7.973 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.315e-05/0.1464, allocations: 11.94 kB / 477.2 MB, free: 7.961 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002999/0.1467, allocations: 155.3 kB / 477.4 MB, free: 7.797 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.1467, allocations: 0 / 477.4 MB, free: 7.797 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.1467, allocations: 4 kB / 477.4 MB, free: 7.793 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.1468, allocations: 8 kB / 477.4 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002585/0.147, allocations: 111.8 kB / 477.5 MB, free: 7.676 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000968/0.148, allocations: 0.676 MB / 478.2 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002156/0.1482, allocations: 117.2 kB / 478.3 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.1484, allocations: 49.81 kB / 478.3 MB, free: 6.758 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.114e-05/0.1484, allocations: 11.98 kB / 478.4 MB, free: 6.746 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.1485, allocations: 34.56 kB / 478.4 MB, free: 6.703 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.263e-06/0.1485, allocations: 0 / 478.4 MB, free: 6.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001507/0.15, allocations: 0.5762 MB / 479 MB, free: 6.117 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/0.15, allocations: 81.11 kB / 479 MB, free: 6.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.1511, allocations: 0.8544 MB / 479.9 MB, free: 5.156 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.1511, allocations: 29.7 kB / 479.9 MB, free: 5.121 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002036/0.1513, allocations: 240.5 kB / 480.2 MB, free: 4.879 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.473e-05/0.1514, allocations: 55.2 kB / 480.2 MB, free: 4.824 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.023e-05/0.1514, allocations: 3.938 kB / 480.2 MB, free: 4.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002105/0.1516, allocations: 374.8 kB / 480.6 MB, free: 4.445 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001788/0.1518, allocations: 67.95 kB / 480.7 MB, free: 4.379 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001828/0.152, allocations: 97.59 kB / 480.7 MB, free: 4.277 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002223/0.1522, allocations: 75.95 kB / 480.8 MB, free: 4.203 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1522, allocations: 0 / 480.8 MB, free: 4.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005132/0.1528, allocations: 252.9 kB / 481.1 MB, free: 3.949 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.1528, allocations: 7.953 kB / 481.1 MB, free: 3.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.1528, allocations: 0 / 481.1 MB, free: 3.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.1528, allocations: 7.938 kB / 481.1 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002181/0.153, allocations: 39.97 kB / 481.1 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.1531, allocations: 7.938 kB / 481.1 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.1532, allocations: 19.92 kB / 481.1 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.1532, allocations: 4 kB / 481.2 MB, free: 3.863 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002363/0.1535, allocations: 218.2 kB / 481.4 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.477e-05/0.1536, allocations: 51.34 kB / 481.4 MB, free: 3.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006505/0.1542, allocations: 310.9 kB / 481.7 MB, free: 3.281 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.1542, allocations: 7.938 kB / 481.7 MB, free: 3.273 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.1543, allocations: 0 / 481.7 MB, free: 3.273 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.1543, allocations: 3.984 kB / 481.7 MB, free: 3.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.1554, allocations: 0.7982 MB / 482.5 MB, free: 2.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.1554, allocations: 4 kB / 482.5 MB, free: 2.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/0.1556, allocations: 39.97 kB / 482.6 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.1556, allocations: 4 kB / 482.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.1556, allocations: 7.984 kB / 482.6 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/0.1556, allocations: 7.938 kB / 482.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1556, allocations: 0 / 482.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005273/0.1562, allocations: 436.7 kB / 483 MB, free: 1.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/0.1563, allocations: 144.4 kB / 483.2 MB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.583e-05/0.1564, allocations: 4 kB / 483.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001858/0.1565, allocations: 19.98 kB / 483.2 MB, free: 1.727 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.021e-05/0.1566, allocations: 11.98 kB / 483.2 MB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.288e-05/0.1566, allocations: 4 kB / 483.2 MB, free: 1.711 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007056/0.1574, allocations: 0.6276 MB / 483.8 MB, free: 1.086 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1574, allocations: 7.938 kB / 483.8 MB, free: 1.078 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003759/0.1577, allocations: 55.98 kB / 483.9 MB, free: 1.023 MB / 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 (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.0009182/0.1587, allocations: 397.5 kB / 484.3 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004275/0.1591, allocations: 179.8 kB / 484.5 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1591, allocations: 0 / 484.5 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002396/0.1594, allocations: 103.9 kB / 484.6 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005729/0.16, allocations: 62.86 kB / 484.6 MB, free: 460 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.1614, allocations: 0.9721 MB / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004294/0.1618, allocations: 0.8732 MB / 486.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002042/0.162, allocations: 90.89 kB / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.233e-05/0.1621, allocations: 35.42 kB / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1621, allocations: 0 / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of Templates: time 0.007899/0.17, allocations: 3.646 MB / 490.2 MB, free: 10.79 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins/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