Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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.CombiTable2D.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20") translateModel(ModelicaTest.Tables.CombiTable2D.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 104.6 kB / 16.4 MB, free: 6.504 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.001525/0.001525, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.396/1.396, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.2117/0.2117, allocations: 43.53 MB / 314.1 MB, free: 456 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.001418/0.001418, allocations: 71.91 kB / 441.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.143, allocations: 57.79 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test20): time 0.00373/0.1468, allocations: 1.958 MB / 0.4898 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001329/0.1481, allocations: 0.6627 MB / 0.4905 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001661/0.1483, allocations: 4 kB / 0.4905 GB, free: 9.141 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005389/0.1489, allocations: 251.3 kB / 0.4907 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004706/0.1494, allocations: 199.3 kB / 0.4909 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.1505, allocations: 443.1 kB / 0.4913 GB, free: 8.266 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000489/0.151, allocations: 275.3 kB / 0.4916 GB, free: 7.996 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000207/0.1512, allocations: 60.7 kB / 0.4916 GB, free: 7.938 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002247/0.1514, allocations: 139.4 kB / 0.4918 GB, free: 7.801 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002689/0.1517, allocations: 195.3 kB / 0.4919 GB, free: 7.609 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.089e-05/0.1517, allocations: 8 kB / 0.492 GB, free: 7.602 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001778/0.1519, allocations: 67.98 kB / 0.492 GB, free: 7.535 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001324/0.1521, allocations: 87.73 kB / 0.4921 GB, free: 7.449 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.1522, allocations: 115 kB / 0.4922 GB, free: 7.336 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004267/0.1526, allocations: 286.9 kB / 0.4925 GB, free: 7.055 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1526, allocations: 0 / 0.4925 GB, free: 7.055 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1526, allocations: 0 / 0.4925 GB, free: 7.055 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.248e-06/0.1526, allocations: 0 / 0.4925 GB, free: 7.055 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.0008549/0.1535, allocations: 0.6223 MB / 0.4931 GB, free: 6.383 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.1536, allocations: 15.89 kB / 0.4931 GB, free: 6.367 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.511e-05/0.1536, allocations: 36.47 kB / 0.4931 GB, free: 6.332 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003763/0.154, allocations: 314.2 kB / 0.4934 GB, free: 5.984 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.1541, allocations: 4.375 kB / 0.4934 GB, free: 5.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.838e-05/0.1541, allocations: 12.38 kB / 0.4935 GB, free: 5.969 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002361/0.1543, allocations: 109.7 kB / 0.4936 GB, free: 5.855 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.1544, allocations: 0 / 0.4936 GB, free: 5.855 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.1544, allocations: 4 kB / 0.4936 GB, free: 5.852 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.1544, allocations: 4 kB / 0.4936 GB, free: 5.848 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001618/0.1546, allocations: 67.95 kB / 0.4936 GB, free: 5.781 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007004/0.1553, allocations: 484.2 kB / 0.4941 GB, free: 5.258 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.1555, allocations: 90.48 kB / 0.4942 GB, free: 5.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.039e-05/0.1555, allocations: 32.84 kB / 0.4942 GB, free: 5.125 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.568e-05/0.1556, allocations: 4 kB / 0.4942 GB, free: 5.121 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.1556, allocations: 38.55 kB / 0.4943 GB, free: 5.074 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.022e-06/0.1556, allocations: 0 / 0.4943 GB, free: 5.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001028/0.1567, allocations: 378.6 kB / 0.4946 GB, free: 4.699 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.1567, allocations: 59.34 kB / 0.4947 GB, free: 4.629 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006119/0.1573, allocations: 0.5133 MB / 0.4952 GB, free: 4.105 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.1574, allocations: 25.7 kB / 0.4952 GB, free: 4.074 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001836/0.1576, allocations: 200.3 kB / 0.4954 GB, free: 3.875 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.253e-05/0.1576, allocations: 63.11 kB / 0.4955 GB, free: 3.812 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.1578, allocations: 29.72 kB / 0.4955 GB, free: 3.777 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001978/0.158, allocations: 346.8 kB / 0.4958 GB, free: 3.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.1581, allocations: 51.97 kB / 0.4959 GB, free: 3.379 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.1582, allocations: 47.97 kB / 0.4959 GB, free: 3.332 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002391/0.1584, allocations: 118.4 kB / 0.496 GB, free: 3.215 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.1585, allocations: 7.938 kB / 0.496 GB, free: 3.207 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003427/0.1588, allocations: 201 kB / 0.4962 GB, free: 3.004 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.1588, allocations: 8 kB / 0.4962 GB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.1589, allocations: 3.984 kB / 0.4962 GB, free: 2.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.1589, allocations: 0 / 0.4962 GB, free: 2.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/0.159, allocations: 31.98 kB / 0.4963 GB, free: 2.961 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.1591, allocations: 0 / 0.4963 GB, free: 2.961 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.422e-05/0.1591, allocations: 7.984 kB / 0.4963 GB, free: 2.953 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.1591, allocations: 12 kB / 0.4963 GB, free: 2.941 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.0001738/0.1593, allocations: 177.6 kB / 0.4964 GB, free: 2.758 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.226e-05/0.1594, allocations: 43.47 kB / 0.4965 GB, free: 2.715 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004514/0.1599, allocations: 227.7 kB / 0.4967 GB, free: 2.492 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.1599, allocations: 0 / 0.4967 GB, free: 2.492 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/0.1599, allocations: 7.984 kB / 0.4967 GB, free: 2.484 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1599, allocations: 0 / 0.4967 GB, free: 2.484 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007902/0.1607, allocations: 0.6075 MB / 0.4973 GB, free: 1.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.289e-06/0.1607, allocations: 3.984 kB / 0.4973 GB, free: 1.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.1608, allocations: 31.92 kB / 0.4973 GB, free: 1.785 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.1608, allocations: 3.938 kB / 0.4973 GB, free: 1.781 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.1609, allocations: 8 kB / 0.4974 GB, free: 1.773 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1609, allocations: 0 / 0.4974 GB, free: 1.773 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.1609, allocations: 3.938 kB / 0.4974 GB, free: 1.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000373/0.1613, allocations: 292.3 kB / 0.4976 GB, free: 1.469 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.945e-05/0.1613, allocations: 100.7 kB / 0.4977 GB, free: 1.352 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.239e-05/0.1614, allocations: 11.98 kB / 0.4977 GB, free: 1.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.881e-05/0.1615, allocations: 0 / 0.4977 GB, free: 1.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.975e-05/0.1615, allocations: 19.92 kB / 0.4978 GB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.1615, allocations: 4 kB / 0.4978 GB, free: 1.316 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003843/0.1619, allocations: 399.1 kB / 0.4981 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.304e-06/0.1619, allocations: 0 / 0.4981 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003056/0.1623, allocations: 47.94 kB / 0.4982 GB, free: 0.8828 MB / 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.001651/0.1639, allocations: 0.6858 MB / 0.4989 GB, free: 236 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003312/0.1643, allocations: 143.7 kB / 0.499 GB, free: 92 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1643, allocations: 0 / 0.499 GB, free: 92 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.1644, allocations: 79.84 kB / 0.4991 GB, free: 12 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006525/0.1651, allocations: 69.31 kB / 0.4991 GB, free: 15.95 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.1662, allocations: 0.6469 MB / 0.4998 GB, free: 15.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004572/0.1667, allocations: 0.81 MB / 0.5006 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001365/0.1668, allocations: 41.91 kB / 0.5006 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.303e-05/0.1669, allocations: 27.44 kB / 0.5006 GB, free: 14.36 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1669, allocations: 0 / 0.5006 GB, free: 14.36 MB / 398.1 MB Notification: Performance of Templates: time 0.008789/0.1757, allocations: 3.172 MB / 0.5037 GB, free: 11.19 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches