Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 111.2 kB / 16.41 MB, free: 6.027 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.001312/0.001312, allocations: 185.8 kB / 17.34 MB, free: 5.633 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.52/1.52, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2164/0.2164, allocations: 43.53 MB / 314.1 MB, free: 472 kB / 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.001366/0.001366, allocations: 72.45 kB / 441.8 MB, free: 5.676 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1408, allocations: 57.8 MB / 499.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.00371/0.1445, allocations: 1.958 MB / 0.4898 GB, free: 9.836 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001357/0.1459, allocations: 0.7642 MB / 0.4905 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.146, allocations: 4 kB / 0.4906 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005345/0.1466, allocations: 263.2 kB / 0.4908 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000365/0.147, allocations: 191.3 kB / 0.491 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.1483, allocations: 0.6042 MB / 0.4916 GB, free: 8.012 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004385/0.1488, allocations: 299.3 kB / 0.4919 GB, free: 7.719 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002361/0.149, allocations: 80.67 kB / 0.4919 GB, free: 7.641 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.1492, allocations: 135.4 kB / 0.4921 GB, free: 7.508 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002582/0.1494, allocations: 199.4 kB / 0.4923 GB, free: 7.312 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.273e-05/0.1495, allocations: 8 kB / 0.4923 GB, free: 7.305 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001501/0.1496, allocations: 67.97 kB / 0.4923 GB, free: 7.238 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000148/0.1498, allocations: 111.6 kB / 0.4924 GB, free: 7.129 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.1499, allocations: 107.1 kB / 0.4925 GB, free: 7.023 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003778/0.1503, allocations: 302.9 kB / 0.4928 GB, free: 6.727 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.1503, allocations: 0 / 0.4928 GB, free: 6.727 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1503, allocations: 3.938 kB / 0.4928 GB, free: 6.723 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.303e-06/0.1503, allocations: 0 / 0.4928 GB, free: 6.723 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007663/0.1511, allocations: 0.6262 MB / 0.4934 GB, free: 6.047 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.1512, allocations: 15.89 kB / 0.4935 GB, free: 6.031 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.628e-05/0.1512, allocations: 40.38 kB / 0.4935 GB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000362/0.1516, allocations: 314.2 kB / 0.4938 GB, free: 5.645 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.1516, allocations: 8.375 kB / 0.4938 GB, free: 5.637 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.53e-05/0.1517, allocations: 8.375 kB / 0.4938 GB, free: 5.629 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002528/0.1519, allocations: 133.7 kB / 0.4939 GB, free: 5.492 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.1519, allocations: 0 / 0.4939 GB, free: 5.492 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.057e-05/0.152, allocations: 4 kB / 0.4939 GB, free: 5.488 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.152, allocations: 11.94 kB / 0.494 GB, free: 5.477 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001838/0.1522, allocations: 91.88 kB / 0.494 GB, free: 5.387 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006603/0.1528, allocations: 496.3 kB / 0.4945 GB, free: 4.852 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002037/0.1531, allocations: 102.5 kB / 0.4946 GB, free: 4.742 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.779e-05/0.1531, allocations: 48.83 kB / 0.4947 GB, free: 4.691 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.763e-05/0.1532, allocations: 11.94 kB / 0.4947 GB, free: 4.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.1532, allocations: 30.56 kB / 0.4947 GB, free: 4.641 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.453e-06/0.1532, allocations: 0 / 0.4947 GB, free: 4.641 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001039/0.1543, allocations: 439.9 kB / 0.4951 GB, free: 4.203 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.1543, allocations: 51.41 kB / 0.4952 GB, free: 4.141 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005884/0.1549, allocations: 0.525 MB / 0.4957 GB, free: 3.605 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.1549, allocations: 33.7 kB / 0.4957 GB, free: 3.566 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.1551, allocations: 196.3 kB / 0.4959 GB, free: 3.371 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.759e-05/0.1552, allocations: 59.19 kB / 0.496 GB, free: 3.312 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.822e-05/0.1552, allocations: 33.7 kB / 0.496 GB, free: 3.273 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002013/0.1555, allocations: 350.8 kB / 0.4963 GB, free: 2.922 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.1556, allocations: 63.95 kB / 0.4964 GB, free: 2.859 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.1557, allocations: 70.61 kB / 0.4965 GB, free: 2.793 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002766/0.156, allocations: 160.6 kB / 0.4966 GB, free: 2.633 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.156, allocations: 3.938 kB / 0.4966 GB, free: 2.629 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003868/0.1564, allocations: 224 kB / 0.4968 GB, free: 2.406 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.1564, allocations: 4 kB / 0.4968 GB, free: 2.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1565, allocations: 0 / 0.4968 GB, free: 2.402 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/0.1565, allocations: 4 kB / 0.4968 GB, free: 2.398 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.1566, allocations: 31.98 kB / 0.4969 GB, free: 2.367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.1567, allocations: 7.984 kB / 0.4969 GB, free: 2.359 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.055e-05/0.1567, allocations: 19.83 kB / 0.4969 GB, free: 2.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.1568, allocations: 7.938 kB / 0.4969 GB, free: 2.332 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (17): * Single equations (assignments): 17 * 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.0001916/0.157, allocations: 185.7 kB / 0.4971 GB, free: 2.141 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.268e-05/0.157, allocations: 35.53 kB / 0.4971 GB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005255/0.1576, allocations: 265.3 kB / 0.4974 GB, free: 1.844 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.1576, allocations: 7.938 kB / 0.4974 GB, free: 1.836 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.1576, allocations: 0 / 0.4974 GB, free: 1.836 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.1576, allocations: 11.97 kB / 0.4974 GB, free: 1.824 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008983/0.1585, allocations: 0.6544 MB / 0.498 GB, free: 1.113 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1585, allocations: 3.938 kB / 0.498 GB, free: 1.109 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.1587, allocations: 35.98 kB / 0.4981 GB, free: 1.074 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.1587, allocations: 0 / 0.4981 GB, free: 1.074 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.1587, allocations: 12 kB / 0.4981 GB, free: 1.062 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.1587, allocations: 0 / 0.4981 GB, free: 1.062 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.1587, allocations: 3.938 kB / 0.4981 GB, free: 1.059 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004204/0.1591, allocations: 331.4 kB / 0.4984 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.554e-05/0.1592, allocations: 104.7 kB / 0.4985 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.1593, allocations: 4 kB / 0.4985 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.628e-05/0.1593, allocations: 4 kB / 0.4985 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.273e-05/0.1594, allocations: 19.92 kB / 0.4985 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.1594, allocations: 4 kB / 0.4985 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003787/0.1598, allocations: 399.1 kB / 0.4989 GB, free: 188 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1598, allocations: 0 / 0.4989 GB, free: 188 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003044/0.1601, allocations: 55.89 kB / 0.4989 GB, free: 132 kB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (17): * Single equations (assignments): 17 * 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.001602/0.1617, allocations: 0.6785 MB / 0.4996 GB, free: 15.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003639/0.1621, allocations: 167.8 kB / 0.4998 GB, free: 15.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1621, allocations: 3.938 kB / 0.4998 GB, free: 15.31 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001562/0.1623, allocations: 91.89 kB / 0.4999 GB, free: 15.22 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005829/0.1629, allocations: 77.3 kB / 0.4999 GB, free: 15.15 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.164, allocations: 0.6861 MB / 0.5006 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004272/0.1644, allocations: 0.8182 MB / 0.5014 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001484/0.1646, allocations: 49.91 kB / 0.5015 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.713e-05/0.1647, allocations: 31.42 kB / 0.5015 GB, free: 13.51 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1647, allocations: 4 kB / 0.5015 GB, free: 13.5 MB / 398.1 MB Notification: Performance of Templates: time 0.007037/0.1717, allocations: 3.285 MB / 0.5047 GB, free: 10.21 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches