Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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 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 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_3.2.3_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_3.2.3_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.001326/0.001326, allocations: 101.6 kB / 16.26 MB, free: 5.93 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.001152/0.001152, allocations: 190.1 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.818/1.818, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2543/0.2543, allocations: 43.52 MB / 313.9 MB, free: 0.5078 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 77.05 kB / 382.7 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1416, allocations: 57.79 MB / 440.5 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003237/0.1449, allocations: 1.955 MB / 442.5 MB, free: 4.93 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001701/0.1466, allocations: 1.054 MB / 443.5 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.1468, allocations: 4 kB / 443.5 MB, free: 3.863 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003198/0.1471, allocations: 51.58 kB / 443.6 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003636/0.1475, allocations: 147.3 kB / 443.7 MB, free: 3.668 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009935/0.1485, allocations: 0.5483 MB / 444.3 MB, free: 3.133 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002709/0.1487, allocations: 267.3 kB / 444.5 MB, free: 2.871 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000204/0.149, allocations: 72.69 kB / 444.6 MB, free: 2.801 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.1491, allocations: 119.5 kB / 444.7 MB, free: 2.684 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.1493, allocations: 179.3 kB / 444.9 MB, free: 2.508 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.547e-05/0.1493, allocations: 12 kB / 444.9 MB, free: 2.496 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.862e-05/0.1494, allocations: 43.98 kB / 445 MB, free: 2.453 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.1496, allocations: 155.5 kB / 445.1 MB, free: 2.301 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.1497, allocations: 146.8 kB / 445.3 MB, free: 2.156 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003007/0.15, allocations: 350.7 kB / 445.6 MB, free: 1.812 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.15, allocations: 0 / 445.6 MB, free: 1.812 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.15, allocations: 0 / 445.6 MB, free: 1.812 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.15, allocations: 0 / 445.6 MB, free: 1.812 MB / 318.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.0007506/0.1508, allocations: 0.7502 MB / 446.3 MB, free: 1.012 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.1508, allocations: 11.89 kB / 446.4 MB, free: 1 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.896e-05/0.1509, allocations: 56.28 kB / 446.4 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000401/0.1513, allocations: 451.8 kB / 446.9 MB, free: 476 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.1513, allocations: 8.375 kB / 446.9 MB, free: 468 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.013e-05/0.1514, allocations: 12.12 kB / 446.9 MB, free: 456 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002453/0.1516, allocations: 141.4 kB / 447 MB, free: 304 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.1517, allocations: 3.906 kB / 447 MB, free: 300 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.1517, allocations: 7.984 kB / 447 MB, free: 292 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.1517, allocations: 4 kB / 447 MB, free: 288 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000192/0.1519, allocations: 107.8 kB / 447.1 MB, free: 180 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008829/0.1528, allocations: 0.6682 MB / 447.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002409/0.153, allocations: 125.2 kB / 447.9 MB, free: 15.31 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.834e-05/0.1531, allocations: 41.83 kB / 448 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.979e-05/0.1532, allocations: 11.97 kB / 448 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.1532, allocations: 38.5 kB / 448 MB, free: 15.21 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.1532, allocations: 0 / 448 MB, free: 15.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001514/0.1547, allocations: 0.5255 MB / 448.5 MB, free: 14.67 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.891e-05/0.1548, allocations: 77.11 kB / 448.6 MB, free: 14.58 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009091/0.1557, allocations: 0.8545 MB / 449.5 MB, free: 13.71 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.1558, allocations: 29.7 kB / 449.5 MB, free: 13.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000183/0.1559, allocations: 252.2 kB / 449.7 MB, free: 13.43 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.031e-05/0.156, allocations: 47.27 kB / 449.8 MB, free: 13.38 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.36e-05/0.1561, allocations: 37.64 kB / 449.8 MB, free: 13.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002452/0.1563, allocations: 374.7 kB / 450.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/0.1565, allocations: 63.95 kB / 450.3 MB, free: 12.9 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001675/0.1567, allocations: 85.61 kB / 450.3 MB, free: 12.81 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003752/0.1571, allocations: 153.8 kB / 450.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1571, allocations: 4 kB / 450.5 MB, free: 12.65 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000466/0.1575, allocations: 240.9 kB / 450.7 MB, free: 12.41 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.1576, allocations: 8 kB / 450.7 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1576, allocations: 0 / 450.7 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.1576, allocations: 0 / 450.7 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002024/0.1578, allocations: 40.72 kB / 450.8 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.1578, allocations: 0 / 450.8 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.1579, allocations: 8.203 kB / 450.8 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.656e-05/0.158, allocations: 12 kB / 450.8 MB, free: 12.34 MB / 334.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.0001963/0.1582, allocations: 225.5 kB / 451 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.1583, allocations: 59.25 kB / 451.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005851/0.1589, allocations: 286.1 kB / 451.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.1589, allocations: 0 / 451.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.1589, allocations: 0 / 451.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.1589, allocations: 11.98 kB / 451.4 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/0.1601, allocations: 0.7825 MB / 452.1 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.1601, allocations: 4 kB / 452.1 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001577/0.1603, allocations: 43.84 kB / 452.2 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.1603, allocations: 4 kB / 452.2 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.1603, allocations: 3.984 kB / 452.2 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/0.1603, allocations: 7.938 kB / 452.2 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1603, allocations: 0 / 452.2 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006672/0.161, allocations: 417.5 kB / 452.6 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.1611, allocations: 136.5 kB / 452.7 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.627e-05/0.1612, allocations: 4 kB / 452.8 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.1614, allocations: 11.92 kB / 452.8 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.275e-05/0.1614, allocations: 19.92 kB / 452.8 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.1615, allocations: 4 kB / 452.8 MB, free: 10.24 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000621/0.1621, allocations: 0.6276 MB / 453.4 MB, free: 9.613 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1621, allocations: 0 / 453.4 MB, free: 9.613 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003401/0.1624, allocations: 55.98 kB / 453.5 MB, free: 9.559 MB / 334.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.0009277/0.1634, allocations: 405.3 kB / 453.9 MB, free: 9.223 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004864/0.1639, allocations: 171.8 kB / 454 MB, free: 9.055 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1639, allocations: 0 / 454 MB, free: 9.055 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001987/0.1641, allocations: 99.86 kB / 454.1 MB, free: 8.957 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000627/0.1647, allocations: 79.5 kB / 454.2 MB, free: 8.879 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.166, allocations: 0.9116 MB / 455.1 MB, free: 7.934 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004435/0.1665, allocations: 0.869 MB / 456 MB, free: 7.039 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002023/0.1667, allocations: 86.91 kB / 456.1 MB, free: 6.953 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.202e-05/0.1668, allocations: 35.42 kB / 456.1 MB, free: 6.918 MB / 334.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1668, allocations: 0 / 456.1 MB, free: 6.918 MB / 334.1 MB Notification: Performance of Templates: time 0.008199/0.175, allocations: 3.985 MB / 460.1 MB, free: 2.934 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches