Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 110.8 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.001345/0.001345, 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.532/1.532, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.2363/0.2363, allocations: 43.54 MB / 314.1 MB, free: 460 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.001428/0.001428, allocations: 63.91 kB / 441.8 MB, free: 5.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1469, allocations: 57.8 MB / 499.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.00354/0.1505, allocations: 1.966 MB / 0.4898 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001387/0.1519, allocations: 0.7564 MB / 0.4905 GB, free: 9.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.152, allocations: 7.938 kB / 0.4906 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005249/0.1526, allocations: 263.2 kB / 0.4908 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003769/0.153, allocations: 195.3 kB / 0.491 GB, free: 8.613 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00128/0.1543, allocations: 0.6042 MB / 0.4916 GB, free: 8.008 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003861/0.1547, allocations: 295.3 kB / 0.4919 GB, free: 7.719 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001908/0.1549, allocations: 80.69 kB / 0.4919 GB, free: 7.641 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/0.155, allocations: 139.4 kB / 0.4921 GB, free: 7.504 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002295/0.1552, allocations: 195.3 kB / 0.4923 GB, free: 7.312 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.067e-05/0.1553, allocations: 12 kB / 0.4923 GB, free: 7.301 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001445/0.1554, allocations: 67.95 kB / 0.4923 GB, free: 7.234 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.1556, allocations: 103.7 kB / 0.4924 GB, free: 7.133 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.1557, allocations: 111 kB / 0.4925 GB, free: 7.023 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000369/0.1561, allocations: 306.8 kB / 0.4928 GB, free: 6.723 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1561, allocations: 0 / 0.4928 GB, free: 6.723 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1561, allocations: 0 / 0.4928 GB, free: 6.723 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.1561, 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.0007348/0.1568, allocations: 0.6301 MB / 0.4934 GB, free: 6.043 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.1569, allocations: 15.83 kB / 0.4935 GB, free: 6.027 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.507e-05/0.157, allocations: 40.38 kB / 0.4935 GB, free: 5.988 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003249/0.1573, allocations: 318.2 kB / 0.4938 GB, free: 5.637 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.1573, allocations: 4.375 kB / 0.4938 GB, free: 5.633 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.812e-05/0.1574, allocations: 12.38 kB / 0.4938 GB, free: 5.621 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002526/0.1576, allocations: 125.7 kB / 0.4939 GB, free: 5.492 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.1576, allocations: 0 / 0.4939 GB, free: 5.492 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/0.1577, allocations: 8 kB / 0.4939 GB, free: 5.484 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.1577, allocations: 3.938 kB / 0.494 GB, free: 5.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000194/0.1579, allocations: 95.92 kB / 0.494 GB, free: 5.387 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006722/0.1586, allocations: 0.4886 MB / 0.4945 GB, free: 4.848 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/0.1588, allocations: 110.5 kB / 0.4946 GB, free: 4.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.674e-05/0.1589, allocations: 36.84 kB / 0.4947 GB, free: 4.691 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.457e-05/0.1589, allocations: 7.984 kB / 0.4947 GB, free: 4.684 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.1589, allocations: 34.55 kB / 0.4947 GB, free: 4.641 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.263e-06/0.1589, allocations: 4 kB / 0.4947 GB, free: 4.637 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001003/0.1599, allocations: 435.9 kB / 0.4951 GB, free: 4.203 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.16, allocations: 55.34 kB / 0.4952 GB, free: 4.137 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005468/0.1605, allocations: 0.525 MB / 0.4957 GB, free: 3.602 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.1606, allocations: 25.7 kB / 0.4957 GB, free: 3.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.1607, allocations: 196.3 kB / 0.4959 GB, free: 3.375 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.894e-05/0.1608, allocations: 67.17 kB / 0.496 GB, free: 3.309 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.216e-05/0.1608, allocations: 29.72 kB / 0.496 GB, free: 3.273 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.161, allocations: 350.8 kB / 0.4963 GB, free: 2.922 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.1611, allocations: 63.95 kB / 0.4964 GB, free: 2.859 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.1612, allocations: 70.61 kB / 0.4965 GB, free: 2.793 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002866/0.1615, allocations: 156.7 kB / 0.4966 GB, free: 2.637 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.1615, allocations: 7.938 kB / 0.4966 GB, free: 2.629 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003694/0.1619, allocations: 217.9 kB / 0.4968 GB, free: 2.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.162, allocations: 7.938 kB / 0.4968 GB, free: 2.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.162, allocations: 4 kB / 0.4968 GB, free: 2.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.162, allocations: 0 / 0.4968 GB, free: 2.398 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.1621, allocations: 43.95 kB / 0.4969 GB, free: 2.355 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.1622, allocations: 3.984 kB / 0.4969 GB, free: 2.352 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.674e-05/0.1622, allocations: 7.906 kB / 0.4969 GB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.1622, allocations: 8 kB / 0.4969 GB, free: 2.336 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.0001791/0.1624, allocations: 189.6 kB / 0.4971 GB, free: 2.141 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.219e-05/0.1625, allocations: 35.53 kB / 0.4971 GB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004915/0.163, allocations: 280 kB / 0.4974 GB, free: 1.832 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.163, allocations: 0 / 0.4974 GB, free: 1.832 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.163, allocations: 4 kB / 0.4974 GB, free: 1.828 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.163, allocations: 0 / 0.4974 GB, free: 1.828 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007953/0.1638, allocations: 0.6583 MB / 0.498 GB, free: 1.113 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.1639, allocations: 7.938 kB / 0.498 GB, free: 1.105 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.164, allocations: 35.92 kB / 0.4981 GB, free: 1.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.164, allocations: 0 / 0.4981 GB, free: 1.07 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.164, allocations: 4 kB / 0.4981 GB, free: 1.066 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.164, allocations: 3.984 kB / 0.4981 GB, free: 1.062 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.164, allocations: 3.938 kB / 0.4981 GB, free: 1.059 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004059/0.1644, allocations: 330.7 kB / 0.4984 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.462e-05/0.1645, allocations: 100.7 kB / 0.4985 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.387e-05/0.1645, allocations: 4 kB / 0.4985 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.154e-05/0.1646, allocations: 8 kB / 0.4985 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.067e-05/0.1647, allocations: 15.91 kB / 0.4985 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.1647, allocations: 8 kB / 0.4985 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003543/0.1651, allocations: 391.1 kB / 0.4989 GB, free: 196 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1651, allocations: 4 kB / 0.4989 GB, free: 192 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003064/0.1654, allocations: 55.89 kB / 0.4989 GB, free: 136 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.001613/0.167, allocations: 0.6862 MB / 0.4996 GB, free: 15.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003779/0.1674, allocations: 163.8 kB / 0.4998 GB, free: 15.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1674, allocations: 0 / 0.4998 GB, free: 15.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.1676, allocations: 95.88 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.0005722/0.1682, allocations: 77.25 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.00106/0.1692, allocations: 0.69 MB / 0.5006 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.1696, allocations: 0.8182 MB / 0.5014 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001445/0.1698, allocations: 53.89 kB / 0.5015 GB, free: 13.53 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.247e-05/0.1699, allocations: 27.44 kB / 0.5015 GB, free: 13.5 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1699, allocations: 0 / 0.5015 GB, free: 13.5 MB / 398.1 MB Notification: Performance of Templates: time 0.007858/0.1777, allocations: 3.285 MB / 0.5047 GB, free: 10.21 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches