Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001062, allocations: 115 kB / 17.06 MB, free: 6 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.001051/0.001051, allocations: 188.5 kB / 17.98 MB, free: 5.09 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.773/1.773, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.2546/0.2546, allocations: 43.54 MB / 314.7 MB, free: 448 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.001285/0.001285, allocations: 65.47 kB / 442.4 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1461, allocations: 57.8 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.002914/0.149, allocations: 1.609 MB / 0.4901 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006572/0.1497, allocations: 359.5 kB / 0.4904 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.07e-05/0.1497, allocations: 0 / 0.4904 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004591/0.1502, allocations: 451.1 kB / 0.4908 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000291/0.1505, allocations: 259.4 kB / 0.4911 GB, free: 9.129 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003241/0.1509, allocations: 151.7 kB / 0.4912 GB, free: 8.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001744/0.151, allocations: 167.7 kB / 0.4914 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.472e-05/0.1511, allocations: 27.97 kB / 0.4914 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.1512, allocations: 111.7 kB / 0.4915 GB, free: 8.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001851/0.1514, allocations: 211.6 kB / 0.4917 GB, free: 8.473 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.1514, allocations: 0 / 0.4917 GB, free: 8.473 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.821e-05/0.1515, allocations: 43.92 kB / 0.4918 GB, free: 8.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.622e-05/0.1516, allocations: 83.69 kB / 0.4919 GB, free: 8.348 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.109e-05/0.1517, allocations: 103 kB / 0.492 GB, free: 8.246 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000241/0.1519, allocations: 255 kB / 0.4922 GB, free: 7.996 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1519, allocations: 0 / 0.4922 GB, free: 7.996 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1519, allocations: 0 / 0.4922 GB, free: 7.996 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.1519, allocations: 0 / 0.4922 GB, free: 7.996 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006302/0.1526, allocations: 0.6375 MB / 0.4928 GB, free: 7.309 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.1526, allocations: 11.89 kB / 0.4928 GB, free: 7.297 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.176e-05/0.1527, allocations: 48.38 kB / 0.4929 GB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002747/0.153, allocations: 300.1 kB / 0.4932 GB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.173e-06/0.153, allocations: 384 / 0.4932 GB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.153, allocations: 4.375 kB / 0.4932 GB, free: 6.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.1532, allocations: 65.78 kB / 0.4932 GB, free: 6.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.1532, allocations: 0 / 0.4932 GB, free: 6.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.1532, allocations: 4 kB / 0.4932 GB, free: 6.836 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-06/0.1532, allocations: 4 kB / 0.4932 GB, free: 6.832 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.1534, allocations: 39.95 kB / 0.4933 GB, free: 6.793 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004714/0.1538, allocations: 404.6 kB / 0.4937 GB, free: 6.348 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.154, allocations: 46.55 kB / 0.4937 GB, free: 6.293 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.609e-05/0.1541, allocations: 28.88 kB / 0.4937 GB, free: 6.262 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.1541, allocations: 0 / 0.4937 GB, free: 6.262 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.1541, allocations: 42.56 kB / 0.4938 GB, free: 6.211 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1541, allocations: 0 / 0.4938 GB, free: 6.211 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007438/0.1549, allocations: 300 kB / 0.4941 GB, free: 5.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.1549, allocations: 59.41 kB / 0.4941 GB, free: 5.84 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007653/0.1557, allocations: 0.8535 MB / 0.4949 GB, free: 4.973 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.1557, allocations: 37.58 kB / 0.495 GB, free: 4.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.1559, allocations: 212 kB / 0.4952 GB, free: 4.719 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.1559, allocations: 19.66 kB / 0.4952 GB, free: 4.699 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-05/0.1559, allocations: 25.7 kB / 0.4952 GB, free: 4.668 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1561, allocations: 358.7 kB / 0.4956 GB, free: 4.309 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.1562, allocations: 39.97 kB / 0.4956 GB, free: 4.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.1563, allocations: 43.95 kB / 0.4957 GB, free: 4.227 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002314/0.1566, allocations: 84.8 kB / 0.4957 GB, free: 4.141 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1566, allocations: 0 / 0.4957 GB, free: 4.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003004/0.1569, allocations: 157.1 kB / 0.4959 GB, free: 3.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.1569, allocations: 7.984 kB / 0.4959 GB, free: 3.973 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-06/0.1569, allocations: 0 / 0.4959 GB, free: 3.973 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.876e-06/0.1569, allocations: 0 / 0.4959 GB, free: 3.973 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.157, allocations: 23.92 kB / 0.4959 GB, free: 3.949 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.965e-06/0.157, allocations: 0 / 0.4959 GB, free: 3.949 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.794e-05/0.1571, allocations: 11.92 kB / 0.4959 GB, free: 3.938 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.1571, allocations: 4 kB / 0.4959 GB, free: 3.934 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 (7): * Single equations (assignments): 7 * 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.0001766/0.1573, allocations: 217.7 kB / 0.4961 GB, free: 3.711 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.222e-05/0.1574, allocations: 39.53 kB / 0.4962 GB, free: 3.672 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003575/0.1577, allocations: 185.3 kB / 0.4963 GB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1577, allocations: 0 / 0.4963 GB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.1578, allocations: 0 / 0.4963 GB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1578, allocations: 7.938 kB / 0.4964 GB, free: 3.473 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006269/0.1584, allocations: 0.5023 MB / 0.4968 GB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1584, allocations: 288 / 0.4968 GB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.255e-05/0.1585, allocations: 19.98 kB / 0.4969 GB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.1585, allocations: 0 / 0.4969 GB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.505e-06/0.1585, allocations: 11.88 kB / 0.4969 GB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.1585, allocations: 0 / 0.4969 GB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1585, allocations: 3.938 kB / 0.4969 GB, free: 2.879 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003386/0.1589, allocations: 259.5 kB / 0.4971 GB, free: 2.609 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.022e-05/0.159, allocations: 112.5 kB / 0.4972 GB, free: 2.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.159, allocations: 3.938 kB / 0.4972 GB, free: 2.477 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.392e-05/0.1591, allocations: 8 kB / 0.4972 GB, free: 2.469 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.253e-05/0.1591, allocations: 11.98 kB / 0.4973 GB, free: 2.457 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.1591, allocations: 8 kB / 0.4973 GB, free: 2.449 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000565/0.1597, allocations: 0.6433 MB / 0.4979 GB, free: 1.809 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1597, allocations: 0 / 0.4979 GB, free: 1.809 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000238/0.16, allocations: 27.98 kB / 0.4979 GB, free: 1.781 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 (7): * Single equations (assignments): 7 * 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.0008479/0.1608, allocations: 400.3 kB / 0.4983 GB, free: 1.426 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002743/0.1611, allocations: 99.84 kB / 0.4984 GB, free: 1.328 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.1611, allocations: 0 / 0.4984 GB, free: 1.328 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.1612, allocations: 43.97 kB / 0.4984 GB, free: 1.285 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.1616, allocations: 33.75 kB / 0.4985 GB, free: 1.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.1626, allocations: 0.8361 MB / 0.4993 GB, free: 392 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004003/0.163, allocations: 0.826 MB / 0.5001 GB, free: 15.53 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.684e-05/0.1631, allocations: 19.44 kB / 0.5001 GB, free: 15.51 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1631, allocations: 0 / 0.5001 GB, free: 15.51 MB / 398.1 MB Notification: Performance of Templates: time 0.006534/0.1696, allocations: 3.851 MB / 0.5039 GB, free: 11.66 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches