Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8.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.CombiTable1D.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8") translateModel(ModelicaTest.Tables.CombiTable1D.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009022/0.0009022, allocations: 181.6 kB / 17.41 MB, free: 4.289 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.269/1.269, allocations: 205.4 MB / 223.6 MB, free: 9.016 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.0008342/0.0008344, allocations: 87.92 kB / 271.9 MB, free: 8.238 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.3418/0.3418, allocations: 43.56 MB / 363.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003953/0.0003953, allocations: 12 kB / 432.6 MB, free: 5.637 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1263, allocations: 58.84 MB / 491.4 MB, free: 10.7 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3506/0.4769, allocations: 86.49 MB / 0.5644 GB, free: 15.75 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002167/0.4772, allocations: 71.95 kB / 0.5645 GB, free: 15.68 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00924/0.4864, allocations: 3.575 MB / 0.5679 GB, free: 12.14 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.4865, allocations: 4 kB / 0.568 GB, free: 12.14 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.4865, allocations: 4 kB / 0.568 GB, free: 12.13 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004166/0.4869, allocations: 391.8 kB / 0.5683 GB, free: 11.7 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.487, allocations: 12.03 kB / 0.5683 GB, free: 11.69 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.549e-05/0.487, allocations: 8.844 kB / 0.5684 GB, free: 11.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/0.4872, allocations: 192.2 kB / 0.5685 GB, free: 11.46 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.4872, allocations: 4.375 kB / 0.5685 GB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.4873, allocations: 384 / 0.5685 GB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.4874, allocations: 52.56 kB / 0.5686 GB, free: 11.4 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.4874, allocations: 192 / 0.5686 GB, free: 11.4 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.4874, allocations: 9.438 kB / 0.5686 GB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.4875, allocations: 4 kB / 0.5686 GB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.429e-05/0.4876, allocations: 31.91 kB / 0.5686 GB, free: 11.36 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003831/0.4879, allocations: 280.9 kB / 0.5689 GB, free: 11.03 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.4882, allocations: 46.5 kB / 0.5689 GB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.582e-05/0.4882, allocations: 24.94 kB / 0.569 GB, free: 10.95 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.4883, allocations: 0 / 0.569 GB, free: 10.95 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.4883, allocations: 38.5 kB / 0.569 GB, free: 10.9 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 7.71e-07/0.4883, allocations: 0 / 0.569 GB, free: 10.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005465/0.4889, allocations: 165.3 kB / 0.5692 GB, free: 10.73 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.4889, allocations: 55.34 kB / 0.5692 GB, free: 10.67 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.489, allocations: 149.8 kB / 0.5694 GB, free: 10.51 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.4891, allocations: 29.7 kB / 0.5694 GB, free: 10.48 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.596e-05/0.4891, allocations: 92.12 kB / 0.5695 GB, free: 10.38 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.4891, allocations: 19.73 kB / 0.5695 GB, free: 10.36 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.601e-06/0.4892, allocations: 0 / 0.5695 GB, free: 10.36 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.4893, allocations: 329.5 kB / 0.5698 GB, free: 10.04 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.997e-05/0.4894, allocations: 23.98 kB / 0.5698 GB, free: 10.01 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.012e-05/0.4894, allocations: 27.97 kB / 0.5699 GB, free: 9.984 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.4896, allocations: 64.83 kB / 0.5699 GB, free: 9.918 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.4896, allocations: 0 / 0.5699 GB, free: 9.918 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001856/0.4898, allocations: 94.33 kB / 0.57 GB, free: 9.82 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.4898, allocations: 6.656 kB / 0.57 GB, free: 9.816 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.4898, allocations: 0 / 0.57 GB, free: 9.816 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.4898, allocations: 7.984 kB / 0.57 GB, free: 9.809 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.935e-05/0.4899, allocations: 12 kB / 0.57 GB, free: 9.797 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.4899, allocations: 4 kB / 0.57 GB, free: 9.793 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.903e-05/0.49, allocations: 8.234 kB / 0.57 GB, free: 9.785 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.49, allocations: 288 / 0.57 GB, free: 9.785 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 8.454e-05/0.4901, allocations: 125.8 kB / 0.5702 GB, free: 9.652 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.182e-05/0.4901, allocations: 11.91 kB / 0.5702 GB, free: 9.641 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002522/0.4904, allocations: 118.7 kB / 0.5703 GB, free: 9.523 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.4904, allocations: 0 / 0.5703 GB, free: 9.523 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.4904, allocations: 0 / 0.5703 GB, free: 9.523 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.4904, allocations: 0 / 0.5703 GB, free: 9.523 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004575/0.4908, allocations: 370.5 kB / 0.5706 GB, free: 9.105 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4909, allocations: 0 / 0.5706 GB, free: 9.105 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.575e-05/0.4909, allocations: 15.98 kB / 0.5707 GB, free: 9.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.4909, allocations: 0 / 0.5707 GB, free: 9.09 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.4909, allocations: 0 / 0.5707 GB, free: 9.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.491, allocations: 4 kB / 0.5707 GB, free: 9.086 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.491, allocations: 7.875 kB / 0.5707 GB, free: 9.078 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002259/0.4912, allocations: 187.4 kB / 0.5708 GB, free: 8.879 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.02e-05/0.4913, allocations: 89.02 kB / 0.5709 GB, free: 8.773 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.4913, allocations: 3.938 kB / 0.5709 GB, free: 8.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.796e-05/0.4913, allocations: 11.98 kB / 0.5709 GB, free: 8.758 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.4914, allocations: 7.938 kB / 0.571 GB, free: 8.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.4914, allocations: 4 kB / 0.571 GB, free: 8.746 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001106/0.4915, allocations: 115.2 kB / 0.5711 GB, free: 8.633 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4915, allocations: 0 / 0.5711 GB, free: 8.633 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002352/0.4918, allocations: 23.94 kB / 0.5711 GB, free: 8.609 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.001016/0.4928, allocations: 403.6 kB / 0.5715 GB, free: 8.305 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002186/0.493, allocations: 67.89 kB / 0.5715 GB, free: 8.238 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.493, allocations: 0 / 0.5715 GB, free: 8.238 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.351e-05/0.4931, allocations: 31.98 kB / 0.5716 GB, free: 8.207 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.4934, allocations: 19.92 kB / 0.5716 GB, free: 8.188 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004104/0.4938, allocations: 224.5 kB / 0.5718 GB, free: 7.941 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.4941, allocations: 0.6965 MB / 0.5725 GB, free: 7.219 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.784e-05/0.4942, allocations: 15.38 kB / 0.5725 GB, free: 7.207 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4942, allocations: 0 / 0.5725 GB, free: 7.207 MB / 394.7 MB Notification: Performance of Templates: time 0.003083/0.4973, allocations: 1.421 MB / 0.5739 GB, free: 5.789 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test8/Test8.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches