Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTable1D.Test15,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.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002201/0.002201, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.977/1.977, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001173/0.001172, allocations: 88.44 kB / 270.9 MB, free: 8.387 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.5257/0.5257, allocations: 43.54 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004949/0.000495, allocations: 12 kB / 431.4 MB, free: 6.191 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1358, allocations: 58.84 MB / 490.2 MB, free: 11.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4614/0.5972, allocations: 86.49 MB / 0.5632 GB, free: 284 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/0.5976, allocations: 75.95 kB / 0.5633 GB, free: 208 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01701/0.6146, allocations: 3.946 MB / 0.5671 GB, free: 12.3 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.6146, allocations: 4 kB / 0.5671 GB, free: 12.29 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.514e-05/0.6147, allocations: 0 / 0.5671 GB, free: 12.29 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.0005447/0.6152, allocations: 411.5 kB / 0.5675 GB, free: 11.85 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.6153, allocations: 12.02 kB / 0.5675 GB, free: 11.84 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.644e-05/0.6153, allocations: 7.906 kB / 0.5675 GB, free: 11.83 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002936/0.6156, allocations: 202.3 kB / 0.5677 GB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.6157, allocations: 0 / 0.5677 GB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.6157, allocations: 4 kB / 0.5677 GB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.6159, allocations: 57.67 kB / 0.5678 GB, free: 11.53 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.6159, allocations: 1.125 kB / 0.5678 GB, free: 11.53 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.6159, allocations: 4 kB / 0.5678 GB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.616, allocations: 0 / 0.5678 GB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001592/0.6161, allocations: 32.95 kB / 0.5678 GB, free: 11.49 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005515/0.6167, allocations: 296.8 kB / 0.5681 GB, free: 11.15 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002667/0.617, allocations: 46.56 kB / 0.5681 GB, free: 11.1 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.617, allocations: 0 / 0.5681 GB, free: 11.1 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.6171, allocations: 38.58 kB / 0.5682 GB, free: 11.05 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.493e-06/0.6171, allocations: 0 / 0.5682 GB, free: 11.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008582/0.6179, allocations: 169.3 kB / 0.5683 GB, free: 10.88 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.618, allocations: 59.34 kB / 0.5684 GB, free: 10.81 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002944/0.6183, allocations: 185.3 kB / 0.5686 GB, free: 10.62 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.6184, allocations: 28.61 kB / 0.5686 GB, free: 10.59 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.047e-05/0.6185, allocations: 170.5 kB / 0.5688 GB, free: 10.42 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.818e-05/0.6185, allocations: 19.73 kB / 0.5688 GB, free: 10.4 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-06/0.6185, allocations: 0 / 0.5688 GB, free: 10.4 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.6187, allocations: 315.1 kB / 0.5691 GB, free: 10.09 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.6188, allocations: 23.98 kB / 0.5691 GB, free: 10.06 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.6189, allocations: 27.98 kB / 0.5691 GB, free: 10.04 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.6191, allocations: 23.98 kB / 0.5692 GB, free: 10.01 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.6191, allocations: 0 / 0.5692 GB, free: 10.01 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003256/0.6194, allocations: 89.66 kB / 0.5692 GB, free: 9.918 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.6195, allocations: 8 kB / 0.5692 GB, free: 9.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.6195, allocations: 0 / 0.5692 GB, free: 9.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.6195, allocations: 0 / 0.5692 GB, free: 9.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.6197, allocations: 19.92 kB / 0.5693 GB, free: 9.891 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.6197, allocations: 0 / 0.5693 GB, free: 9.891 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.946e-05/0.6198, allocations: 8 kB / 0.5693 GB, free: 9.883 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.6198, allocations: 3.953 kB / 0.5693 GB, free: 9.879 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.0001307/0.6199, allocations: 129.8 kB / 0.5694 GB, free: 9.742 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.693e-05/0.62, allocations: 11.91 kB / 0.5694 GB, free: 9.73 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004334/0.6204, allocations: 117.8 kB / 0.5695 GB, free: 9.609 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.6205, allocations: 0 / 0.5695 GB, free: 9.609 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.6205, allocations: 0 / 0.5695 GB, free: 9.609 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.6205, allocations: 0 / 0.5695 GB, free: 9.609 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007195/0.6212, allocations: 386.8 kB / 0.5699 GB, free: 9.176 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.6212, allocations: 4.062 kB / 0.5699 GB, free: 9.172 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.6213, allocations: 15.98 kB / 0.5699 GB, free: 9.156 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.6214, allocations: 0 / 0.5699 GB, free: 9.156 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.6214, allocations: 0 / 0.5699 GB, free: 9.156 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.6214, allocations: 4 kB / 0.5699 GB, free: 9.152 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.6214, allocations: 4 kB / 0.5699 GB, free: 9.148 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003814/0.6218, allocations: 195.3 kB / 0.5701 GB, free: 8.941 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.366e-05/0.6219, allocations: 94.05 kB / 0.5702 GB, free: 8.832 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.6219, allocations: 4 kB / 0.5702 GB, free: 8.828 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.6221, allocations: 11.98 kB / 0.5702 GB, free: 8.816 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.768e-05/0.6221, allocations: 0 / 0.5702 GB, free: 8.816 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.6221, allocations: 4 kB / 0.5702 GB, free: 8.812 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002077/0.6223, allocations: 159.8 kB / 0.5704 GB, free: 8.66 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.525e-06/0.6224, allocations: 0 / 0.5704 GB, free: 8.66 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003401/0.6227, allocations: 23.92 kB / 0.5704 GB, free: 8.637 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.001175/0.6239, allocations: 424.2 kB / 0.5708 GB, free: 8.316 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003383/0.6242, allocations: 55.91 kB / 0.5709 GB, free: 8.262 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.6243, allocations: 0 / 0.5709 GB, free: 8.262 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001613/0.6244, allocations: 31.98 kB / 0.5709 GB, free: 8.23 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.6247, allocations: 15.98 kB / 0.5709 GB, free: 8.215 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006573/0.6254, allocations: 273.1 kB / 0.5712 GB, free: 7.922 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.6258, allocations: 0.7083 MB / 0.5718 GB, free: 7.188 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.309e-05/0.6259, allocations: 15.44 kB / 0.5719 GB, free: 7.172 MB / 394.7 MB Notification: Performance of SimCode: time 8.62e-07/0.6259, allocations: 0 / 0.5719 GB, free: 7.172 MB / 394.7 MB Notification: Performance of Templates: time 0.004676/0.6306, allocations: 1.581 MB / 0.5734 GB, free: 5.594 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test15/Test15.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches