Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.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.Test11,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.Test11") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test11,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.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 106.2 kB / 16.41 MB, free: 6.465 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.001237/0.001237, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.422/1.422, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2186/0.2186, allocations: 43.52 MB / 314.1 MB, free: 452 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.001425/0.001426, allocations: 69.47 kB / 441.8 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1475, allocations: 57.79 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.003172/0.1507, allocations: 1.616 MB / 0.4895 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001588/0.1523, allocations: 0.9536 MB / 0.4904 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.012e-05/0.1524, allocations: 15.88 kB / 0.4904 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003206/0.1527, allocations: 19.86 kB / 0.4904 GB, free: 9.164 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002499/0.153, allocations: 47.77 kB / 0.4905 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004053/0.1534, allocations: 147.7 kB / 0.4906 GB, free: 8.973 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002048/0.1536, allocations: 71.78 kB / 0.4907 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.1538, allocations: 23.95 kB / 0.4907 GB, free: 8.879 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.492e-05/0.1539, allocations: 31.91 kB / 0.4907 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001684/0.154, allocations: 23.86 kB / 0.4908 GB, free: 8.824 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.1541, allocations: 4 kB / 0.4908 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001332/0.1542, allocations: 59.95 kB / 0.4908 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.674e-05/0.1543, allocations: 19.88 kB / 0.4908 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.813e-05/0.1544, allocations: 31.8 kB / 0.4909 GB, free: 8.711 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002267/0.1546, allocations: 95.75 kB / 0.491 GB, free: 8.617 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1546, allocations: 0 / 0.491 GB, free: 8.617 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1546, allocations: 0 / 0.491 GB, free: 8.617 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.1546, allocations: 0 / 0.491 GB, free: 8.617 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.0006853/0.1553, allocations: 391.2 kB / 0.4913 GB, free: 8.188 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/0.1554, allocations: 11.89 kB / 0.4914 GB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.678e-05/0.1555, allocations: 8.844 kB / 0.4914 GB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002736/0.1557, allocations: 196.1 kB / 0.4915 GB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.1558, allocations: 384 / 0.4915 GB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.484e-05/0.1558, allocations: 4.375 kB / 0.4916 GB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002429/0.156, allocations: 83.48 kB / 0.4916 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.1561, allocations: 0 / 0.4916 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.1561, allocations: 4 kB / 0.4916 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.1561, allocations: 0 / 0.4916 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001515/0.1563, allocations: 43.95 kB / 0.4917 GB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000565/0.1568, allocations: 304.6 kB / 0.492 GB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.157, allocations: 46.56 kB / 0.492 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.519e-05/0.1571, allocations: 24.94 kB / 0.492 GB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.1571, allocations: 4 kB / 0.492 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.646e-05/0.1571, allocations: 34.56 kB / 0.4921 GB, free: 7.316 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.442e-06/0.1571, allocations: 0 / 0.4921 GB, free: 7.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008404/0.158, allocations: 213.3 kB / 0.4923 GB, free: 7.102 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.772e-05/0.1581, allocations: 81.19 kB / 0.4924 GB, free: 7.004 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.1582, allocations: 141.6 kB / 0.4925 GB, free: 6.859 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.287e-05/0.1583, allocations: 29.7 kB / 0.4925 GB, free: 6.824 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.338e-05/0.1584, allocations: 100 kB / 0.4926 GB, free: 6.723 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.074e-05/0.1584, allocations: 19.72 kB / 0.4926 GB, free: 6.703 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.133e-05/0.1584, allocations: 25.64 kB / 0.4927 GB, free: 6.672 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.1586, allocations: 322.8 kB / 0.493 GB, free: 6.348 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.1587, allocations: 43.95 kB / 0.493 GB, free: 6.305 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.1589, allocations: 53.62 kB / 0.4931 GB, free: 6.246 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002017/0.1591, allocations: 80.8 kB / 0.4931 GB, free: 6.164 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1591, allocations: 0 / 0.4931 GB, free: 6.164 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002717/0.1594, allocations: 129.6 kB / 0.4933 GB, free: 6.031 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.1594, allocations: 4 kB / 0.4933 GB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.1594, allocations: 0 / 0.4933 GB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.1594, allocations: 0 / 0.4933 GB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.1595, allocations: 27.92 kB / 0.4933 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.1596, allocations: 0 / 0.4933 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.705e-05/0.1596, allocations: 19.86 kB / 0.4933 GB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.874e-06/0.1596, allocations: 4 kB / 0.4933 GB, free: 5.977 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.0001094/0.1597, allocations: 121.8 kB / 0.4934 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.271e-05/0.1598, allocations: 7.906 kB / 0.4934 GB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003267/0.1601, allocations: 137.9 kB / 0.4936 GB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.1601, allocations: 7.938 kB / 0.4936 GB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.1601, allocations: 0 / 0.4936 GB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.1602, allocations: 7.938 kB / 0.4936 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005432/0.1607, allocations: 402.5 kB / 0.494 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.1607, allocations: 0 / 0.494 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.34e-05/0.1608, allocations: 19.98 kB / 0.494 GB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1608, allocations: 0 / 0.494 GB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.317e-05/0.1608, allocations: 7.938 kB / 0.494 GB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.1608, allocations: 8 kB / 0.494 GB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.1608, allocations: 4.406 kB / 0.494 GB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003198/0.1612, allocations: 219.7 kB / 0.4942 GB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.228e-05/0.1612, allocations: 81.02 kB / 0.4943 GB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.1612, allocations: 3.938 kB / 0.4943 GB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.405e-05/0.1613, allocations: 19.97 kB / 0.4943 GB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.773e-05/0.1614, allocations: 7.984 kB / 0.4943 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.1614, allocations: 4 kB / 0.4943 GB, free: 4.828 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.852e-05/0.1615, allocations: 103.3 kB / 0.4944 GB, free: 4.727 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1615, allocations: 0 / 0.4944 GB, free: 4.727 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002465/0.1618, allocations: 20 kB / 0.4944 GB, free: 4.707 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.001069/0.1628, allocations: 451.4 kB / 0.4949 GB, free: 4.305 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003278/0.1632, allocations: 95.8 kB / 0.495 GB, free: 4.211 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1632, allocations: 0 / 0.495 GB, free: 4.211 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.1633, allocations: 43.97 kB / 0.495 GB, free: 4.168 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.1637, allocations: 23.84 kB / 0.495 GB, free: 4.145 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000482/0.1642, allocations: 198.3 kB / 0.4952 GB, free: 3.922 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/0.1646, allocations: 0.7002 MB / 0.4959 GB, free: 3.195 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001054/0.1647, allocations: 20.3 kB / 0.4959 GB, free: 3.176 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.364e-05/0.1647, allocations: 15.42 kB / 0.4959 GB, free: 3.16 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1647, allocations: 0 / 0.4959 GB, free: 3.16 MB / 382.1 MB Notification: Performance of Templates: time 0.004424/0.1692, allocations: 1.537 MB / 0.4974 GB, free: 1.621 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches