Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008645/0.0008645, allocations: 176.5 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.397/1.397, allocations: 205.4 MB / 223.6 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007453/0.0007454, allocations: 85.05 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3405/0.3405, allocations: 43.57 MB / 363.8 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004349/0.0004349, allocations: 12 kB / 432.6 MB, free: 5.641 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1354, allocations: 58.84 MB / 491.4 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3694/0.5049, allocations: 87.3 MB / 0.5652 GB, free: 14.98 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/0.5052, allocations: 67.97 kB / 0.5652 GB, free: 14.91 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01688/0.5221, allocations: 7.832 MB / 0.5729 GB, free: 7.109 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.5221, allocations: 3.828 kB / 0.5729 GB, free: 7.109 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.111e-05/0.5222, allocations: 8 kB / 0.5729 GB, free: 7.102 MB / 394.7 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.00069/0.5228, allocations: 0.6172 MB / 0.5735 GB, free: 6.434 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.5229, allocations: 8.031 kB / 0.5735 GB, free: 6.426 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.96e-05/0.523, allocations: 44.38 kB / 0.5736 GB, free: 6.383 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004384/0.5234, allocations: 356 kB / 0.5739 GB, free: 5.996 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.5235, allocations: 8.359 kB / 0.5739 GB, free: 5.988 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/0.5235, allocations: 9.5 kB / 0.5739 GB, free: 5.98 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.5236, allocations: 54.25 kB / 0.574 GB, free: 5.922 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.5237, allocations: 4.172 kB / 0.574 GB, free: 5.918 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.5237, allocations: 3.938 kB / 0.574 GB, free: 5.914 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.5237, allocations: 0 / 0.574 GB, free: 5.914 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.5238, allocations: 31.97 kB / 0.574 GB, free: 5.883 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006172/0.5244, allocations: 456.5 kB / 0.5744 GB, free: 5.387 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/0.5246, allocations: 54.48 kB / 0.5745 GB, free: 5.324 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.006e-05/0.5247, allocations: 20.86 kB / 0.5745 GB, free: 5.301 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.5247, allocations: 0 / 0.5745 GB, free: 5.301 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.5248, allocations: 38.58 kB / 0.5745 GB, free: 5.254 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.5248, allocations: 0 / 0.5745 GB, free: 5.254 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006223/0.5254, allocations: 250.8 kB / 0.5748 GB, free: 5.004 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.5255, allocations: 55.56 kB / 0.5748 GB, free: 4.938 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/0.5267, allocations: 0.8496 MB / 0.5757 GB, free: 4.078 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.5267, allocations: 29.69 kB / 0.5757 GB, free: 4.043 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/0.5269, allocations: 220.1 kB / 0.5759 GB, free: 3.824 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.5269, allocations: 15.75 kB / 0.5759 GB, free: 3.809 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/0.527, allocations: 4 kB / 0.5759 GB, free: 3.805 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.5271, allocations: 366.7 kB / 0.5763 GB, free: 3.438 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.039e-05/0.5272, allocations: 23.98 kB / 0.5763 GB, free: 3.414 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.461e-05/0.5273, allocations: 23.98 kB / 0.5763 GB, free: 3.391 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.5274, allocations: 65.64 kB / 0.5764 GB, free: 3.324 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.5274, allocations: 0 / 0.5764 GB, free: 3.324 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002357/0.5277, allocations: 129.1 kB / 0.5765 GB, free: 3.191 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.5277, allocations: 7.938 kB / 0.5765 GB, free: 3.184 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.5277, allocations: 4 kB / 0.5765 GB, free: 3.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.5277, allocations: 0 / 0.5765 GB, free: 3.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.129e-05/0.5278, allocations: 16.23 kB / 0.5765 GB, free: 3.164 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.5278, allocations: 0 / 0.5765 GB, free: 3.164 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.577e-05/0.5279, allocations: 12 kB / 0.5765 GB, free: 3.152 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-06/0.5279, allocations: 0.625 kB / 0.5765 GB, free: 3.152 MB / 394.7 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001921/0.5281, allocations: 225.7 kB / 0.5768 GB, free: 2.922 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.182e-05/0.5282, allocations: 47.44 kB / 0.5768 GB, free: 2.875 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003012/0.5285, allocations: 149.1 kB / 0.5769 GB, free: 2.723 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.5285, allocations: 7.938 kB / 0.577 GB, free: 2.715 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.5285, allocations: 0 / 0.577 GB, free: 2.715 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.5285, allocations: 0 / 0.577 GB, free: 2.715 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007464/0.5292, allocations: 0.5999 MB / 0.5775 GB, free: 2.059 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.5293, allocations: 0 / 0.5775 GB, free: 2.059 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.159e-05/0.5293, allocations: 15.98 kB / 0.5776 GB, free: 2.043 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.5293, allocations: 0 / 0.5776 GB, free: 2.043 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.5294, allocations: 4.875 kB / 0.5776 GB, free: 2.039 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.5294, allocations: 8 kB / 0.5776 GB, free: 2.031 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.5294, allocations: 3.938 kB / 0.5776 GB, free: 2.027 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.5296, allocations: 226.9 kB / 0.5778 GB, free: 1.789 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001602/0.5298, allocations: 160.5 kB / 0.5779 GB, free: 1.613 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.67e-05/0.5299, allocations: 8 kB / 0.5779 GB, free: 1.605 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.816e-05/0.53, allocations: 4 kB / 0.5779 GB, free: 1.602 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.1e-05/0.53, allocations: 11.92 kB / 0.578 GB, free: 1.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.53, allocations: 0 / 0.578 GB, free: 1.59 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006811/0.5307, allocations: 0.6433 MB / 0.5786 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5307, allocations: 3.938 kB / 0.5786 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002911/0.531, allocations: 52 kB / 0.5786 GB, free: 0.8945 MB / 394.7 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008626/0.5319, allocations: 421.6 kB / 0.579 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002001/0.5321, allocations: 59.89 kB / 0.5791 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5321, allocations: 0 / 0.5791 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.817e-05/0.5322, allocations: 31.98 kB / 0.5791 GB, free: 492 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/0.5326, allocations: 26.3 kB / 0.5792 GB, free: 464 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.5338, allocations: 0.9639 MB / 0.5801 GB, free: 15.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004659/0.5343, allocations: 0.8224 MB / 0.5809 GB, free: 14.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.921e-05/0.5344, allocations: 19.42 kB / 0.5809 GB, free: 14.59 MB / 410.7 MB Notification: Performance of SimCode: time 2.245e-06/0.5344, allocations: 3.938 kB / 0.5809 GB, free: 14.59 MB / 410.7 MB Notification: Performance of Templates: time 0.007682/0.5421, allocations: 4.299 MB / 0.5851 GB, free: 10.28 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches