Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 107.7 kB / 17.21 MB, free: 6.289 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.001554/0.001554, allocations: 194 kB / 18.12 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.553/1.553, allocations: 222.9 MB / 241.8 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2167/0.2167, allocations: 44.18 MB / 336.1 MB, free: 2.984 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 77.28 kB / 407.7 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1421, allocations: 60.81 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.003806/0.146, allocations: 1.68 MB / 470.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001986/0.148, allocations: 1.039 MB / 471.2 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.635e-05/0.1481, allocations: 7.938 kB / 471.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002713/0.1484, allocations: 23.91 kB / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001963/0.1486, allocations: 35.84 kB / 471.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004614/0.1491, allocations: 161.9 kB / 471.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.1493, allocations: 67.78 kB / 471.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.1494, allocations: 15.98 kB / 471.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.411e-05/0.1495, allocations: 23.92 kB / 471.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.1496, allocations: 27.84 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.1497, allocations: 4 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001499/0.1498, allocations: 51.91 kB / 471.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.819e-05/0.1499, allocations: 19.92 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.291e-05/0.1499, allocations: 27.86 kB / 471.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000227/0.1502, allocations: 92.05 kB / 471.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1502, allocations: 3.938 kB / 471.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1502, allocations: 0 / 471.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.1502, allocations: 0 / 471.8 MB, free: 11.55 MB / 350.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.0005681/0.1508, allocations: 391.2 kB / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.1508, allocations: 12.03 kB / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.562e-05/0.1509, allocations: 4.844 kB / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.1511, allocations: 188.3 kB / 472.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.1511, allocations: 8.297 kB / 472.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.366e-05/0.1512, allocations: 384 / 472.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.1514, allocations: 75.52 kB / 472.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.1514, allocations: 0 / 472.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.981e-05/0.1514, allocations: 8 kB / 472.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.1514, allocations: 0 / 472.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001446/0.1516, allocations: 39.95 kB / 472.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004962/0.1521, allocations: 304.7 kB / 472.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.1522, allocations: 50.55 kB / 472.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.836e-05/0.1523, allocations: 32.94 kB / 472.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.1524, allocations: 0 / 472.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.1524, allocations: 30.56 kB / 472.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1524, allocations: 0 / 472.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008449/0.1533, allocations: 229.1 kB / 473.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.639e-05/0.1533, allocations: 77.11 kB / 473.2 MB, free: 9.941 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.1535, allocations: 144.4 kB / 473.3 MB, free: 9.793 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.1535, allocations: 25.7 kB / 473.4 MB, free: 9.762 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.588e-05/0.1536, allocations: 92.12 kB / 473.5 MB, free: 9.668 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/0.1536, allocations: 27.72 kB / 473.5 MB, free: 9.641 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.442e-05/0.1536, allocations: 21.72 kB / 473.5 MB, free: 9.613 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.1538, allocations: 326.8 kB / 473.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.1539, allocations: 39.91 kB / 473.9 MB, free: 9.246 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.1541, allocations: 61.61 kB / 473.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002249/0.1543, allocations: 85.02 kB / 474 MB, free: 9.094 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.1543, allocations: 4.031 kB / 474 MB, free: 9.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002916/0.1546, allocations: 117.5 kB / 474.1 MB, free: 8.969 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.1546, allocations: 4 kB / 474.1 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.1546, allocations: 0 / 474.1 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.1547, allocations: 3.984 kB / 474.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.1548, allocations: 27.92 kB / 474.2 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.1548, allocations: 0 / 474.2 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.755e-05/0.1549, allocations: 15.92 kB / 474.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.1549, allocations: 4 kB / 474.2 MB, free: 8.914 MB / 350.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.0001054/0.155, allocations: 114.4 kB / 474.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.604e-05/0.155, allocations: 7.906 kB / 474.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003533/0.1554, allocations: 138 kB / 474.4 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.1554, allocations: 4 kB / 474.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1554, allocations: 288 / 474.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.1554, allocations: 7.938 kB / 474.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005785/0.156, allocations: 398.5 kB / 474.8 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.156, allocations: 0 / 474.8 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.865e-05/0.1561, allocations: 23.97 kB / 474.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1561, allocations: 4 kB / 474.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.1562, allocations: 7.922 kB / 474.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1562, allocations: 0 / 474.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1562, allocations: 0 / 474.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003558/0.1565, allocations: 223.3 kB / 475.1 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.588e-05/0.1566, allocations: 85.02 kB / 475.2 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.1566, allocations: 11.94 kB / 475.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.303e-05/0.1567, allocations: 11.98 kB / 475.2 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.039e-05/0.1568, allocations: 3.938 kB / 475.2 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.1568, allocations: 4 kB / 475.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.811e-05/0.1569, allocations: 107.2 kB / 475.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1569, allocations: 0 / 475.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002831/0.1572, allocations: 24 kB / 475.3 MB, free: 7.656 MB / 350.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.001076/0.1583, allocations: 448 kB / 475.8 MB, free: 7.387 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003271/0.1586, allocations: 95.86 kB / 475.9 MB, free: 7.293 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1586, allocations: 4 kB / 475.9 MB, free: 7.289 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.1588, allocations: 43.97 kB / 475.9 MB, free: 7.246 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003938/0.1592, allocations: 15.98 kB / 475.9 MB, free: 7.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005218/0.1597, allocations: 232 kB / 476.2 MB, free: 6.969 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/0.16, allocations: 0.6926 MB / 476.8 MB, free: 6.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001021/0.1601, allocations: 27.92 kB / 476.9 MB, free: 6.223 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.014e-05/0.1601, allocations: 11.44 kB / 476.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1602, allocations: 4 kB / 476.9 MB, free: 6.207 MB / 350.1 MB Notification: Performance of Templates: time 0.004228/0.1644, allocations: 1.452 MB / 478.3 MB, free: 4.762 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches