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.0007935/0.0007935, allocations: 92.47 kB / 17.35 MB, free: 6.371 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.001433/0.001433, allocations: 176 kB / 18.25 MB, free: 5.52 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.429/1.429, allocations: 223.3 MB / 242.3 MB, free: 196 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.1978/0.1978, allocations: 44.26 MB / 337.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004274/0.0004278, allocations: 8.281 kB / 410.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1337, allocations: 61.93 MB / 472.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.002549/0.1363, allocations: 1.659 MB / 473.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001677/0.138, allocations: 1.108 MB / 475 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.258e-05/0.1381, allocations: 0 / 475 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000244/0.1383, allocations: 39.77 kB / 475.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003276/0.1387, allocations: 131.5 kB / 475.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.1399, allocations: 0.5569 MB / 475.8 MB, free: 9.844 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003088/0.1402, allocations: 271 kB / 476 MB, free: 9.578 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.1404, allocations: 84.59 kB / 476.1 MB, free: 9.492 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001669/0.1405, allocations: 99.48 kB / 476.2 MB, free: 9.395 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000206/0.1408, allocations: 163.3 kB / 476.4 MB, free: 9.234 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.685e-05/0.1408, allocations: 8 kB / 476.4 MB, free: 9.227 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.1409, allocations: 51.97 kB / 476.4 MB, free: 9.176 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.1411, allocations: 143.6 kB / 476.6 MB, free: 9.035 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001347/0.1412, allocations: 168.5 kB / 476.7 MB, free: 8.863 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003779/0.1416, allocations: 346.6 kB / 477.1 MB, free: 8.523 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.1416, allocations: 4 kB / 477.1 MB, free: 8.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1416, allocations: 0 / 477.1 MB, free: 8.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.1416, allocations: 0 / 477.1 MB, free: 8.52 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.000854/0.1425, allocations: 0.6866 MB / 477.8 MB, free: 7.785 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.1425, allocations: 12.03 kB / 477.8 MB, free: 7.773 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.424e-05/0.1426, allocations: 56.28 kB / 477.8 MB, free: 7.719 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004984/0.1431, allocations: 432 kB / 478.2 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.1431, allocations: 8.375 kB / 478.2 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.283e-05/0.1432, allocations: 16.12 kB / 478.3 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002943/0.1435, allocations: 143.3 kB / 478.4 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.1435, allocations: 4 kB / 478.4 MB, free: 7.078 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.1435, allocations: 4 kB / 478.4 MB, free: 7.074 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.1435, allocations: 8 kB / 478.4 MB, free: 7.066 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002565/0.1438, allocations: 107.9 kB / 478.5 MB, free: 6.961 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009221/0.1447, allocations: 0.6799 MB / 479.2 MB, free: 6.227 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002156/0.1449, allocations: 117.2 kB / 479.3 MB, free: 6.094 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.1451, allocations: 49.83 kB / 479.4 MB, free: 6.039 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.135e-05/0.1451, allocations: 15.91 kB / 479.4 MB, free: 6.023 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.206e-05/0.1452, allocations: 38.5 kB / 479.4 MB, free: 5.977 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.223e-06/0.1452, allocations: 0 / 479.4 MB, free: 5.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001492/0.1467, allocations: 0.5645 MB / 480 MB, free: 5.402 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.82e-05/0.1467, allocations: 81.09 kB / 480.1 MB, free: 5.305 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009079/0.1477, allocations: 0.8545 MB / 480.9 MB, free: 4.441 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.1477, allocations: 29.7 kB / 480.9 MB, free: 4.406 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002485/0.1479, allocations: 252.2 kB / 481.2 MB, free: 4.152 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.752e-05/0.148, allocations: 51.25 kB / 481.2 MB, free: 4.102 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.293e-05/0.148, allocations: 17.72 kB / 481.3 MB, free: 4.078 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.1482, allocations: 370.7 kB / 481.6 MB, free: 3.707 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.1484, allocations: 71.95 kB / 481.7 MB, free: 3.637 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001739/0.1485, allocations: 89.66 kB / 481.8 MB, free: 3.543 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000362/0.1489, allocations: 181.7 kB / 482 MB, free: 3.359 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1489, allocations: 0 / 482 MB, free: 3.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004682/0.1494, allocations: 248.9 kB / 482.2 MB, free: 3.109 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.1494, allocations: 7.938 kB / 482.2 MB, free: 3.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.1494, allocations: 4.203 kB / 482.2 MB, free: 3.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.1495, allocations: 4 kB / 482.2 MB, free: 3.094 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/0.1497, allocations: 52.59 kB / 482.3 MB, free: 3.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.1497, allocations: 4 kB / 482.3 MB, free: 3.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.1498, allocations: 19.92 kB / 482.3 MB, free: 3.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.1498, allocations: 8 kB / 482.3 MB, free: 3.012 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.0001856/0.15, allocations: 209.7 kB / 482.5 MB, free: 2.797 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.827e-05/0.1501, allocations: 51.34 kB / 482.6 MB, free: 2.746 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005959/0.1507, allocations: 314.1 kB / 482.9 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1507, allocations: 4 kB / 482.9 MB, free: 2.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.1507, allocations: 0 / 482.9 MB, free: 2.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.1507, allocations: 4 kB / 482.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.1518, allocations: 0.8097 MB / 483.7 MB, free: 1.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1519, allocations: 0 / 483.7 MB, free: 1.559 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.152, allocations: 39.97 kB / 483.7 MB, free: 1.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.152, allocations: 0 / 483.7 MB, free: 1.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.1521, allocations: 8 kB / 483.7 MB, free: 1.512 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.1521, allocations: 3.938 kB / 483.7 MB, free: 1.508 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1521, allocations: 3.938 kB / 483.7 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000518/0.1526, allocations: 430 kB / 484.2 MB, free: 1.066 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.1527, allocations: 144.4 kB / 484.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.391e-05/0.1528, allocations: 8 kB / 484.3 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.153, allocations: 15.92 kB / 484.3 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.868e-05/0.153, allocations: 19.97 kB / 484.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.153, allocations: 8 kB / 484.3 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006486/0.1537, allocations: 0.6276 MB / 485 MB, free: 236 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1537, allocations: 0 / 485 MB, free: 236 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003621/0.1541, allocations: 48 kB / 485 MB, free: 188 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.0009916/0.1551, allocations: 408.9 kB / 485.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000495/0.1556, allocations: 171.8 kB / 485.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1556, allocations: 0 / 485.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000215/0.1558, allocations: 99.88 kB / 485.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006658/0.1565, allocations: 70.27 kB / 485.8 MB, free: 15.6 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.1579, allocations: 1.035 MB / 486.8 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004498/0.1584, allocations: 0.8763 MB / 487.7 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001836/0.1586, allocations: 82.91 kB / 487.7 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.221e-05/0.1587, allocations: 39.42 kB / 487.8 MB, free: 13.51 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1587, allocations: 4 kB / 487.8 MB, free: 13.51 MB / 366.1 MB Notification: Performance of Templates: time 0.008574/0.1673, allocations: 3.719 MB / 491.5 MB, free: 9.805 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","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches